[Bro-Dev] #430: Build error in LogMgr.cc

Bro Tracker bro at tracker.icir.org
Thu Mar 31 12:12:46 PDT 2011

#430: Build error in LogMgr.cc
 Reporter:  appleman  |      Owner:
     Type:  Problem   |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  Bro       |    Version:  git/topic
 Keywords:            |
 I cloned the repository as master and built bro. I then did ...

     git checkout topic/robin/logging-internals

 ... and it died with the following errors:

 [ 16%] Building CXX object src/CMakeFiles/bro.dir/LogMgr.cc.o
 /home/appleman/bro/trunk/scripts/bro/src/LogMgr.cc: In member function
 ‘bool LogMgr::AddFilter(EnumVal*, RecordVal*)’:
 /home/appleman/bro/trunk/scripts/bro/src/LogMgr.cc:691: error: ‘transform’
 is not a member of ‘std’
 make[3]: *** [src/CMakeFiles/bro.dir/LogMgr.cc.o] Error 1
 make[3]: Leaving directory `/home/appleman/bro/trunk/scripts/bro/build'
 make[2]: *** [src/CMakeFiles/bro.dir/all] Error 2
 make[2]: Leaving directory `/home/appleman/bro/trunk/scripts/bro/build'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/home/appleman/bro/trunk/scripts/bro/build'
 make: *** [all] Error 2

 My gcc version is 4.4.3

 Problem was resolved for me by adding

     #include <algorithm>

 to LogMgr.cc

Ticket URL: <http://tracker.icir.org/bro/ticket/430>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker

More information about the bro-dev mailing list