Hi!
I am trying to build Bro 1.2.1 (tarball from website) on a freshly installed up-to-date Debian Lenny machine. I successfully ran 'configure'. However, 'make' terminates with the following screen output:
../src/builtin-func.y: In function âchar* concat(char*, char*)â:
../src/builtin-func.y:78: error: âstrlenâ was not declared in this scope
../src/builtin-func.y:83: error: âmemcpyâ was not declared in this scope
../src/builtin-func.y: In function âint yyparse()â:
../src/builtin-func.y:178: error: âstrlenâ was not declared in this scope
../src/builtin-func.y:545: warning: deprecated conversion from string constant to âchar*â
../src/builtin-func.y:554: warning: deprecated conversion from string constant to âchar*â
../src/builtin-func.y: In function âvoid print_msg(const char*)â:
../src/builtin-func.y:566: error: âstrlenâ was not declared in this scope
I have tried gcc versions 4.3 and 3.4, but to no avail. Bro version 1.3.2 fails to compile as well. I have successfully installed Bro on Ubuntu or Debian Etch machines. Just on two Lenny machines there is this problem.
I'd be happy about any help i can get on this problem. Does the error message look familiar? Has Bro generally been tested on Lenny, and does it normally work?
Thanks in advance, and best regards,
Peter.