build problems - liboctinterp.so - undefined references. Please Help!!! I am new.
Date:
Fri, 2 Dec 2005 19:46:10 -0500
I installed all the requirement from Octave and I still couldn't get pass the liboctinterp.so.
I search the web for answers, but I couldn't find any.
I am using Fedora Core 4 and I did all the updates.
Please help me!!!
Here is my configuration and the error that I got.
Do internal array bounds checking: false
Build static libraries: false
Build shared libraries: true
Dynamic
Linking:
true (dlopen)
Include support for GNU readline: true
ln -s liboctinterp.so liboctinterp.so.2.1.71
g++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -D_GNU_SOURCE -rdynamic \
-L.. -fPIC -o octave \
main.o \
-L../liboctave -L../libcruft -L../src -Wl,-rpath -Wl,/root/gr/lib/octave-2.1.71 \
-loctinterp -loctave -lcruft \
-llapack -lblas -lfftw3 -lreadline -lncurses -ldl -lhdf5
-lz -lm -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../.. -lhdf5 -lz
-lfrtbegin -lg2c -lm -lgcc_s
../src/liboctinterp.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
../src/liboctinterp.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
../src/liboctinterp.so: undefined reference to `__cxa_get_exception_ptr'
../src/liboctinterp.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
../src/liboctinterp.so: undefined reference to
`std::basic_stringbuf<char, std::char_traits<char>,
std::allocator<char> >::seekoff(long long, std::_Ios_Seekdir,
std::_Ios_Openmode)'
../src/liboctinterp.so: undefined reference to `std::_List_node_base::unhook()'
../src/liboctinterp.so: undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
../src/liboctinterp.so: undefined reference to
`std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_empty_rep_storage'
../src/liboctinterp.so: undefined reference to `__gnu_cxx::__pool<true>::_M_reserve_block(unsigned int, unsigned int)'
../src/liboctinterp.so: undefined reference to
`std::basic_streambuf<char, std::char_traits<char>
>::pubseekoff(long long, std::_Ios_Seekdir, std::_Ios_Openmode)'
../src/liboctinterp.so: undefined reference to
`std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
../src/liboctinterp.so: undefined reference to
`std::basic_istream<char, std::char_traits<char>
>::seekg(long long, std::_Ios_Seekdir)'
../src/liboctinterp.so: undefined reference to
`std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base&)'
../src/liboctinterp.so: undefined reference to `__cxa_guard_release'
../src/liboctinterp.so: undefined reference to `__gnu_cxx::__pool<true>::_M_initialize()'
../src/liboctinterp.so: undefined reference to
`std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_M_replace_aux(unsigned int, unsigned
int, unsigned int, char)'
../src/liboctinterp.so: undefined reference to `__cxa_guard_abort'
../src/liboctinterp.so: undefined reference to `__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned int)'
../src/liboctinterp.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
../src/liboctinterp.so: undefined reference to
`std::basic_stringbuf<char, std::char_traits<char>,
std::allocator<char> >::showmanyc()'
../src/liboctinterp.so: undefined reference to
`std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_create(unsigned int, unsigned
int, std::allocator<char> const&)'
../src/liboctinterp.so: undefined reference to `__gnu_cxx::__pool<true>::_M_get_thread_id()'
../src/liboctinterp.so: undefined reference to `__cxa_guard_acquire'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/root/Desktop/GNU/octave-2.1.71/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/root/Desktop/GNU/octave-2.1.71'
make: *** [all] Error 2
address@hidden octave-2.1.71]#