make issue, possibly g77 vs gfortran

Tim Albu tfalbu at gmail.com
Thu May 21 18:21:43 CDT 2009


 <help-octave at octave.org>Hello everyone,

I'm trying to install Octave 3.0.5 on RHEL5, but make fails as follows:

g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
-mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 -rdynamic \
        -L..  -fPIC  -o octave \
        main.o  \
        -L../liboctave -L../libcruft -L../src -Wl,-rpath
-Wl,/usr/local/lib/octave-3.0.5 \
        -loctinterp -loctave  -lcruft   \
             \
            \
         -lreadline  -lncurses -ldl -lz -lm
-L/usr/lib/gcc/i386-redhat-linux/3.4.6
-L/usr/lib/gcc/i386-redhat-linux/3.4.6/../../.. -lz -lfrtbegin -lg2c -lm
../src/liboctinterp.so: undefined reference to `__cxa_get_exception_ptr'
../src/liboctinterp.so: undefined reference to `std::basic_istream<char,
std::char_traits<char> >::ignore()'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/usr/local/octave-3.0.5/src'
make[1]: *** [src] Error 2


I have found something related in this post:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=7958, therefore I
installed gfortran and then tried ./configure --with-g77=gfortran but the
result is still:  Fortran compiler:     g77 -O -mieee-fp, and make still
fails as before.


What should be done in this case?


Best regards,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090522/7e495f77/attachment.html 


More information about the Help-octave mailing list