Subject: problems making mysql v3.23.47 on 1.5.2ZA
To: None <current-users@netbsd.org>
From: Dan <kasper37@netzero.com>
List: current-users
Date: 01/04/2002 11:01:47
after running a simple ./configure --prefix=/usr/local/mysql and then
running gmake I get this error:

gmake[3]: Entering directory `/root/mysql-3.23.47/sql'
c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\
"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share
/mysql\"" -DHAVE_CONFIG_H
-I../mit-pthreads/include -I./../include -I./../regex -I. -I../include -I..
-I.    -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -D
unix -c mysqld.cc
mysqld.cc: In function `void * handle_connections_sockets(void *)':
mysqld.cc:2314: implicit declaration of function `int select(...)'
gmake[3]: *** [mysqld.o] Error 1
gmake[3]: Leaving directory `/root/mysql-3.23.47/sql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/root/mysql-3.23.47/sql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/mysql-3.23.47'
gmake: *** [all-recursive-am] Error 2
bash-2.05a#

it's complaining about this line:

if (select((int) max_used_connection,&readFDs,0,0,0) < 0)

I'm asking here because I've never had this problem before I tried the
newest snapshot.  Thanks for any help.

Dan