help-octave
[Top][All Lists]
Advanced

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

Re: Compiling an old version with an old compiler


From: Jaroslav Hajek
Subject: Re: Compiling an old version with an old compiler
Date: Sat, 10 Apr 2010 20:50:55 +0200

On Sat, Apr 10, 2010 at 12:06 AM, spasmous <address@hidden> wrote:
> 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
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>

I see references to GCC 3.4.6 runtime library in the compile
statements. Are you sure that you don't mix different gcc versions?
What's your g77/gfortran version?


-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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