I get the following error when trying to # make BUILD_STATIC=yes Making all in share c++ -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 -mcpu=pentiumpro -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:2444: at this point in file /usr/include/tcpd.h:75: too many arguments to function `int hosts_access()' mysqld.cc:2445: at this point in file /usr/include/tcpd.h:130: too many arguments to function `char* eval_client()' mysqld.cc:2453: at this point in file *** Error code 1 Stop in /usr/ports/databases/mysql323-server/work/mysql-3.23.52/sql. *** Error code 1 Fix: I don't know How-To-Repeat: I had hoped that the compiler change was going to fix this. The problem also existed with the previous 3.1 compiler. cd /usr/ports/databases/mysql323-server make BUILD_STATIC=yes
Responsible Changed From-To: freebsd-ports->dirk Over to maintainer(s)
This is actually what caused a problem few weeks ago. It's a bug with old vs. new style of C-declarations in tcpd.h. I am going to submit a patch to fix it in tcpd.h today. yuri.
State Changed From-To: open->closed mysql-server compiles on -CURRENT, now.