Hi All,

  I'm trying to port MySQL 3.22.32 to HPUX 10.20 and am encountering some
problems.  I'm on an HPUX 10.20 box with GCC 2.95.2, the configure script
works fine when I build I get:

mysqld.cc: In function `void close_connections()':
mysqld.cc:262: implicit declaration of function `int shutdown(...)'
mysqld.cc: In function `void server_init()':
mysqld.cc:581: implicit declaration of function `int setsockopt(...)'
mysqld.cc: In function `void * handle_connections_sockets(void *)':
mysqld.cc:1589: implicit declaration of function `int getsockname(...)'

  Now, I've already searched the archive for the mailing list but it was no
help.  I am using GNU make so that option is out.  I have successfully built
Apache + PHP 4 + mod_perl, Perl 5.005_03, Perl 5.6, and WU-FTPD with this
version of GCC, so I'm pretty sure that the socket stuff is fine.  And I
can't use a pre-compiled binary of MySQL becuase I need to be able to
replicate a specific environment from scratch.

  I have also tried using the build configuration options specified by the
3.23.32 build notes but that was also of no use.  My HPUX box does not have
DCE loaded, so building MySQL with DCE threads is not an option.  I have
removed all the DCE libraries from the system and even rebuilt GCC 2.95.2
just to be safe, but the problem persists.

  I suspect that a definition is/isn't set that shouldn't/should be set but I
can't figure it out.  My configure option is:

        ./configure --with-low-memory --prefix=/usr/local1/apps \
                    --disable-shared --without-mit-threads

  I have also tried "--with-mit-threads" but no difference.

  Can anyone give _any_ pointers on fixing the problem?  At this point I'm
*very* frustrated so any help is greatly appreciated.

  Thanks in advance for *any* help you can provide.

                                                John

-- 
+----------------------------I speak for myself.----------------------------+
|   John Jung  ([EMAIL PROTECTED]) |   Unigraphics Solutions             |
|   Global Technical Access Center    |   10824 Hope Street, Cypress Pointe |
|   Operating Systems Group           |   Cypress, California 90630         |
+------------------------------(800) 955-0000-------------------------------+

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to