List:General Discussion« Previous MessageNext Message »
From:Terry Richards Date:May 8 2005 10:04pm
Subject:compiling mysql on macosx 10.4
View as plain text  
does anybelly know why the following happens?
i am using macosx 10.4
and ./configure --prefix=/usr/local/mysql 
--with-unix-socket-path=/usr/local/mysql/run/mysql_socket 
--with-mysqld-user=mysql --with-comment --with-debug



sql_list.h: At global scope:
sql_list.h:401: warning: inline function `base_ilist::~base_ilist()' 
used but never defined
if g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" 
-DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" 
-DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include 
-I../regex -I.     -O3 -DDBUG_OFF    -fno-implicit-templates 
-fno-exceptions -fno-rtti -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE 
-DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ 
-DIGNORE_SIGHUP_SIGQUIT -MT mysqld.o -MD -MP -MF ".deps/mysqld.Tpo" -c 
-o mysqld.o mysqld.cc; \
then mv -f ".deps/mysqld.Tpo" ".deps/mysqld.Po"; else rm -f 
".deps/mysqld.Tpo"; exit 1; fi
opt_range.h: In member function `bool SQL_SELECT::check_quick(THD*, 
bool, ha_rows)':
opt_range.h:146: warning: passing negative value '-0x00000000000000001' 
for converting 1 of 'Bitmap<64u>::Bitmap(uint)'
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

:-)2

Thread
compiling mysql on macosx 10.4Terry Richards9 May