Date: Mon, 30 Apr 2018 09:58:54 +0200 From: Rainer Hurling <rhurlin@gwdg.de> To: <freebsd-fortran@freebsd.org> Subject: Re: problem building suitesparse Message-ID: <e5cc31d8-1112-e4d6-1277-dfc224ddc7e1@gwdg.de> In-Reply-To: <23270.20739.725330.745891@jerusalem.litteratus.org> References: <23270.20739.725330.745891@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e5cc31d8-1112-e4d6-1277-dfc224ddc7e1>