mysql error under make
I have run configure and that went through great, but when i run make then i get this message:
libmysql.c: In function 'mysql_real_connect':
libmysql.c:1850: Warning: passing arg 5 of 'gethostbyname_r' from incompatible pointer type
libmysql.c:1850: too few arguments to function 'gethostbyname_r'
libmysql.c:1850: warning: assingment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory '/usr/local/src/mysql-4.0.20/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/mysql-4.0.20'
make: *** [all] Error 2
What do i have to do to make this work?
Last edited by larynx; 09-02-2004 at 03:00 AM.
|