Sigh... I was building mysql on Solaris using Forte compiler and got the same error.
IMHO, the tcpd.h header is not very c++ friendly. One dirty workaround is to temporarily define the arguments for hosts_access, eval_client and sock_host. Or there could be a flag that could disable strict prototype checking. kt On Wed, Jun 26, 2002 at 11:55:54PM -0800, Beech Rintoul wrote: > I'm getting the following: > > cc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" > -DDATADIR="\"/var/db/mysql\"" > -DSHAREDIR="\"/usr/local/share/mysql\"" > -DHAVE_CONFIG_H -I../bdb/build_unix -I../innobase/include > -I./../include -I./../regex -I. > -I../include -I.. -I. -DDBUG_OFF -O -pipe -felide-constructors -fno-rtti > -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti > -DMYSQLD_NET_RETRY_COUNT=1000000 -c mysqld.cc > /usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)': > /usr/include/tcpd.h:137: too many arguments to function `void sock_host()' > mysqld.cc:2428: at this point in file > /usr/include/tcpd.h:75: too many arguments to function `int hosts_access()' > mysqld.cc:2429: at this point in file > /usr/include/tcpd.h:130: too many arguments to function `char* eval_client()' > mysqld.cc:2437: at this point in file > *** Error code 1 > > Stop in /usr/ports/databases/mysql323-server/work/mysql-3.23.51/sql. > *** Error code 1 > > I added cc=gcc31 cxx=g++31 to my make. Ports tree is up to date. Just > finished world & kernel. Anyone have a suggestion? > > Beech > -- > ------------------------------------------------------------------- > Beech Rintoul - SysAdmin - [EMAIL PROTECTED] > /"\ ASCII Ribbon Campaign | Sinbad Network Communications > \ / - NO HTML/RTF in e-mail | 3101 Penland Parkway #K-38 > X - NO Word docs in e-mail | Anchorage, AK 99508-1957 > / \ ----------------------------------------------------------------- > > > > > > > > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message