octave-maintainers
[Top][All Lists]
Advanced

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

Re: Missing lib with Suitesparse 4.4.5


From: Marco Atzeri
Subject: Re: Missing lib with Suitesparse 4.4.5
Date: Wed, 28 Oct 2015 12:42:01 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0



On 27/10/2015 21:02, John W. Eaton wrote:
On 10/27/2015 01:29 PM, Marco Atzeri wrote:
Building latest dev source with Cygwin 64, I was forced to

make LIBS="-lsuitesparseconfig"

to complete the build.

It seems that the test for additional library for UMFPACK
is not effective as the problem is also here:

liboctave/array/.libs/libarray.a(liboctave_array_libarray_la-CSparse.o):CSparse.cc:(.rdata$.refptr.


SuiteSparse_hypot[.refptr.SuiteSparse_hypot]+0x0): undefined reference
to `SuiteSparse_hypot'
liboctave/array/.libs/libarray.a(liboctave_array_libarray_la-CSparse.o):CSparse.cc:(.rdata$.refptr.


SuiteSparse_divcomplex[.refptr.SuiteSparse_divcomplex]+0x0): undefined
reference to `SuiteSparse_di
vcomplex'
liboctave/array/.libs/libarray.a(liboctave_array_libarray_la-CSparse.o):CSparse.cc:(.rdata$.refptr.


SuiteSparse_config[.refptr.SuiteSparse_config]+0x0): undefined reference
to `SuiteSparse_config'
collect2: error: ld returned 1 exit status
Makefile:13064: recipe for target 'liboctave/liboctave.la' failed

As almost all the SuiteSparse libraries are now linked to
suitesparseconfig, should be better to check for its existence ?

The configure.ac file seems to already include a check for the
suitesparseconfig library.  Is that test not working properly for Cygwin?

See also the m4/acinclude.m4 file for the
OCTAVE_UMFPACK_NEED_SUITESPARSE_TIME macro.

jwe



the test seems not effective, at least on cygwin 64bit.

configure:39829: checking whether UMFPACK needs SuiteSparse_time function
configure:39872: gcc -o conftest.exe -g -O2 -fopenmp -Wl,-no-undefined -L/usr/local/lib conftest.c -lumfpack -lamd -lblas -L/usr/local/lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.9.3 -L/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../.. -lm -lgfortran -lquadmath -lcygwin -ladvapi32 -lshell32 -luser32 -lm >&5
configure:39872: $? = 0
configure:39887: result: no




reply via email to

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