On Sat, Mar 26, 2011 at 10:15 AM, Cyril Brulebois <k...@debian.org> wrote:
> Source: ns2 > Version: 2.35~RC6-3 > Severity: serious > Justification: FTBFS > User: debian-bsd@lists.debian.org > Usertags: kfreebsd > > Hi, > > your package no longer builds on kfreebsd-*: > | g++ -c -g -O2 -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK > -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL > -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H > -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H > -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE > -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl > -I/usr/include/tcl8.5/tcl-private/generic > -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp > -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile > -I./trace -I./routing -I./tools -I./classifier -I./mcast > -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr > -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv > -I./satellite -I./wpan -o emulate/net-pcap.o emulate/net-pcap.cc > | emulate/net-pcap.cc: In member function 'virtual int > PcapLiveNetwork::open(int, const char*)': > | emulate/net-pcap.cc:537:19: error: 'BIOCIMMEDIATE' was not declared in > this scope > | make[1]: *** [emulate/net-pcap.o] Error 1 > > Full build logs: > https://buildd.debian.org/status/package.php?p=ns2&suite=sid > > Please get in touch with debian-bsd@ if you need help. > > KiBi. > > > I searched for it and got some information. It said that In BSD's pcap.h, it do not include <pcap/bpf.h>, but linux one do it. What I want to know is that, why they are not the same ? Both them are Debian GNU/* -- YunQiang Su