I've downloaded and tried to compile mysql-3.23.36. Configuring goes well then but I get a compiler error a good part into the build when running make.
I've browsed forums and it seems that some people have compiled mysql without any problem at all (an older version).
I would be really grateful to get help in solving this problem.
Thanks!
/stone
# make
(lots of removed output...)
c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I. -O3 -DDBUG_OFF -fno-implicit-templates -traditional-cpp -DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -c mysqld.cc
mysqld.cc: In function `void init_signals()':
mysqld.cc:1241: assignment to `void (*)(int)' from `void (*)()'
make[3]: *** [mysqld.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
I've browsed forums and it seems that some people have compiled mysql without any problem at all (an older version).
I would be really grateful to get help in solving this problem.
Thanks!
/stone
# make
(lots of removed output...)
c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I. -O3 -DDBUG_OFF -fno-implicit-templates -traditional-cpp -DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -c mysqld.cc
mysqld.cc: In function `void init_signals()':
mysqld.cc:1241: assignment to `void (*)(int)' from `void (*)()'
make[3]: *** [mysqld.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2