Octave Make failure

Coleman Kane cokane at cokane.org
Mon May 5 15:43:14 EDT 2008


On Mon, 2008-05-05 at 15:27 -0400, Labitt, Bruce wrote:
> OK.  Here is the previous line(s) that cause grief.
> 
> 
> gcc -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc
> -DHAVE_CONFIG_H  -Wall -W -Wshadow -g -O2 main.c -o main.o
> 
> g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc
> -DHAVE_CONFIG_H  -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.1 \
>         -loctinterp -loctave  -lcruft   \
>              \
>             \
>         -lfftw3 -lreadline  -lncurses -ldl -lz -lm
> -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 -lz -lfrtbegin -lg2c -lm
> ../src/liboctinterp.so: undefined reference to
> `__cxa_get_exception_ptr'
> ../src/liboctinterp.so: undefined reference to
> `std::basic_istream<char, std::char_traits<char> >::ignore()'
> collect2: ld returned 1 exit status
> make[2]: *** [octave] Error 1
> make[2]: Leaving directory
> `/home/BDLabitt/octavesource/octave-3.0.1/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/home/BDLabitt/octavesource/octave-3.0.1'
> make: *** [all] Error 2
> 
> Thanks for everyone's help so far...
> 
> Regards,
> Bruce

From the above line, it looks like you are performing the link against
the GCC 3.4.6 libraries. I seem to remember you mentioned using 4.1.2 or
so earlier... this might be one of the problems.

What is the output of?:
g++ -v

-- 
Coleman Kane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20080505/d0ac26ea/attachment.bin 


More information about the gnhlug-discuss mailing list