help-octave
[Top][All Lists]
Advanced

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

Compiling an old version with an old compiler


From: spasmous
Subject: Compiling an old version with an old compiler
Date: Fri, 9 Apr 2010 15:06:28 -0700

I'm compiling for a platform that only has gcc/g++ 3.3. Octave 3.05
passes ./configure CXX=c++33 CC=gcc33 but fails about 20 minutes into
make (see below). Any hints as to what to try next are much
appreciated, I have no idea.

g++33 -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
`std::basic_istream<char, std::char_traits<char> >::seekg(long,
std::_Ios_Seekdir)'
../src/liboctinterp.so: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage'
../src/liboctinterp.so: undefined reference to
`std::__default_alloc_template<(bool)1, (int)0>::deallocate(void*,
unsigned)'
../src/liboctinterp.so: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_create(unsigned, std::allocator<char> const&)'
../src/liboctinterp.so: undefined reference to
`std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)'
../src/liboctinterp.so: undefined reference to
`std::basic_streambuf<char, std::char_traits<char>
>::_M_out_cur_move(long)'
collect2: ld returned 1 exit status


reply via email to

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