summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d3a3f56)
raw | patch | inline | side by side (parent: d3a3f56)
author | Florian Forster <octo@collectd.org> | |
Thu, 11 Jun 2015 13:35:43 +0000 (14:35 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 25 May 2016 15:47:27 +0000 (17:47 +0200) |
"make check" fails on Solaris because libraries are missing:
CCLD test_common
Undefined first referenced
symbol in file
kc ./.libs/libcommon.a(common.o)
kstat_data_lookup ./.libs/libcommon.a(common.o)
kstat_lookup ./.libs/libcommon.a(common.o)
kstat_read ./.libs/libcommon.a(common.o)
getaddrinfo ./.libs/libcommon.a(common.o)
freeaddrinfo ./.libs/libcommon.a(common.o)
gai_strerror ./.libs/libcommon.a(common.o)
ld: fatal: symbol referencing errors. No output written to test_common
collect2: error: ld returned 1 exit status
(cherry picked from commit 6213557b1d5c79a60e9c4322263836ca6066aa0e)
CCLD test_common
Undefined first referenced
symbol in file
kc ./.libs/libcommon.a(common.o)
kstat_data_lookup ./.libs/libcommon.a(common.o)
kstat_lookup ./.libs/libcommon.a(common.o)
kstat_read ./.libs/libcommon.a(common.o)
getaddrinfo ./.libs/libcommon.a(common.o)
freeaddrinfo ./.libs/libcommon.a(common.o)
gai_strerror ./.libs/libcommon.a(common.o)
ld: fatal: symbol referencing errors. No output written to test_common
collect2: error: ld returned 1 exit status
(cherry picked from commit 6213557b1d5c79a60e9c4322263836ca6066aa0e)
src/daemon/Makefile.am | patch | blob | history |
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index 877d6b75a3eb89463fdf774317b6cb31beca1ca9..88fc7129598071150554b150d9a177b28265a242 100644 (file)
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
TESTS = test_common test_utils_avltree test_utils_heap
test_common_SOURCES = common_test.c ../testing.h
-test_common_LDADD = libcommon.la libplugin_mock.la
+test_common_LDADD = libcommon.la libplugin_mock.la $(COMMON_LIBS)
test_utils_avltree_SOURCES = utils_avltree_test.c ../testing.h
test_utils_avltree_LDADD = libavltree.la $(COMMON_LIBS)