Subject: error compiling mysql4-server, again
To: None <tech-pkg@NetBSD.org>
From: Mirko Thiesen <thiesi@NetWorkXXIII.de>
List: tech-pkg
Date: 11/27/2004 14:15:43
After a successful update of a system running 1.6.2_STABLE to 2.0_RC5 as 
of yesterday, I am currently in the process of rebuilding all packages 
that have to be rebuilt.

While compiling mysql4-server, I see the following:


g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/pkg\"" 
-DDATADIR="\"/var/mysql\"" -DSHAREDIR="\"/usr/pkg/share/mysql\"" 
-DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include -I../regex 
-I. -I/usr/pkg/include  -Dunix -I/usr/include -I/usr/pkg/include  -O3 
-DDBUG_OFF -O2 -DUSE_OLD_FUNCTIONS -I/usr/include -I/usr/pkg/include 
-fno-implicit-templates -fno-exceptions -fno-rtti -Dunix -c -o mysqld.o 
`test -f 'mysqld.cc' || echo './'`mysqld.cc
/usr/pkgsrc/databases/mysql4-server/work.ReLink/.buildlink/include/tcpd.h: 
In
    function `void* handle_connections_sockets(void*)':
/usr/pkgsrc/databases/mysql4-server/work.ReLink/.buildlink/include/tcpd.h:210: 
error: too
    many arguments to function `void sock_host()'
mysqld.cc:3539: error: at this point in file
/usr/pkgsrc/databases/mysql4-server/work.ReLink/.buildlink/include/tcpd.h:140: 
error: too
    many arguments to function `int hosts_access()'
mysqld.cc:3540: error: at this point in file
/usr/pkgsrc/databases/mysql4-server/work.ReLink/.buildlink/include/tcpd.h:203: 
error: too
    many arguments to function `char* eval_client()'
mysqld.cc:3548: error: at this point in file
gmake[4]: *** [mysqld.o] Error 1
gmake[4]: Leaving directory 
`/usr/pkgsrc/databases/mysql4-server/work.ReLink/mysql-4.1.7/sql'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/pkgsrc/databases/mysql4-server/work.ReLink/mysql-4.1.7/sql'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/pkgsrc/databases/mysql4-server/work.ReLink/mysql-4.1.7/sql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/databases/mysql4-server/work.ReLink/mysql-4.1.7'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/databases/mysql4-server
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mysql4-server
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mysql4-server


Any hints on this one?

Bye, K&K,
T-Zee
-- 
thiesi@NetWork23.Sytes.NET ---- NetBSD: Power to the people!
Tel.: ++49-(0)171-416 05 09 -- Fax: ++49-(0)171-134 16 05 09
Mirko Thiesen, Soemmeringstrasse 41, D-10589 Berlin, Germany
              "We're with you all the way, mostly"