mysql 3.23.53 compile issue

2002-12-10 Thread Darren Beale
Hi there

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.

thanks

--
Darren Beale - Acksys Ltd
Office: 020 8530 1454
Fax: 07092 394822
Mobile: 07711 716197
http://www.acksys.co.uk



-
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




mysql-3.23.53 compile issue

2002-12-10 Thread Darren Beale
Hi there

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.
thanks

--
Darren Beale - Acksys Ltd
Office: 020 8530 1454
Fax: 07092 394822
Mobile: 07711 716197
http://www.acksys.co.uk



-
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