Hello.
I made try to build Web Polygraph 2.7.6 on FreeBSD 4.8-RC.
And during Make, I have encountered the error in src/xstd/IpSocket.cc.
c++ -o IpSocket.o -c IpSocket.cc -g -O3 -Wall -Wwrite-strings -Woverloaded-virtu
al -I../.. -I.. -DHAVE_CONFIG_H
In file included from IpSocket.cc:25:
/usr/include/netinet/ip_dummynet.h:348: `IFNAMSIZ' was not declared in this scop
e
*** Error code 1
(snip)
"#include <netinet/ip_dummynet.h> " seems to need "#include <net/if.h>"
before itself.
*** src/xstd/IpSocket.cc.orig Sun Jul 29 10:18:52 2001
--- src/xstd/IpSocket.cc Fri Mar 7 16:50:58 2003
***************
*** 22,27 ****
--- 22,28 ----
#include <net/route.h>
#include <sys/param.h>
#include <sys/mbuf.h>
+ #include <net/if.h>
#include <netinet/ip_dummynet.h>
#endif
Because this problem is caused by a modification of
"src/sys/netinet/ip_dummynet.h" in RELENG_4
("s/if_name[16]/if_name[IFNAMSIZ]") on version 1.10.2.8,
IMHO, this fix will be needed on 4.8-RELEASE too.
--- yutaka sasaki
This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:26 MST