Subject: mysql-server fails to build with the new toolchain
To: None <tech-pkg@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-pkg
Date: 10/07/2001 22:06:28
Hi,
I am reinstalling my packages and it worked fine till I tried to build
mysql-server:
c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/pkg\"" -DDATADIR="\"/var/mysql\"" -DSHAREDIR="\"/usr/pkg/share/mysql\"" -DHAVE_CONFIG_H -I../mit-pthreads/include -I./../include -I./../regex -I. -I../include -I.. -I. -Dunix -Dunix -O3 -DDBUG_OFF -O2 -fno-implicit-templates -fno-exceptions -fno-rtti -c mini_client.cc
mini_client.cc: In function `int mc_sock_connect(int, const sockaddr *, unsigned int, unsigned int)':
mini_client.cc:289: implicit declaration of function `int select(...)'
*** Error code 1
Stop.
make: stopped in /home/source/pkgsrc/databases/mysql-server/work.i386/mysql-3.23.39/sql
*** Error code 1
I have no idea what is going on here. I tried to add <unistd.h>, but that didn't fix
the problem.
Bernd