-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
On Tue, 10 Dec 2002, Darren Beale wrote: > I've an Sun Ultra Enterprise 2 desktop that is running a new (Patched) > build of Solaris 9 with GCC3.2, GNU Binutils (latest) and a few packages > like GNU Make, GNU sed, GNU tar from sunfreeware > > PATH is /usr/sbin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/ucb > LD_LIBRARY_PATH is /usr/local/ssl/lib:/usr/local/lib > CFLAGS=-O3 > CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" > > When I try to compile mysql 3.23.53 with the line: > ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldfla > gs=-all-static > > I get: > =========8<========= > gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/m > ysql\"" -DDATADIR="\"/usr/local/mysql/var\"" > -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHA > VE_CONFIG_H -I./../include -I./../regex > -I. -I../include -I.. -I. -O3 -DDBUG_OFF -O3 -felide-constructors -fno-ex > ceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_ > MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -DHAVE_RWLOCK_T -c mysqld.cc > mysqld.cc: In function `void* handle_connections_sockets(void*)': > mysqld.cc:2410: invalid conversion from `size_socket*' to `socklen_t*' > mysqld.cc:2476: invalid conversion from `size_socket*' to `socklen_t*' > make[3]: *** [mysqld.o] Error 1 > make[3]: Leaving directory `/usr/local/build/mysql-3.23.53/sql' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/local/build/mysql-3.23.53/sql' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/build/mysql-3.23.53' > make: *** [all-recursive-am] Error 2 > =========8<========= > > any ideas? I've also tried with no extra ./configure options and get the > same results. Yes, this is a known issue and will be fixed with the upcoming MySQL 3.23.54. As a temporary workaround, you may want to try the following: Please edit config.h after running "configure" and change the following: Change line 214 #define SOCKET_SIZE_TYPE int To #define SOCKET_SIZE_TYPE socklen_t Then run "make" and the compile should continue. Bye, LenZ - -- For technical support contracts, visit https://order.mysql.com/?ref=mlgr __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer /_/ /_/\_, /___/\___\_\___/ Hamburg, Germany <___/ www.mysql.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9+KPgSVDhKrJykfIRAjceAJ0dx+GsUVqnFEENpdPx3iCF/ymmvwCfZ48R l+0HAYtY1SDQAApQUqpI8so= =xQo8 -----END PGP SIGNATURE----- --------------------------------------------------------------------- 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