compilation error on MacOS 10.15.4 with postgresql 12.3_2
might not report on all devices. still need to investigate.
it was introduces by upgrading to postgresql 12.x, but it was fixed partially. initially it was failing for multiple libraries. currently the only affected lib is the one in src/lib/dhcpsrv/tests/. might be related to include / link order or dependencies.
CXXLD libdhcpsrv_unittests
Undefined symbols for architecture x86_64:
"___darwin_check_fd_set_overflow", referenced from:
(anonymous namespace)::D2ClientMgrTest::selectCheck(bool) in libdhcpsrv_unittests-d2_udp_unittest.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure command:
LDFLAGS="-L/usr/local/opt/openssl/lib" DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/opt/sysrepo/lib:/opt/libyang/lib" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" PATH="/usr/local/opt/sphinx-doc/bin:/usr/local/Cellar/bison/3.6.2/bin:/opt/sysrepo/bin:$PATH" ./configure --verbose --with-mysql --with-pgsql --with-cql=/Users/razvan/isc/releases/kea-1.7.8-rc1/kea-1.7.8-work/tools/cql_config --enable-cql-static-lib --with-sysrepo=/Users/razvan/isc/git/kea-work/tools/sysrepo_config --with-freeradius=/opt/freeradius-client --with-gtest-source=/Users/razvan/isc/git/googletest --enable-generate-parser --enable-perfdhcp --enable-generate-messages --enable-shell --enable-generate-docs --enable-logger-checks --enable-debug --prefix=/opt/kea-1.7.8-work --with-openssl --with-benchmark-source=/Users/razvan/isc/git/benchmark
config report file: config.report
config log file: config.log