List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:October 13 1999 8:29am
Subject:Compilation errors on Solaris_2.7_x86
View as plain text  
>>>>> "Jonathan" == Jonathan  <jonz@stripped> writes:

>> Description:
Jonathan> 	I'm getting the following errors when trying to compile mysql (both
Jonathan>  the current stable and the alpha versions) on solaris_2.7_x86 running gcc
Jonathan>  2.95.1...

Jonathan> mysqld.cc: In function `sig_handler print_signal_warning(int)':
Jonathan> mysqld.cc:395: implicit declaration of function `int sigset(...)'
Jonathan> make[3]: *** [mysqld.o] Error 1
Jonathan> make[3]: Leaving directory
> `/export/home/usr/staff/jonz/Sources/mysql-3.22.27/sql'
Jonathan> make[2]: *** [all-recursive] Error 1
Jonathan> make[2]: Leaving directory
> `/export/home/usr/staff/jonz/Sources/mysql-3.22.27/sql'
Jonathan> make[1]: *** [all-recursive] Error 1
Jonathan> make[1]: Leaving directory
> `/export/home/usr/staff/jonz/Sources/mysql-3.22.27'
Jonathan> make: *** [all-recursive-am] Error 2

Jonathan>  I'm wondering if i may need to tell gcc to ignore such warnings rather than
Jonathan>  error them?

Hi!

We have testcompiled all MySQL version on Solaris 2.5.1 and 2.6 and
most also on Solaris 2.7, but we haven't got the above problem.

This means that you have to sort this out before continuing!

sigset() should be declared in /usr/include/signal.h which is properly 
included in mysql_priv.h

Try executing the compile line by hand but change "-o" to "-E -dD" ;  This
will output the preprocessed mysqld.cc to the screen.  From this you
should be able to find out why sigset() isn't declared.

If you can't enough C to sort this out, mail the output to me!

Another option is to use the MySQL binary for Solairs 2.6 we provide
on our web page. (this works fine on Solaris 2.7)

Regards,
Monty
Thread
Compilation errors on Solaris_2.7_x86Jonathan12 Oct
  • Compilation errors on Solaris_2.7_x86Michael Widenius13 Oct