Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] Issue 167 in ndt: current svn checkout doesn't compile

Subject: NDT-DEV email list created

List archive

[ndt-dev] Issue 167 in ndt: current svn checkout doesn't compile


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] Issue 167 in ndt: current svn checkout doesn't compile
  • Date: Tue, 06 Jan 2015 15:00:14 +0000

Status: New
Owner: ----
Labels: Type-Defect Severity-Medium

New issue 167 by
:
current svn checkout doesn't compile
https://code.google.com/p/ndt/issues/detail?id=167

make fails with:



Making all in src
make[2]: Entering directory `/usr/src/web10g/ndt-web10g/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/web100 -I/usr/include/pcap -I/usr/local/include/estats -I../I2util '-DBASEDIR="/usr/local/ndt"' -pedantic -Wall -fno-strict-aliasing -std=gnu99 -DNDEBUG -O2 -DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -MT web10gsrv-web100-util.o -MD -MP -MF .deps/web10gsrv-web100-util.Tpo -c -o web10gsrv-web100-util.o `test -f 'web100-util.c' || echo './'`web100-util.c
web100-util.c: In function ‘tcp_stat_init’:
web100-util.c:136:10: error: ‘TOTAL_INDEX_MAX’ undeclared (first use in this function)
return TOTAL_INDEX_MAX;
^
web100-util.c:136:10: note: each undeclared identifier is reported only once for each function it appears in
web100-util.c: In function ‘tcp_stat_get_data’:
web100-util.c:679:9: warning: unused variable ‘str’ [-Wunused-variable]
char *str = NULL;
^
web100-util.c: In function ‘CwndDecrease’:
web100-util.c:1081:8: warning: unused variable ‘buff’ [-Wunused-variable]
char buff[256];
^
web100-util.c: In function ‘tcp_stat_init’:
web100-util.c:138:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
web100-util.c: In function ‘tcp_stat_middlebox’:
web100-util.c:308: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]: *** [web10gsrv-web100-util.o] Error 1
make[2]: Leaving directory `/usr/src/web10g/ndt-web10g/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/web10g/ndt-web10g'
make: *** [all] Error 2


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



Archive powered by MHonArc 2.6.16.

Top of Page