>>>>> "abush" == abush <abush@stripped> writes:
abush> I'm trying to compile 3.22.30 on HPUX 10.20, with the latest DCE
abush> patches, using gcc-2.95.2. While making all in share i get this error:
abush> Making all in share
abush> No suffix list.
abush> gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
abush> -DSHAREDIR=\"\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H
abush> -I./../include -I./../regex -I. -I../include -I.. -I. -g -O -DSAFE_MUTEX
abush> -DHPUX -I/opt/dce/include -felide-constructors -fno-exceptions -fno-rtti
abush> -O2 -fno-implicit-templates -DHAVE_BROKEN_SNPRINTF -c mysqld.cc
abush> mysqld.cc: In function`void * hanlde_connections_sockets(void *)':
abush> mysqld.cc:1517 passing `fd_set *' as argument 2 of `cma_select(int, int
abush> *, int *, int *, timeval *)'
abush> *** Error exit code 1
abush> I used the configure setup that was described in the mysql online
abush> manual. Any ideas on how to get through this?
We need access to your machine to be able to help you with this; The
problem seams to that some of hour header files has a
wrong/nonstandard macro for select().
You can always find out something more by doing:
gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-I./../include -I./../regex -I. -I../include -I.. -I. -g -O -DSAFE_MUTEX
-DHPUX -I/opt/dce/include -felide-constructors -fno-exceptions -fno-rtti
-O2 -fno-implicit-templates -DHAVE_BROKEN_SNPRINTF -E -dD mysqld.cc > mysqld.cpp
If you check in the mysqld.cpp file after 'select' you should get a
idea of what's going wrong.
Any change you can provide a ssh-login for me to your machine?