By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,221 Members | 1,604 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,221 IT Pros & Developers. It's quick & easy.

Error compiling MySQL 4.0.14 on Slackware GNU/Linux

P: n/a
I'm using Slackware GNU/Linux 9.0 on an Intel PII 266 machine that's SMP
capable, but only with one CPU installed, and 64MB of RAM. It's
basically a small test system that I play around with in some free time
before installing things on my larger systems.

I am trying to do a fresh install of MySQL 4.0.14 (I removed the
previous 3.23.56 installation, including directory structure and
leftover components). I'm compiling with these options passed to
'configure':

CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions \
-fno-rtti" ./configure --prefix=/usr --enable-assembler \
--with-extra-charsets=complex --enable-thread-safe-client \
--enable-local-infile --disable-shared --with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static --bindir=/usr/bin --with-raid \
--sbindir=/usr/sbin --libexecdir=/usr/libexec --sysconfdir=/etc \
--localstatedir=/var/lib/mysql --libdir=/usr/lib --infodir=/usr/info \
--includedir=/usr/include --mandir=/usr/man --with-innodb \
--with-berkeley-db --with-libwrap --with-tcp-port=3306 --with-gnu-ld \
--with-mysqld-user=mysql --with-unix-socket-path=/var/run/mysql/mysql.sock

It configures fine, however, near the end of the make process, I get the
following errors:

gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\""
-DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\""
-DHAVE_CONFIG_H -I. -I. -I.. -I../bdb/build_unix -I../innobase/include
-I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -O3
-felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates
-fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -c
-o mysqld.o `test -f mysqld.cc || echo './'`mysqld.cc
/usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)':
/usr/include/tcpd.h:131: too many arguments to function `void sock_host()'
mysqld.cc:2915: at this point in file
/usr/include/tcpd.h:69: too many arguments to function `int hosts_access()'
mysqld.cc:2916: at this point in file
/usr/include/tcpd.h:124: too many arguments to function `char*
eval_client()'
mysqld.cc:2924: at this point in file
make[4]: *** [mysqld.o] Error 1
make[4]: Leaving directory `/usr/local/mysql-4.0.14/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/mysql-4.0.14/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/mysql-4.0.14/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-4.0.14'
make: *** [all] Error 2
Is there something I'm overlooking or could do to prevent and/or fix this?

Thanks for your help.

Tony Evans

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.