Cholmod.a error

Yan Wu wuy at ihpc.a-star.edu.sg
Fri Apr 11 12:41:00 CDT 2008


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.



More information about the Help-octave mailing list