help-octave
[Top][All Lists]
Advanced

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

Re: Octave Compilation Error


From: Himanshu B. Dave
Subject: Re: Octave Compilation Error
Date: Thu, 25 Oct 2007 18:07:29 +0530

Thanks a lot for a quick response.
I down-loaded and installed complete ATLAS package, with
cblas and f77blas libraries, etc. Re-congiured and make'd
octave. Unfortunately still that error about missing "dormrz_"
SO I did the extreme hack: simply wrote a dummy.c file
with:
int dormrz_[100];
compiled it and included dummy.o in the  octave  make.
Now octave workes, except: the sparse matrix test fail
and give Segmentation Fault. Everything else, including GUI works.
All other tests are thro'.
Don't have enough time to investigate what is the  origin of  dormrz_
problem, or where is it hidden.
I am evaluating octave, scilab and MAYLAB for my teaching work and
can not spend enough time on straightening this out.
Due to the place where I got Segmentation Fault, shows that dormrz_
is related to sparse matrix functions. I do not need them immediately.

On 10/24/07, Muthiah Annamalai <address@hidden> wrote:

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]