MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Jani Tolonen Date:August 31 1999 10:48am
Subject:compiling mysql-3.22.25 on HP-UX 10.20
View as plain text  
John McDermon writes:
 > Using gcc 2.95.1 on HP-UX 10.20 I configured mysql-3.22.25 with the 
 > following options:
 > ./configure  --prefix=/opt/mysql-3.22.25 --with-mit-threads --with-low-memory
 > 
 > 
 > Then I get the following errors:
 > mysqld.cc: In function `void close_connections()':
 > mysqld.cc:244: implicit declaration of function `int shutdown(...)'
 > mysqld.cc: In function `void server_init()':
 > mysqld.cc:556: implicit declaration of function `int setsockopt(...)'
 > mysqld.cc: In function `void * handle_connections_sockets(void *)':
 > mysqld.cc:1536: implicit declaration of function `int getsockname(...)'
 > gmake[3]: *** [mysqld.o] Error 1
 > gmake[3]: Leaving directory `/sw/HP/mysql-3.22.25/sql'
 > gmake[2]: *** [all-recursive] Error 1
 > gmake[2]: Leaving directory `/sw/HP/mysql-3.22.25/sql'
 > gmake[1]: *** [all-recursive] Error 1
 > gmake[1]: Leaving directory `/sw/HP/mysql-3.22.25'
 > gmake: *** [all-recursive-am] Error 2
 > 
 > Anybody have an idea how I can get mysql built on HP-UX 10.20?
 > 
 > TIA,
 > --John
 > 

Hello John,

Can you please check that the file
/usr/include/sys/socket.h
declares the above functions for you system. 
(You have probably some wrong #ifdef and #ifndef etc. there)

Regards,

- Jani

-- 
+-------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___                        |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|       Jani Tolonen     |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|       jani@stripped   |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|       Helsinki         |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|_____  Finland          |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                   |
|             /*/             \*\            Developers Team  |
+-------------------------------------------------------------+
Thread
compiling mysql-3.22.25 on HP-UX 10.20John McDermon24 Aug
  • compiling mysql-3.22.25 on HP-UX 10.20Jani Tolonen31 Aug
  • compiling mysql-3.22.25 on HP-UX 10.20Michael Widenius31 Aug