Hi,
I've already seen this problem with gcc 4.0, I have to change size_socket declaration to socklen_t.
Anyway, you won't be able to compile properly MySQL because of a bug in gcc 4.0 which will be fixed in 4.0.1.
Take a look at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21173
for more details.
Regards, Jocelyn
Wells Oliver wrote:
Has anyone else tried to compile 4.1.11 on OS 10.4? My compilation fails on mysqldd.cc:
mysqld.cc: In function `int bootstrap(FILE*)': mysqld.cc:3350: warning: converting of negative value '-0x00000000000000001' to 'ulong' mysqld.cc: In function `void* handle_connections_sockets(void*)': mysqld.cc:3589: error: invalid conversion from 'size_socket*' to 'socklen_t*' mysqld.cc:3589: error: initializing argument 3 of 'int accept(int, sockaddr*, socklen_t*)' mysqld.cc:3662: error: invalid conversion from 'size_socket*' to 'socklen_t*' mysqld.cc:3662: error: initializing argument 3 of 'int getsockname(int, sockaddr*, socklen_t*)' sql_list.h: At global scope: sql_list.h:401: warning: inline function `base_ilist::~base_ilist()' used but never defined make[4]: *** [mysqld.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I believe 10.4 has gcc 4.0. Anyway; any tips appreciated. Thanks!
-- Wells Oliver [EMAIL PROTECTED]
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]