Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2018 19:10:59 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        fortran@FreeBSD.org
Subject:   problem building suitesparse
Message-ID:  <23270.20739.725330.745891@jerusalem.litteratus.org>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23270.20739.725330.745891>