ndt-users - Re: Release Candidate for NDT 3.7.0
Subject: ndt-users list created
List archive
- From: Ralf Hildebrandt <>
- To: Aaron Brown <>
- Cc: "" <>
- Subject: Re: Release Candidate for NDT 3.7.0
- Date: Mon, 20 Apr 2015 15:30:25 +0200
> Try this patch and see if it fixes those other build issues:
> http://ndb1.internet2.edu/~aaron/0001-Some-fixes-for-websockets-unit-tests-with-web10g-sup.patch
Applied it. Still bailing out:
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/pcap
-I/usr/local/include/estats '-DBASEDIR="/usr/local/ndt"'
-DFORCE_WEB100 -DUSE_WEB100SRV_ONLY_AS_LIBRARY -Wall -Werror
-Wno-unused-variable -Wno-unused-function -pedantic -Wall
-fno-strict-aliasing -std=gnu99 -DNDEBUG -O2 -DEXPERIMENTAL_ENABLED
-DDATABASE_ENABLED -MT testoptions_unit_tests-test_c2s_srv.o -MD -MP
-MF .deps/testoptions_unit_tests-test_c2s_srv.Tpo -c -o
testoptions_unit_tests-test_c2s_srv.o test -f 'test_c2s_srv.c' || echo
'./'test_c2s_srv.c
test_c2s_srv.c: In function ‘test_c2s’:
test_c2s_srv.c:279:11: error: ignoring return value of ‘pipe’,
declared with attribute warn_unused_result [-Werror=unused-result]
pipe(mon_pipe);
^
cc1: all warnings being treated as errors
make[2]: *** [testoptions_unit_tests-test_c2s_srv.o]
Error 1
make[2]: Leaving directory /usr/src/web10g/ndt-3.7.0-rc4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /usr/src/web10g/ndt-3.7.0-rc4'
make: *** [all] Error 2
Once I removed "-Werror" from the Makefile, compilation proceedes to
this point:
# make
make all-recursive
make[1]: Entering directory /usr/src/web10g/ndt-3.7.0-rc4'
Making all in src
make[2]: Entering directory /usr/src/web10g/ndt-3.7.0-rc4/src'
gcc -pedantic -Wall -fno-strict-aliasing -std=gnu99 -DNDEBUG -O2
-DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -o testoptions_unit_tests
testoptions_unit_tests-testoptions_unit_tests.o
testoptions_unit_tests-testoptions.o
testoptions_unit_tests-unit_testing.o
testoptions_unit_tests-heuristics.o testoptions_unit_tests-jsonutils.o
testoptions_unit_tests-logging.o testoptions_unit_tests-mrange.o
testoptions_unit_tests-ndt_odbc.o
testoptions_unit_tests-ndtptestconstants.o
testoptions_unit_tests-network.o testoptions_unit_tests-protocol.o
testoptions_unit_tests-runningtest.o
testoptions_unit_tests-strlutils.o
testoptions_unit_tests-test_c2s_srv.o
testoptions_unit_tests-test_meta_srv.o
testoptions_unit_tests-test_mid_srv.o
testoptions_unit_tests-test_s2c_srv.o
testoptions_unit_tests-test_sfw_srv.o testoptions_unit_tests-utils.o
testoptions_unit_tests-web100-pcap.o
testoptions_unit_tests-web100-util.o
testoptions_unit_tests-web100srv.o testoptions_unit_tests-websocket.o
-lpcap -lestats -lm -lI2util -lpthread -lz -ljansson -lssl -lcrypto
-lI2util
testoptions_unit_tests-testoptions.o: In function findCwndPeaks':
testoptions.c:(.text+0x14): undefined reference to web10g_find_val'
testoptions_unit_tests-testoptions.o: In function setCwndlimit':
testoptions.c:(.text+0xc6a): undefined reference to web10g_get_val'
testoptions_unit_tests-test_c2s_srv.o: In function test_c2s':
test_c2s_srv.c:(.text+0x470): undefined reference to
web10g_connection_from_socket'
testoptions_unit_tests-test_mid_srv.o: In function test_mid':
test_mid_srv.c:(.text+0x36c): undefined reference to
web10g_connection_from_socket'
testoptions_unit_tests-test_s2c_srv.o: In function test_s2c':
test_s2c_srv.c:(.text+0x449): undefined reference to
web10g_connection_from_socket'
test_s2c_srv.c:(.text+0x737): undefined reference to web10g_find_val'
test_s2c_srv.c:(.text+0x759): undefined reference to web10g_find_val'
test_s2c_srv.c:(.text+0xd5f): undefined reference to
web10g_connection_from_socket'
testoptions_unit_tests-test_sfw_srv.o: In function test_sfw_srv':
test_sfw_srv.c:(.text+0x2bc): undefined reference to
web10g_connection_from_socket'
test_sfw_srv.c:(.text+0x2f0): undefined reference to
web10g_get_remote_addr'
test_sfw_srv.c:(.text+0x305): undefined reference to web10g_get_val'
test_sfw_srv.c:(.text+0x324): undefined reference to web10g_get_val'
testoptions_unit_tests-web100-util.o: In function
print_10gvar_renamed.isra.0.constprop.1':
web100-util.c:(.text+0x27): undefined reference to web10g_find_val'
testoptions_unit_tests-web100-util.o: In function tcp_stat_middlebox':
web100-util.c:(.text+0x3bb): undefined reference to web10g_get_val'
web100-util.c:(.text+0x5a7): undefined reference to web10g_find_val'
web100-util.c:(.text+0x5c0): undefined reference to web10g_find_val'
web100-util.c:(.text+0x623): undefined reference to web10g_get_val'
testoptions_unit_tests-web100-util.o: In function
tcp_stat_get_data_recv':
web100-util.c:(.text+0x922): undefined reference to
web10g_get_remote_addr'
web100-util.c:(.text+0xab0): undefined reference to
web10g_get_remote_addr'
testoptions_unit_tests-web100-util.o: In function tcp_stat_get_data':
web100-util.c:(.text+0xc7d): undefined reference to web10g_find_val'
web100-util.c:(.text+0xca6): undefined reference to web10g_find_val'
web100-util.c:(.text+0xccf): undefined reference to web10g_find_val'
web100-util.c:(.text+0xd6c): undefined reference to web10g_find_val'
web100-util.c:(.text+0xe74): undefined reference to web10g_find_val'
testoptions_unit_tests-web100-util.o:web100-util.c:(.text+0x137e):
more undefined references to web10g_find_val' follow
testoptions_unit_tests-web100srv.o: In function run_test':
web100srv.c:(.text+0xe16): undefined reference to
web10g_connection_from_socket'
collect2: error: ld returned 1 exit status
make[2]: *** [testoptions_unit_tests] Error 1
make[2]: Leaving directory /usr/src/web10g/ndt-3.7.0-rc4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /usr/src/web10g/ndt-3.7.0-rc4'
make: *** [all] Error 2
--
Ralf Hildebrandt Charite Universitätsmedizin Berlin
Campus Benjamin Franklin
http://www.charite.de Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
- Release Candidate for NDT 3.7.0, Aaron Brown, 04/17/2015
- Re: Release Candidate for NDT 3.7.0, Ralf Hildebrandt, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Aaron Brown, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Ralf Hildebrandt, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Aaron Brown, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Ralf Hildebrandt, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Aaron Brown, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Ralf Hildebrandt, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Aaron Brown, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Ralf Hildebrandt, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Aaron Brown, 04/20/2015
- Re: Release Candidate for NDT 3.7.0, Ralf Hildebrandt, 04/20/2015
Archive powered by MHonArc 2.6.16.