help-octave
[Top][All Lists]
Advanced

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

Re: Octave Compilation Error


From: Muthiah Annamalai
Subject: Re: Octave Compilation Error
Date: Wed, 24 Oct 2007 10:03:09 -0700

On Wed, 2007-10-24 at 14:13 +0530, Himanshu B. Dave wrote:
> towards the end of compilation:
> ------------------------------
> --------------------------------------------------------------------------------------------
> make[3]: `libcruft.so.2.9.15' is up to date. 
> make[3]: Leaving directory `/home/hbd2/octave- 2.9.15/libcruft'
> make[2]: Leaving directory `/home/hbd2/octave-2.9.15/libcruft'
> make -C liboctave all
> make[2]: Entering directory `/home/hbd2/octave-2.9.15/liboctave'
> make[2]: Leaving directory `/home/hbd2/octave- 2.9.15/liboctave'
> make -C src all
> make[2]: Entering directory `/home/hbd2/octave-2.9.15/src'
> making defaults.h from defaults.h.in
> defaults.h is unchanged
> making oct-conf.h from oct-conf.h.in
> oct-conf.h is unchanged
> g++  -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-2.9.15 \
>         -loctinterp -loctave  -lcruft    \
>              \
>             \ 
>          -lreadline  -lncurses -ldl -lm
> -L/usr/lib/gcc/i486-slackware-linux/4.1.2
> -L/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/lib
>  -L/usr/lib/gcc/i486-slackware-linux/4.1.2/../../.. -lgfortranbegin 
> -lgfortran -lm 
> ../libcruft/libcruft.so: undefined reference to `dormrz_'
> collect2: ld returned 1 exit status
> make[2]: *** [octave] Error 1
> make[2]: Leaving directory `/home/hbd2/octave-2.9.15/src'
> make[1]: *** [src] Error 2 
> make[1]: Leaving directory `/home/hbd2/octave-2.9.15'
> make: *** [all] Error 2
> address@hidden:~/octave-2.9.15:$
> ----------------------------------------------------------------------------------------------------------------------
>  
> CPU: Intel Celeron 2.84 GHz
> Slackware 12.0 Linux kernel 2.6.22

AFAIK, the only problems I faced were that LAPACK, and BLAS that
gcc-4.1 picks up by default turned out to be the ones compiled by
g77 or something. So, following instructions posted at,
http://www.cae.wisc.edu/pipermail/help-octave/2007-October/006038.html
you can build your LAPACK, and BLAS.

Next using a configure script like,
/configure --prefix=$HOME/GCC42/ --with-f77=gfortran --enable-shared
--disable-static --with-blas=$HOME/GCC42/lib/libblas.a
--with-lapack=$HOME/GCC42/lib/liblapack.a

pointing your Makefiles to newly build LAPACK and BLAS.

Cheers,
Muthu






reply via email to

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