Hi!
>>>>> "Scott" == Scott Ellsworth <[EMAIL PROTECTED]> writes:
Scott> When compiling .36 under OS X release, the following error occurs:
Scott> c++ -DMYSQL_SERVER
Scott> -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
Scott> -DDATADIR="\"/usr/local/mysql/var\""-DSHAREDIR="\"/usr/local/mysql/share/mysql\
Scott> "" -DHAVE_CONFIG_H -I../bdb/build_unix
Scott> -I../innobase/include -I./../include
Scott> -I./../regex -I. -I../include -I.. -I. -O3
Scott> -DDBUG_OFF -O3 -fomit-frame-pointer -fno-implicit-templates
Scott> -traditional-cpp -DHAVE_DARWIN_THREADS -traditional-cpp
Scott> -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -c mysqld.cc
Scott> mysqld.cc: In function `void init_signals()':
Scott> mysqld.cc:1241: assignment to `void (*)(int)' from `void (*)()'
Scott> make[3]: *** [mysqld.o] Error 1
Scott> make[2]: *** [all-recursive] Error 1
Scott> make[1]: *** [all-recursive] Error 1
Scott> make: *** [all-recursive-am] Error 2
Scott> This is fixable by removing the #ifdef DARWIN_THREADS protection, near
Scott> line 1241 and just using the
Scott> sa.sa_handler=handle_segfault;
Scott> code in all cases. This appears to have been a Darwin 1.2 to 1.3
Scott> change, though I have only recently been following it.
Scott> (This does appear to have been a bad cast, and thus the change is a good
Scott> one.)
<cut>
Fixed. Thanks!
Regards,
Monty
---------------------------------------------------------------------
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