Re: ERROR while compiling:

2003-08-02 Thread Andy Jackman
Prem, I had this problem and adding the library 'z' (whatever that is) helped. Try putting -lz at the end of your compile line. Regards, Andy. Prem Soman wrote: > > i am using Linux 6.2(Zoot) and MySql 2.23.36and found the following error while > compiling the C program u

ERROR while compiling:

2003-07-31 Thread Prem Soman
i am using Linux 6.2(Zoot) and MySql 2.23.36and found the following error while compiling the C program using mysql APIcc -o test prog1.c -L /usr/lib/mysql -I /usr/include/mysql -lmysqlclientThe following Error occured :/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress

error while compiling mysql

2003-01-27 Thread Sönke Ruempler
hello list, libmysql.c: In function `mysql_real_connect': libmysql.c:1348: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type libmysql.c:1348: too few arguments to function `gethostbyname_r' libmysql.c:1348: warning: assignment makes pointer from integer without a cast make