problem building octave 3.0 on x86_64
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Mar 11 20:20:51 CDT 2008
On 11-Mar-2008, Tom Holroyd wrote:
| After configure BLAS showed up as -lblas, maybe that's OK though. The
| error below appears to be something else.
|
| g++ -I/usr/local/include -I. -I.. -I../liboctave -I../src -
| I../libcruft/misc -DHAVE_CONFIG_H -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/octave64/lib/octave-3.0.0 \
| -loctinterp -loctave -lcruft \
| \
| -lblas \
| -lreadline -lncurses -ldl -lz -lm -L/usr/lib/gcc/x86_64-
| redhat-linux/3.4.6 -L/usr/lib/gcc/x86_64-redhat-
| linux/3.4.6/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-
| linux/3.4.6/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lz -lfrtbegin
| -lg2c -lm
| ../src/liboctinterp.so: undefined reference to `__cxa_get_exception_ptr'
| collect2: ld returned 1 exit status
Octave doesn't refer to __cxa_get_exception_ptr directly, so I have to
assume a compiler problem.
Is it possible that you are mixing libstdc++ versions somehow? Is one
of the libraries you are linking with linked to a version of libstdc++
that is different from the one GCC 3.4.6 expects (I'm guessing the
version based on the message above)?
jwe
More information about the Octave-maintainers
mailing list