I posted a message last Wednesday about compile problems I was having with MySQL 3.23.51 and SuSE 8.0 (copied below). I notice that there is another user (Dennis Daupert) having the same problem as I am. Does anyone have a solution, or know where I might be able to find more information that might help me solving this problem?
This is starting to get a little urgent for me now - ANY help getting this running would be greatly appreciated. Regards Andy Dr. Andy Dawson [EMAIL PROTECTED] http://www.mossie.org http://www.museum-explorer.org.uk Never attribute to malice that which is adequately explained by stupidity. ---------- Forwarded message ---------- Date: Wed, 24 Jul 2002 16:05:42 +0100 (GMT Daylight Time) From: A.J.Dawson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: MySQL 3.23.51 compile problems with SuSE 8.0 I have come across a problem compiling MySQL 3.23.51 on a SuSE 8.0 computer. I have tried compiling the same source code on a SuSE 7.3 computer with no apparent problems. Note that I have not actually used the version compiled on the 7.3 machine - I simply wanted to make sure it would compile. The commands I issue are as follows: # CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static # make The configure part runs fine. The make part fails with: gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\" -DDATADIR=\"/usr/local/mysql/var\" -DSHAREDIR=\"/usr/local/mysql/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O3 -c libmysql.c -fPIC -DPIC -o .libs/libmysql.lo 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 `/tmp/download/mysql-3.23.51/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/download/mysql-3.23.51' make: *** [all-recursive-am] Error 2 Is there something I am doing wrong? Is there a problem with the source? Or does the problem lie with SuSE 8.0? Or gcc? The SuSE 8.0 computer is a dual PII-400 with 128Mb of memory, the SuSE 7.3 computer is a dual PIII-1GHz with 1Gb of memory. The compiler in both cases is gcc 2.95.3, though the version on the SuSE 8.0 machine is 2.95.3-219 and the version on the SuSE 7.3 machine is 2.95.3-52 (according to the rpm information). I have also tried 3.23.49 on the SuSE 8.0 machine and got the following error during the configure phase (using the same ./configure script as above): ... checking for c++... gcc checking whether the C++ compiler (gcc -O3 -felide-constructors -fno-exceptions -fno-rtti ) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. Any help in getting 3.23.51 compiled would be greatly appreciated! Regards Dr. Andy Dawson [EMAIL PROTECTED] http://www.mossie.org http://www.museum-explorer.org.uk Never attribute to malice that which is adequately explained by stupidity. --------------------------------------------------------------------- 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