(no subject)

Hello all,
I am going to install bro in my system but i get the following error when making:

FlowSrc.cc: In constructor FlowSocketSrc::FlowSocketSrc(const char*)':<br>FlowSrc.cc:142: error: errno’ was not declared in this scope
FlowSrc.cc:150: error: errno' was not declared in this scope<br>FlowSrc.cc: In member function virtual int FlowFileSrc::ExtractNextPDU()’:
FlowSrc.cc:171: error: errno' was not declared in this scope<br>FlowSrc.cc:179: error: errno’ was not declared in this scope
FlowSrc.cc:185: error: errno' was not declared in this scope<br>FlowSrc.cc: In constructor FlowFileSrc::FlowFileSrc(const char*)’:
FlowSrc.cc:217: error: errno' was not declared in this scope<br>make[3]: *** [FlowSrc.o] Error 1<br>make[3]: Leaving directory /root/Desktop/bro-1.4/src’
make[2]: *** [all] Error 2
make[2]: Leaving directory /root/Desktop/bro-1.4/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory /root/Desktop/bro-1.4’
make: *** [all] Error 2

Would you please help me if you know what is the problem?
Regards,
Raoufeh
|

Is that with Bro 1.5? On what platform are you? As a quick hack, you
could try adding "#include <errno.h>" at the beginning of that file.

Robin

I've missed the 1.4 in the output you sent. You could try 1.5, but
my guess is you'd see the same problem.

Robin