[Bro] include icmp6.h problem
Vern Paxson
vern at icir.org
Sat May 26 12:38:49 PDT 2007
> I have just added "#include <netinet/icmp6.h>" in net_util.h and I get
> errors not (apparently) related to this change :
> ...
> ../src/dns_pac.h:328: error: expected ',' or '...' before '.' token
> ...
> Does anyone have an idea how to solve/debug this problem ?
My first suggestion would be to compile using g++ -E to get the output
from the preprocessor (sent to stdout). Often a bizarre problem like this
after including a header is because the header introduces a #define that
conflicts with a name used elsewhere in a different context.
Vern
More information about the Bro
mailing list