List:General Discussion« Previous MessageNext Message »
From:rosli Date:July 10 2003 3:43am
Subject:Error compile mysql-3.23.51
View as plain text  
Hi All,
I success ./configure my "mysql-3.23.51", after type make I got this 
error 
---------------------------------------------------------------------
libmysql.c: In function `mysql_real_connect':
libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from 
incompatible pointer type
libmysql.c:1325: too few arguments to function `gethostbyname_r'
libmysql.c:1325: warning: assignment makes pointer from integer without 
a cast
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/usr/src/mysql-3.23.51/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-3.23.51'
make: *** [all-recursive-am] Error 2
----------------------------------------------------------------------
as to my understanding my problem with libmysql.c something about 
gethostbyname_r. I've no idea to figure out what actually it it.
Please advise.

Rosli

Thread
Error compile mysql-3.23.51rosli10 Jul
  • Re: Error compile mysql-3.23.51Egor Egorov10 Jul