[Bro] compile errors with master
philosnef
philosnef at yahoo.com
Mon Sep 19 08:17:03 PDT 2016
See attached. Ive cut and pasted the last bit of the cmake files as well. The error is associated with:
"Can't determine if openssl_d2i_x509() takes const char parameter")
Is there a way to disable this? I have openssl-devel installed (RHEL6).cmake error----/usr/bin/c++ -stdlib=libc++ -I/include/c++/v1 -L/lib -Wall -Wno-unused -DOPENSSL_D2I_X509_USES_CHAR -I/opt/src/bro_25_master/direct_dl/bro-2.5-beta/build/aux/binpac/lib -I/opt/src/bro_25_master/direct_dl/bro-2.5-beta/aux/binpac/lib -I/usr/local/include -o CMakeFiles/cmTryCompileExec3979421985.dir/src.cxx.o -c /opt/src/bro_25_master/direct_dl/bro-2.5-beta/build/CMakeFiles/CMakeTmp/src.cxxcc1plus: error: unrecognized command line option "-stdlib=libc++"gmake[1]: *** [CMakeFiles/cmTryCompileExec3979421985.dir/src.cxx.o] Error 1gmake[1]: Leaving directory `/opt/src/bro_25_master/direct_dl/bro-2.5-beta/build/CMakeFiles/CMakeTmp'gmake: *** [cmTryCompileExec3979421985/fast] Error 2
Source file was:
#include <openssl/x509.h> int main() { unsigned char** cpp = 0; X509** x =0; d2i_X509(x, cpp, 0); return 0; }---
cmake output---Run Build Command:/usr/bin/gmake "cmTryCompileExec3395688437/fast"/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3395688437.dir/build.make CMakeFiles/cmTryCompileExec3395688437.dir/buildgmake[1]: Entering directory `/opt/src/bro_25_master/direct_dl/bro-2.5-beta/build/CMakeFiles/CMakeTmp'/usr/bin/cmake -E cmake_progress_report /opt/src/bro_25_master/direct_dl/bro-2.5-beta/build/CMakeFiles/CMakeTmp/CMakeFiles 1Building C object CMakeFiles/cmTryCompileExec3395688437.dir/src.c.o/usr/bin/cc -Wall -Wno-unused -Dopenssl_greater_than_0_9_7 -I/opt/src/bro_25_master/direct_dl/bro-2.5-beta/build/aux/binpac/lib -I/opt/src/bro_25_master/direct_dl/bro-2.5-beta/aux/binpac/lib -I/usr/local/include -o CMakeFiles/cmTryCompileExec3395688437.dir/src.c.o -c /opt/src/bro_25_master/direct_dl/bro-2.5-beta/build/CMakeFiles/CMakeTmp/src.cLinking C executable cmTryCompileExec3395688437/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3395688437.dir/link.txt --verbose=1/usr/bin/cc -Wall -Wno-unused -Dopenssl_greater_than_0_9_7 -pthread CMakeFiles/cmTryCompileExec3395688437.dir/src.c.o -o cmTryCompileExec3395688437 -rdynamic -lssl -lcrypto gmake[1]: Leaving directory `/opt/src/bro_25_master/direct_dl/bro-2.5-beta/build/CMakeFiles/CMakeTmp'
Source file was:
#include <openssl/evp.h> int main() { OPENSSL_add_all_algorithms_conf(); return 0; }---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20160919/6c28374d/attachment.html
More information about the Bro
mailing list