help-octave
[Top][All Lists]
Advanced

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

Re: undefined references while linking


From: Jaroslav Hajek
Subject: Re: undefined references while linking
Date: Tue, 21 Oct 2008 13:23:49 +0200

this should already be fixed in development version.

On Tue, Oct 21, 2008 at 12:26 PM, Marc Weber <address@hidden> wrote:
> Hi,
>
> I've tried updating octave to the latest version ( 
> ftp://ftp.octave.org/pub/octave/bleeding-edge/octave-2.9.6.tar.bz2 ),
> however when linking octave I'm getting
>
>         rm -f liboctinterp.so.3.1.51
>         ln -s liboctinterp.so liboctinterp.so.3.1.51
>        building main.o
>         gcc -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc
>        -DHAVE_CONFIG_H  -Wall -W -Wshadow -g -O2 main.c -o main.o
>        building octave
>         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,/nix/store/bbx8c8cdldr7cg0d1h6nfs57rrbblr05-octave-3.1.51/lib/octave-3.1.51
>        \
>                -loctinterp -loctave  -lcruft   \
>                     \
>                    \
>                  -lreadline  -lncurses -ldl -lm
>        
> -L/nix/store/7j1cv1kj53mikbzqycim3rmlc0ax0fx4-gcc-4.2.4/lib/gcc/x86_64-unknown-linux-gnu/4.2.4
>        
> -L/nix/store/7j1cv1kj53mikbzqycim3rmlc0ax0fx4-gcc-4.2.4/lib/gcc/x86_64-unknown-linux-gnu/4.2.4/../../../../lib64
>        
> -L/nix/store/7j1cv1kj53mikbzqycim3rmlc0ax0fx4-gcc-4.2.4/lib/gcc/x86_64-unknown-linux-gnu/4.2.4/../../..
>        -lgfortranbegin -lgfortran -lm
>        ../liboctave/liboctave.so: undefined reference to `zsyrk_'
>        ../libcruft/libcruft.so: undefined reference to `icmax1_'
>        ../libcruft/libcruft.so: undefined reference to `isamax_'
>        ../libcruft/libcruft.so: undefined reference to `icamax_'
>        ../liboctave/liboctave.so: undefined reference to `csyrk_'
>        collect2: ld returned 1 exit status
>        make[2]: *** [octave] Error 1
>        make[2]: Leaving directory
>        
> `/tmp/nix-build-wcmrd66jrjbmd5w3fwwl1pbn2kpbyn6m-octave-3.1.51.drv-0/octave-3.1.51/src'
>        make[1]: *** [src] Error 2
>        make[1]: Leaving directory
>        
> `/tmp/nix-build-wcmrd66jrjbmd5w3fwwl1pbn2kpbyn6m-octave-3.1.51.drv-0/octave-3.1.51'
>        make: *** [all] Error 2
>
>
> Do you have an idea which libraries do contain those symbols?
> I've tried compiling with these configure options:
>  --enable-readline --enable-dl --disable-static --enable-shared
> and with the octave lapack library.
>
> Marc
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>



-- 
RNDr. Jaroslav Hajek
computing expert
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]