Hello, I have encountered a problem when trying to compile MySQL version 3.23.51 on Mandrake version 9.0. I've been browsing through several pages related to problems met while compiling that version but didn't find anything relevant. My nerves are starting to shake seriously...
The "configure" part worked well with the command line : ./configure --prefix=/usr/local/mysql --with-named-curses-libs=/usr/lib/libncurses.so.5 But during the make install part, I have the following Error message : 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[1]: *** [libmysql.lo] Erreur 1 make[1]: Quitte le répertoire `/var/tmp/mysql-3.23.51/libmysql' make: *** [install-recursive] Erreur 1 This version of MySQL has been compiled using gcc version 3.2 as shown below. Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) Any hint, anyone ? Shall I downgrade to GCC 2.95 ? Thanks very much ! __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --------------------------------------------------------------------- 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