help-octave
[Top][All Lists]
Advanced

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

Octave 2.9.9 Compile Problem on Linux i686


From: Alex Zvoleff
Subject: Octave 2.9.9 Compile Problem on Linux i686
Date: Mon, 09 Oct 2006 11:59:48 -0700

        I am trying to compile Octave 2.9.9 on my Linux PC with an intel
dual-core chip.  I have successfully compiled prior versions of octave,
but recently I installed UFSparse and am trying to compile 2.9.9 with
sparse matrix support.  Configure runs fine, and finds all of the
UFSparse libraries successfully.  However, when I make I get the
following error:

rm -f liboctinterp.so.2.9.9
ln -s liboctinterp.so liboctinterp.so.2.9.9
gcc -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 main.c -o main.o
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 -lcamd -o octave \
main.o \
-L../liboctave -L../libcruft -L../src -Wl,-rpath
-Wl,/usr/local/lib/octave-2.9.9 \
-loctinterp -loctave -lcruft \
-lumfpack -lamd -lcolamd \
-lcholmod -lccolamd -lcxsparse -llapack -lcblas -lf77blas -latlas \
-lfftw3 -lreadline -lncurses -ldl -lhdf5 -lz -lm -lcamd
-L/usr/lib/gcc/i486-linux-gnu/3.4.6
-L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib
-L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../.. -L/lib/../lib
-L/usr/lib/../lib -lcamd -lhdf5 -lz -lfrtbegin -lg2c -lm
../liboctave/liboctave.so: undefined reference to `amd_free'
../liboctave/liboctave.so: undefined reference to `METIS_NodeND'
../liboctave/liboctave.so: undefined reference to `amd_printf'
../liboctave/liboctave.so: undefined reference to
`METIS_NodeComputeSeparator'
../liboctave/liboctave.so: undefined reference to `amd_calloc'
../liboctave/liboctave.so: undefined reference to `amd_malloc'
../liboctave/liboctave.so: undefined reference to `amd_realloc'

collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/usr/local/src/octave-2.9.9/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/usr/local/src/octave-2.9.9'
make: *** [all] Error 2
address@hidden:/usr/local/src/octave-2.9.9$

It seems to be a problem with metis or camd, but I have both installed
(and configure seemed to find them) so I don't understand why it is not
working.  Any ideas?

Thanks for you help,
Alex Zvoleff



reply via email to

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