-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 23 October 2002 21:37, Michael T. Babcock wrote:
> I'm trying to compile MySQL v3.23.53 on Linux 2.2.19 with glibc 2.1.3 > and I'm getting an 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 > > It seems the detecting of the glibc2-style gethostbyname_r is broken; > config.h has it undefined. Make sure that "g++" (Package "gpp" on SuSE Linux) is installed or export CXX=gcc before running "configure" - that should fix this. Bye, LenZ - -- For technical support contracts, visit https://order.mysql.com/?ref=mlgr __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer /_/ /_/\_, /___/\___\_\___/ Hamburg, Germany <___/ www.mysql.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE9twA4SVDhKrJykfIRAq9eAJ96AmA5rvA+Q7ChktpIdkBaBysowwCfRYez CG2Ics2I/svfB8AtdWFUmNw= =9tkM -----END PGP SIGNATURE----- --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php