Skip to Content.
Sympa Menu

ndt-users - RC4 for NDT 3.7.0 questions

Subject: ndt-users list created

List archive

RC4 for NDT 3.7.0 questions


Chronological Thread 
  • From: Ralf Hildebrandt <>
  • To:
  • Subject: RC4 for NDT 3.7.0 questions
  • Date: Mon, 20 Apr 2015 12:55:53 +0200

After I removed all old web100 includes and libraries, I'm trying to
build NDT 3.7.0 using the web10g userland.

The build process fails since "jsonSupport" is undefined:


make[2]: Entering directory /usr/src/web10g/ndt-3.7.0-rc4/src'
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
-Wno-unused-variable -Wno-unused-function -pedantic -Wall
-fno-strict-aliasing -std=gnu99 -DNDEBUG -O2 -DEXPERIMENTAL_ENABLED
-DDATABASE_ENABLED -MT testoptions_unit_tests-web100-util.o -MD -MP
-MF .deps/testoptions_unit_tests-web100-util.Tpo -c -o
testoptions_unit_tests-web100-util.o test -f 'web100-util.c' || echo
'./'web100-util.c
web100-util.c: In function ‘tcp_stat_get_data’:
web100-util.c:689:62: error: ‘jsonSupport’ undeclared (first use in
this function)
send_json_message(ctlsock, TEST_MSG, line, strlen(line),
jsonSupport, JSON_SINGLE_VALUE);
^

web100-util.c:689:62:
note: each undeclared identifier is reported only once for each
function it appears in
web100-util.c: In function ‘tcp_stat_middlebox’:
web100-util.c:312:11: warning: ignoring return value of ‘system’,
declared with attribute warn_unused_result [-Wunused-result]
system("echo 1 > /proc/sys/net/ipv4/route/flush");
^
make[2]: *** [testoptions_unit_tests-web100-util.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


./configure resulted in:

***********************************
*** Network Diagnostic Tool ***
***********************************
* configured modules *
***********************************


*** Client Tools - complete
* web100clt: YES
* Tcpbw100.jar: YES
* flash-client: YES

*** Server Tools - incomplete
* fakewww: NO (disabled by default)
* web100srv: NO (missing web100 library)
* web10gsrv: YES

*** Administrative Tools - incomplete
* analyze: NO (missing web100 library)
* viewtrace: NO (missing web100 library)
* tr-mkmap: NO (missing web100 library)
* genplot: NO (missing web100 library)
* genplot10g: YES
* JAnalyze.jar: YES
* Admin.class: YES

I wonder why the flash client is being built by default...

--
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


  • RC4 for NDT 3.7.0 questions, Ralf Hildebrandt, 04/20/2015

Archive powered by MHonArc 2.6.16.

Top of Page