>>>>> "Martin" == Martin Olivera <martin@stripped> writes:
Martin> I'm trying to compile dbf2mysql under Linux 2.0.0
Martin> (with gcc). I have the latest gcc (as of 3 months
Martin> ago), but it seems I'm missing a library, or I
Martin> need to select some flags, since the compilation
Martin> using the included Makefile aborts with the following
Martin> error messages:
>> > make
>> gcc -O2 -Wall -s -L. -L/util0/apps/mysql/lib -o dbf2mysql dbf2mysql.o
Martin> -ldbf \
>> -lmysqlclient -lm
>> /util0/apps/mysql/lib/libmysqlclient.a(my_open.o): In function
>> my_open.o(.text+0x14): undefined reference to `open64'
>> /util0/apps/mysql/lib/libmysqlclient.a(mf_format.o): In function
>> mf_format.o(.text+0x201): undefined reference to `__lxstat64'
>> /util0/apps/mysql/lib/libmysqlclient.a(my_fopen.o): In function
>> my_fopen.o(.text+0x21): undefined reference to `fopen64'
>> make: *** [dbf2mysql] Error 1
You need to recompile the MySQL library as this is for glibc 2.1 and
out are probably using glibc 2.0.