Report labview and mysql in Database and File IO Posted August 19, 2005 Hi all, I m trying to integrate Labview 7.0 (on Mandrake linux) to mysql 4.1 using C APIs. I use the labview utility - lvmkmf i.e lvmkmf my_conn (my_conn is the C program that uses the mysql C APIs) The C APIs require the library mysqlclient and I have included it in the Makefile using the CINLIB macro. And I get the following error. gcc -shared -o my_conn.tmp \ /home/viji/cintools/cin.o my_conn.o /home/viji/cintools/libcin.a /home/viji/cintools/libmysqlclient.a /home/viji/cintools/lvsbutil -c my_conn -t CIN -d `pwd` /home/viji/cintools/my_conn.tmp: undefined symbol: compress /home/viji/cintools/lvsbutil: error building resource file: 1 make: *** [my_conn.lsb] Error 2 Is the lvsbutil trying the compress the libraries and giving an error when trying to do so? Thanks, Viji
labview and mysql
in Database and File IO
Posted
Hi all,
I m trying to integrate Labview 7.0 (on Mandrake linux) to mysql 4.1 using C APIs.
I use the labview utility - lvmkmf
i.e lvmkmf my_conn (my_conn is the C program that uses the mysql C APIs)
The C APIs require the library mysqlclient and I have included it in the Makefile using the CINLIB macro.
And I get the following error.
gcc -shared -o my_conn.tmp \
/home/viji/cintools/cin.o my_conn.o /home/viji/cintools/libcin.a /home/viji/cintools/libmysqlclient.a
/home/viji/cintools/lvsbutil -c my_conn -t CIN -d `pwd`
/home/viji/cintools/my_conn.tmp: undefined symbol: compress
/home/viji/cintools/lvsbutil: error building resource file: 1
make: *** [my_conn.lsb] Error 2
Is the lvsbutil trying the compress the libraries and giving an error when trying to do so?
Thanks,
Viji