Hi, everyone.
I am using lfs 5.1 or 5.0, and have installed mysql and progsql, both of which appear to work quite well. In addition alos installed MySql Administrator and MySql query-Browser. (The browser was a real b** because of the gonome dependicies.) However, the databases I need to addres are Windows dBase. SO. There are a number of conversion probrams out there which work but are expensive. I found two programs, dbf2mysql-1.10e.tar.gz and dbf2mysql-1.15.tar.gz which should work if I could get them to compile. The thing is both fail for just about the same reasons.
This is dbf2mysql-1.15


gcc -O2 -Wall -s -L. -L/usr/lib/mysql -o dbf2mysql dbf2mysql.o -ldbf \
-lmysqlclient -lm
dbf2mysql.o(.text+0x120a): In function `do_inserts':
: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x7d): In function `my_compress':
: undefined reference to `compress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x158): In function `my_compress_alloc':
: undefined reference to `compress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x1f1): In function `my_uncompress':
: undefined reference to `uncompress'
collect2: ld returned 1 exit status
make: *** [dbf2mysql] Error 1
========================================
this if for dbf2mysql-1.10e


gcc -O2 -Wall -s -L. -L/usr/lib/mysql -o dbf2mysql dbf2mysql.o -ldbf \
-lmysqlclient -lm
dbf2mysql.o(.text+0x148d): In function `main':
: undefined reference to `mysql_connect'
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x7d): In function `my_compress':
: undefined reference to `compress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x158): In function `my_compress_alloc':
: undefined reference to `compress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x1f1): In function `my_uncompress':
: undefined reference to `uncompress'
collect2: ld returned 1 exit status
make: *** [dbf2mysql] Error 1


Has anyone run into this problem before?
Thanks in advance.
dale stein





--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to