problem building suitesparse
Rainer Hurling
rhurlin at gwdg.de
Mon Apr 30 09:04:52 UTC 2018
Am 30.04.2018 um 01:10 schrieb Robert Huff:
>
> Hello:
> On a system running:
>
> FreeBSD 12.0-CURRENT #0 r331659: Thu Mar 29 12:31:36 EDT 2018 amd64
>
> when I try to upgrade to the latest version everything goes
> fine until:
>
>
> a - amd_l_preprocess.o
> /usr/local/bin/ranlib libamd.a
> gcc6 -Wl,-rpath=/usr/local/lib/gcc6 -L/usr/local/lib/gcc6 -B/usr/local/bin -L/usr/local/lib -fstack-protector -Wl,-rpath=/usr/local/lib/gcc6 -L/usr/local/lib/gcc6 -L/data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib -L/data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib -L/data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib -L/data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib -shared -Wl,-soname -Wl,libamd.so.2 -Wl,--no-undefined amd_i_aat.o amd_i_1.o amd_i_2.o amd_i_dump.o amd_i_postorder.o amd_i_defaults.o amd_i_post_tree.o amd_i_order.o amd_i_control.o amd_i_info.o amd_i_valid.o amd_i_preprocess.o amd_l_aat.o amd_l_1.o amd_l_2.o amd_l_dump.o amd_l_postorder.o amd_l_defaults.o amd_l_post_tree.o amd_l_order.o amd_l_control.o amd_l_info.o amd_l_valid.o amd_l_preprocess.o -o /data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib/libamd.so.2.4.6 -lm -lsuitesparseconfig
> amd_i_control.o: In function `amd_control':
> amd_control.c:(.text+0x18): undefined reference to `SuiteSparse_config'
> amd_control.c:(.text+0x123): undefined reference to `SuiteSparse_config'
> amd_i_info.o: In function `amd_info':
> amd_info.c:(.text+0xc): undefined reference to `SuiteSparse_config'
> amd_l_control.o: In function `amd_l_control':
> amd_control.c:(.text+0x18): undefined reference to `SuiteSparse_config'
> amd_control.c:(.text+0x123): undefined reference to `SuiteSparse_config'
> amd_l_info.o:amd_info.c:(.text+0xc): more undefined references to `SuiteSparse_config' follow
> collect2: error: ld returned 1 exit status
>
> I have no idea what might be causing this; the "config" phase
> looks OK. Full build log is available on request.
> Help, please?
>
>
> Respectfully,
>
>
> Robert Huff
Hi Robert,
That is in discussion on bugzilla[1][2]. For most people it seemed to
help to deinstall old version before building and installing the new one.
In my case, there are three 12.0-CURRENT boxes, and for two of them it
did not help.
HTH,
Rainer
P.S.: Was it intended to use the fortran list for this question?
[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227791
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227795
More information about the freebsd-fortran
mailing list