Error in make command

Bug #1835417 reported by Nishant Vaja
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Percona Data Recovery Tool for InnoDB
New
Undecided
Unassigned

Bug Description

lib/print_data.o: In function `get_int_value':
/home/admin/Downloads/percona-data-recovery-tool-for-innodb-0.5/print_data.c:138: undefined reference to `make_ulonglong'
/home/admin/Downloads/percona-data-recovery-tool-for-innodb-0.5/print_data.c:138: undefined reference to `make_ulonglong'
lib/print_data.o: In function `get_uint_value':
/home/admin/Downloads/percona-data-recovery-tool-for-innodb-0.5/print_data.c:111: undefined reference to `make_ulonglong'
lib/print_data.o: In function `print_field_value':
/home/admin/Downloads/percona-data-recovery-tool-for-innodb-0.5/print_data.c:236: undefined reference to `make_longlong'
/home/admin/Downloads/percona-data-recovery-tool-for-innodb-0.5/print_data.c:252: undefined reference to `print_decimal'
lib/print_data.o: In function `get_int_value':
/home/admin/Downloads/percona-data-recovery-tool-for-innodb-0.5/print_data.c:138: undefined reference to `make_ulonglong'
/home/admin/Downloads/percona-data-recovery-tool-for-innodb-0.5/print_data.c:138: undefined reference to `make_ulonglong'
lib/print_data.o: In function `get_uint_value':
/home/admin/Downloads/percona-data-recovery-tool-for-innodb-0.5/print_data.c:111: undefined reference to `make_ulonglong'
collect2: error: ld returned 1 exit status
Makefile:30: recipe for target 'constraints_parser' failed
make: *** [constraints_parser] Error 1

Revision history for this message
Elia Reznik (eliaua) wrote :

I stability get this error on Debian GNU/Linux 9 (stretch).
And I have no this error on Debian GNU/Linux 7 (wheezy)

Revision history for this message
Elia Reznik (eliaua) wrote :

And there are strange messages before this error:

In file included from constraints_parser.c:14:0:
include/check_data.h:14:17: warning: inline function ‘make_longlong’ declared but never defined
 inline longlong make_longlong(dulint x);
                 ^~~~~~~~~~~~~
include/check_data.h:13:18: warning: inline function ‘make_ulonglong’ declared but never defined
 inline ulonglong make_ulonglong(dulint x);

Revision history for this message
Mikael Davranche (plops) wrote :

Run that before running make:
sed -i 's/CFLAGS=/CFLAGS=-fgnu89-inline /' Makefile

Note that if you try to build the 0.5 version on Debian >= 9, you'll then hit another problem that had been solved here:

https://bazaar.launchpad.net/~y-trudeau/percona-data-recovery-tool-for-innodb/pager_parser_1_file_per_btree/revision/55

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.