help-octave
[Top][All Lists]
Advanced

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

Re: compiling octave problems


From: Jaroslav Hajek
Subject: Re: compiling octave problems
Date: Fri, 26 Feb 2010 13:56:32 +0100

On Fri, Feb 26, 2010 at 1:46 PM, Mag Gam <address@hidden> wrote:
> I have made several attempts to compile octave. The make portion is
> keep failing at:
>
> ./configure --prefix=/apps CPPFLAGS=-I/apps/include LDFLAGS=-L/apps/lib
>
> warning: run make in parent directory to update libraries
> make[3]: Leaving directory `/usr/src/octave-3.2.4/libcruft/villad'
> make libcruft.so.3.2.4
> make[3]: Entering directory `/usr/src/octave-3.2.4/libcruft'
> make[3]: `libcruft.so.3.2.4' is up to date.
> make[3]: Leaving directory `/usr/src/octave-3.2.4/libcruft'
> make[2]: Leaving directory `/usr/src/octave-3.2.4/libcruft'
> make -C liboctave all
> make[2]: Entering directory `/usr/src/octave-3.2.4/liboctave'
> make[2]: Leaving directory `/usr/src/octave-3.2.4/liboctave'
> make -C src all
> make[2]: Entering directory `/usr/src/octave-3.2.4/src'
> making defaults.h from defaults.h.in
> defaults.h is unchanged
> make[2]: --cppflags: Command not found
> make[2]: --libs: Command not found
> making oct-conf.h from oct-conf.h.in
> oct-conf.h is unchanged
> g++ -I//apps/include  -I. -I.. -I../liboctave -I../src
> -I../libcruft/misc  -DHAVE_CONFIG_H  -Wall -W -Wshadow
> -Wold-style-cast -Wformat -g -O2 -pthread -rdynamic \
>        -L..  -fPIC -L//apps/lib -o octave \
>        main.o  \
>        -L../liboctave -L../libcruft -L../src -Wl,-rpath
> -Wl,/apps/lib/octave-3.2.4 \
>        -loctinterp -loctave  -lcruft   \
>             \
>            \
>            \
>        -lX11  -lreadline  -lncurses -ldl -lhdf5 -lz -lm  -L//apps/lib
> -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6
> -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64
> -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../.. -L/lib/../lib64
> -L/usr/lib/../lib64 -lhdf5 -lz -lfrtbegin -lg2c -lm
> ../src/liboctinterp.so: undefined reference to
> `std::basic_istream<char, std::char_traits<char> >::ignore()'
> ../src/liboctinterp.so: undefined reference to `__cxa_get_exception_ptr'
> collect2: ld returned 1 exit status
> make[2]: *** [octave] Error 1
> make[2]: Leaving directory `/usr/src/octave-3.2.4/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/usr/src/octave-3.2.4'
> make: *** [all] Error 2
>
>
> Anything I should look into?
>

The easy advice is don't use gcc 3.x, which you seem to do. Upgrade
all parts (incl. Fortran) to 4.2+


-- 
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]