help-octave
[Top][All Lists]
Advanced

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

link failure both octave-2.1.64 and cvs


From: Gert Van den Eynde
Subject: link failure both octave-2.1.64 and cvs
Date: Fri, 28 Jan 2005 07:14:38 -0600
User-agent: KMail/1.7.2

Hi,

I run a SuSE 9.0 system with gcc3.4.3 in /usr/local/... 
Trying to compile octave, both from latest source 2.1.64 and cvs, it fails with


g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob -I../glob 
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow-g -O2 -rdynamic \
-L..  -fPIC  -o octave \
main.o  \
-L../liboctave -L../libcruft -L../src -Wl,-rpath 
-Wl,/usr/local/lib/octave-2.1.64 \
-loctinterp -loctave  -lcruft  ../glob/glob.o ../glob/fnmatch.o  \
 -llapack -lcblas -lf77blas -latlas  -lreadline  -lncurses -ldl -lm  
-L/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3 
-L/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../.. -lfrtbegin -lg2c -lm 
-lgcc_s
../src/liboctinterp.so: undefined reference to `std::basic_iostream<char, 
std::char_traits<char> >::~basic_iostream()'
../src/liboctinterp.so: undefined reference to `std::basic_iostream<char, 
std::char_traits<char> >::basic_iostream(std::basic_streambuf<char, 
std::char_traits<char> >*)'
../src/liboctinterp.so: undefined reference to `std::basic_iostream<char, 
std::char_traits<char> >::~basic_iostream()'
../src/liboctinterp.so: undefined reference to `std::basic_iostream<char, 
std::char_traits<char> >::~basic_iostream()'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/home/gvdeynde/octave-2.1.64/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/gvdeynde/octave-2.1.64'
make: *** [all] Error 2

seems the linker seems to be confused (I think these errors also popup when 
linking with gcc instead of g++, but this is certainly not happening). 
I've attached the automatically generated octave-bug file.

Any tips are welcome!

gert


----------  SCK-CEN Disclaimer  ---------
http://www.sckcen.be/emaildisclaimer.html

Attachment: octave-bug
Description: application/shellscript


reply via email to

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