[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 2.9.9 Compile Problem on Linux i686
From: |
Alex Zvoleff |
Subject: |
Re: Octave 2.9.9 Compile Problem on Linux i686 |
Date: |
Mon, 09 Oct 2006 14:21:46 -0700 |
After following Joe's suggestions, I have eliminated the metis error
(by recompiling CHOLMOD without using metis), but I still get the same
error message about the amd references. I have both the CAMD and AMD
header files in /usr/local/include/ufsparse/ along with the rest of the
SuiteSparse package. I tried "export LIBS=-lcamd" and then re-ran
configure, but I still get the below error when I run make.
I have read through the earlier messages regarding UMFPACK problems,
and would just like to add my support to an octave-supplied install
script for UMFPACK, or something similar, as it would greatly simplify
octave installation for those new to it. Unfortunately, I apparently
lack the requisite knowledge to write such a script.
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 -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 -lhdf5 -lz -lfrtbegin -lg2c -lm -lcamd
../liboctave/liboctave.so: undefined reference to `amd_free'
../liboctave/liboctave.so: undefined reference to `amd_printf'
../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$
Thanks,
Alex Zvoleff