I am trying to build MySQL-3.22.26a on NetBSD-1.3.3. I am using
gmake-3.77 and gcc-2.95. I am getting the following error:
gmake[3]: Entering directory `/devel/build/mysql-3.22.26a/sql'
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/pkg/mysql-3.22.26a\""
-DDATADIR="\"/pkg/mysql-3.22.26a/var\""
-DSHAREDIR="\"/pkg/mysql-3.22.26a/share/mysql\""
-DHAVE_CONFIG_H -I../mit-pthreads/include -I./../include
-I./../regex -I. -I../include -I.. -I.
-I/usr/local/include -O -fno-implicit-templates -DDBUG_OFF -c mysqld.cc
mysqld.cc: In function `void * handle_connections_sockets(void *)':
mysqld.cc:1492: implicit declaration of function `int select(...)'
gmake[3]: *** [mysqld.o] Error 1
On my system, select is defined in unistd.h. That file is already
included in mysqld.cc.
If this has already been addressed in a faq, please just point me there.
Otherwise, does anyone have any suggestions? -- Felicia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fn@stripped Felicia Neff