Compilation problems ver 2.0.1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Compilation problems ver 2.0.1

Shahid.Masud
Hi,
I have got the following error message during compilation and the program
has failed to compile. I have gcc ver 2.7.2.1 and make ver 3.75.
Somebody please help,
Thanks,
Shahid
-----------------------------------------------------------------------------
-DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall pt-mvr-base.cc
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  -DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall pt-mvr.cc
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  -DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall pt-plot.cc
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  -DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall pt-pr-code.cc
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  -DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall sighandlers.cc
sighandlers.cc: In function `void my_friendly_exit(const char *, int)':
sighandlers.cc:128: passing `void (*)()' as argument 2 of `octave_set_signal_handler(int, void (*)(int))'
sighandlers.cc: In function `void (* octave_set_signal_handler(int, void (*)(int)))(int)':
sighandlers.cc:168: warning: ANSI C++ prohibits conversion from `(int)' to `(...)'
sighandlers.cc: In function `void sigint_handler(int)':
sighandlers.cc:274: warning: unused parameter `int sig'
sighandlers.cc: In function `struct octave_interrupt_handler * octave_ignore_interrupts()':
sighandlers.cc:327: passing `void (*)()' as argument 2 of `octave_set_signal_handler(int, void (*)(int))'
sighandlers.cc: In function `void install_signal_handlers()':
sighandlers.cc:415: passing `void (*)()' as argument 2 of `octave_set_signal_handler(int, void (*)(int))'
sighandlers.cc:455: passing `void (*)()' as argument 2 of `octave_set_signal_handler(int, void (*)(int))'
make[2]: *** [sighandlers.o] Error 1
make[2]: Leaving directory `/home/user2/shahidm/OCTAVE/octave-2.0.1/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/user2/shahidm/OCTAVE/octave-2.0.1'
make: *** [all] Error 2