help-octave
[Top][All Lists]
Advanced

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

gcc 3.3.3 undefined reference stl_alloc.h


From: Miroslaw Dach
Subject: gcc 3.3.3 undefined reference stl_alloc.h
Date: Tue, 01 Aug 2006 10:24:07 -0500
User-agent: Thunderbird 1.5 (X11/20060113)

I have build successfully octave 2.1.73 on Linux  fedoracore 2, gcc 3.3.3..

Right now I am trying to build octave_embedded:

http://octave.sf.net/octave_embed.tar.gz

on the same platform but with no success so far.
The compilation goes fine but during linkage I get the following errors:


mkoctfile -v  -c test.cpp
g++ -c -fPIC -I/home/urs1/octave/include/octave-2.1.73 -I/home/urs1/octave/include/octave-2.1.73/octave -I/home/urs1/octave/include -mieee-fp -g -O2 test.cpp -o test.o
mkoctfile -v  -c embed.cc
g++ -c -fPIC -I/home/urs1/octave/include/octave-2.1.73 -I/home/urs1/octave/include/octave-2.1.73/octave -I/home/urs1/octave/include -mieee-fp -g -O2 embed.cc -o embed.o
mkoctfile -v --link-stand-alone test.o embed.o -o test_embed
g++ -I/home/urs1/octave/include/octave-2.1.73 -I/home/urs1/octave/include/octave-2.1.73/octave -I/home/urs1/octave/include -mieee-fp -g -O2 -fPIC -o test_embed test.o embed.o -L/home/urs1/octave/lib/octave-2.1.73 -Wl,-rpath -Wl,/home/urs1/octave/lib/octave-2.1.73 -loctinterp -loctave -lcruft -llapack -lblas -lreadline -lreadline -lncurses -lm -L/usr/lib/gcc-lib/i386-redhat-linux/3.3.3 -L/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../.. -lfrtbegin -lg2c -lm -lgcc_s


........

/home/urs1/octave/lib/octave-2.1.73/liboctinterp.a(builtins.o)(.text+0xa3aa):/usr/include/c++/3.3.3/bits/stl_alloc.h:652: undefined reference to `Fbessely(octave_value_list const&, int)' /home/urs1/octave/lib/octave-2.1.73/liboctinterp.a(builtins.o)(.text+0xa414):/usr/include/c++/3.3.3/bits/stl_alloc.h:652: undefined reference to `Fbesseli(octave_value_list const&, int)' /home/urs1/octave/lib/octave-2.1.73/liboctinterp.a(builtins.o)(.text+0xa47e):/usr/include/c++/3.3.3/bits/stl_alloc.h:652: undefined reference to `Fbesselk(octave_value_list const&, int)' /home/urs1/octave/lib/octave-2.1.73/liboctinterp.a(builtins.o)(.text+0xa4e8):/usr/include/c++/3.3.3/bits/stl_alloc.h:652: undefined reference to `Fbesselh(octave_value_list const&, int)' /home/urs1/octave/lib/octave-2.1.73/liboctinterp.a(builtins.o)(.text+0xa552):/usr/include/c++/3.3.3/bits/stl_alloc.h:652: undefined reference to `Fairy(octave_value_list const&, int)'

........more errors as above but of the same type

It seems to be the same problem which refers to the way how the exceptions are thrown in the stl_alloc.h:652
allocator() throw() {}
Maybe somebody more experienced can comment on that.

Best Regards

Mirek







reply via email to

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