[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cholmod.a error
From: |
Yan Wu |
Subject: |
Cholmod.a error |
Date: |
Fri, 11 Apr 2008 10:41:00 -0700 (PDT) |
Hi.
I am compiling Octave 3.0 on Opteron. I have included Suitesparse in the
compilation with the following flags:
--enable-shared CPPFLAGS='-I/scratch/octave/include
-I/scratch/octave/include/suitesparse' LDFLAGS='-L/scratch/octave/lib'
--with-blas='-L/scratch/octave/lib -lgoto -lpthread'
However, the following error was generated during make:
/usr/bin/ld: /scratch/octave/lib/libcholmod.a(cholmod_common.o): relocation
R_X86_64_32S against `malloc' can not be used when making a shared object;
recompile with -fPIC
/scratch/octave/lib/libcholmod.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [liboctave.so] Error 1
make[2]: Leaving directory
`/HOME01/WORK/work01/octave/octave-3.0.0/liboctave'
Does anyone know why?
Thank you,
Yan
--
View this message in context:
http://www.nabble.com/Cholmod.a-error-tp16628174p16628174.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Cholmod.a error,
Yan Wu <=