On Tue, Oct 7, 2008 at 2:08 PM, Jordi Gutiérrez Hermoso
<address@hidden> wrote:
Thank you. Unfortunately I have been unable to compile SuiteSparse on
Debian lenny. I am getting linking problems with unresolved symbols to
METIS classes, even though I am quite certain that I decided to
compile without METIS, setting both CHOLMOD_CONFIG = -DNPARTITION and
SPQR_CONFIG = -DNPARTITION. There was another issue with an inclusion
of memcpy that's declared in cstring or string.h but the header wasn't
included (in the SPQR module).
I am a little tired right now to try to fix the linking problems (the
other one was trivial), so if you have any idea why this happens,
thank you:
spqr_1colamd.cpp:(.text._Z12spqr_1colamdIdEiidlP21cholmod_sparse_structPPlS3_S3_PS1_S2_S2_P21cholmod_common_struct[int
spqr_1colamd<double>(int, double, long, cholmod_sparse_struct*,
long**, long**, long**, cholmod_sparse_struct**, long*, long*,
cholmod_common_struct*)]+0xfb0): undefined reference to
`cholmod_l_metis'
Hi Jordi,
I think you have to uncomment these sections in UFconfig/UFconfig.mk
# If you use CHOLMOD_CONFIG = -DNPARTITION then you must use the following
# options:
METIS_PATH =
METIS =
The other thing, for my case, I need to enable -fPIC in CFLAGS for metis, and suitesparse. Otherwise during make in Octave, there will be error asking me to recompile with -fPIC.