[Bro] Build Fail on OS X Lion

Siwek, Jonathan Luke jsiwek at illinois.edu
Thu Nov 24 03:36:10 PST 2011


> /DG/BUILD/bro/build/src/netflow_pac.h:14: error: ‘EventMgr’ does not name a type

Ok, I think header files are getting overshadowed somewhere (if you do `make VERBOSE=1`, you can see the order of -I options given to the compiler and look in those directories for Event.h, Type.h, etc.).  I'd like to try another change; at the top of src/CMakeLists.txt there's:

include_directories(${CMAKE_CURRENT_SOURCE_DIR}
                    ${CMAKE_CURRENT_BINARY_DIR}
)

Change it to be the following ("BEFORE" is the only difference):

include_directories(BEFORE
                    ${CMAKE_CURRENT_SOURCE_DIR}
                    ${CMAKE_CURRENT_BINARY_DIR}
)


+Jon



More information about the Bro mailing list