[Bro] Problems compiling with --enable-int64
pauls at utdallas.edu
Tue Apr 15 14:20:00 PDT 2008
I'm working on updating the FreeBSD port of bro (I'm the port maintainer), and
I've been testing various combinations of options. I've run into a problem
compiling with --enable-int64.
Val.cc: In member function 'virtual Val* Val::SizeVal() const':
Val.cc:567: error: call of overloaded 'abs(const bro_int_t&)' is ambiguous
/usr/include/stdlib.h:84: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long
*** Error code 1
Is this a bug in the code? Or do I need to point to a library that's not
found? Configure works fine, but make fails.
Compiler is gcc 4.2.1. OS version is 7.0 STABLE.
Paul Schmehl (pauls at utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
More information about the Bro