help-octave
[Top][All Lists]
Advanced

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

Re: Problems to build octave 2.9.7


From: Joe Koski
Subject: Re: Problems to build octave 2.9.7
Date: Mon, 28 Aug 2006 13:02:26 -0600
User-agent: Microsoft-Entourage/11.2.5.060620

on 8/28/06 11:28 AM, frank wang at address@hidden wrote:

Hi,
 
Hi,
 
I have to admit it is too tough to build octave with ufsparse matrix after spend 3 days trying to compile octave 2.9.7. I have to build AMD, CAMD, CHOLMOD, CCOLMAND, COLAMD, CXSparse, metic-4.1.0, lapack, GotoBlas. After I copied all *.a to use/local/lib and *.h tp usr/local/include/ufsparse, configure can find all necessary pieces. I have copied all *.h in /usr/local/include/ufsparse except of cholmod. I copied the *.h in both /usr/local/include/cholmod and /usr/local/include/ufsparse/cholmod. But when I run make, I got following errors:
 
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,/home/usr/local/bin/lib/octave- 2.9.7 \
-loctinterp -loctave  -lcruft    \
 -lumfpack -lamd -lcolamd \
-lcholmod -lmetis -lccolamd -lcxsparse  \
 -lreadline  -lncurses -ldl -lm  -L/usr/lib/gcc/i586-suse-linux/4.1.0 -L/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/lib -L/usr/lib/gcc/i586-suse-linux/4.1.0/../../.. -lgfortranbegin -lgfortran -lm -lgcc_s
../liboctave/liboctave.so: undefined reference to `camd_realloc'
../liboctave/liboctave.so: undefined reference to `camd_printf'
../liboctave/liboctave.so: undefined reference to `camd_calloc'
../liboctave/liboctave.so: undefined reference to `camd_2'
../liboctave/liboctave.so: undefined reference to `camd_free'
../liboctave/liboctave.so: undefined reference to `camd_malloc'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/home/frank/octvae/octave- 2.9.7/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/frank/octvae/octave-2.9.7'

 Please help me to fix this.

Thanks

 

Frank

Frank,

On my Mac which uses the bash shell, I did an

  export LIBS=-lcamd

before I configured. That adds libcamd.a to the link and resolves the missing camd routines.

Joe

reply via email to

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