[EMAIL PROTECTED] wrote:

> 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

First, try to compile the latest source (4.0.13 or 3.23.57 if you prefer older 
version). 
Second, if you are using Linux - don't compile by yourself, take prebuilt binaries - 
compiling correctly under Linux is tricky. 

> 
> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to