help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make issue, possibly g77 vs gfortran


From: Tim Albu
Subject: make issue, possibly g77 vs gfortran
Date: Fri, 22 May 2009 01:21:43 +0200

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]