os_auth/ssl.c:106:27: warning: implicit declaration of function 'TLS_method' is invalid in C99 [-Wimplicit-function-declaration] if (ctx = SSL_CTX_new(TLS_method()), !ctx) { ^os_auth/ssl.c:106:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] if (ctx = SSL_CTX_new(TLS_method()), !ctx) { ^~~~~~~~~~~~/usr/local/include/openssl/ssl.h:2131:40: note: passing argument to parameter 'meth' hereSSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^2 warnings generated. CC os_auth/check_cert.oos_auth/check_cert.c:314:25: warning: implicit declaration of function 'ASN1_STRING_get0_data' is invalid in C99 [-Wimplicit-function-declaration] if (!(tmp = (char *)ASN1_STRING_get0_data(astr))) { ^os_auth/check_cert.c:314:17: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if (!(tmp = (char *)ASN1_STRING_get0_data(astr))) { ^2 warnings generated. CC agent-authos_auth/ssl.o: In function `get_ssl_context':ssl.c:(.text+0x1a1): undefined reference to `SSL_library_init'ssl.c:(.text+0x1a6): undefined reference to `SSL_load_error_strings'ssl.c:(.text+0x1ab): undefined reference to `OPENSSL_add_all_algorithms_noconf'os_auth/check_cert.o: In function `check_subject_alt_names':check_cert.c:(.text+0xcb): undefined reference to `sk_num'check_cert.c:(.text+0xe6): undefined reference to `sk_value'check_cert.c:(.text+0x123): undefined reference to `sk_num'cc: error: linker command failed with exit code 1 (use -v to see invocation)gmake[1]: *** [Makefile:1225: agent-auth] Error 1gmake[1]: Leaving directory '/root/wazuh-3.8.2/src'gmake: *** [Makefile:562: agent] Error 2
Error 0x5. Building error. Unable to finish the installation.
pkg install wget gmakeuname -r11.2-RELEASE-p9-HBSDgmake -vGNU Make 4.2.1Built for amd64-portbld-freebsd11.2Copyright (C) 1988-2016 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.
tar zx -f v3.8.2.tar.gzwazuh-3.8.2/install.sh
step through installer - agent -> no to additional modules <localfile>
<log_format>syslog</log_format>
<location>/var/log/suricata/eve.json</location>
</localfile>--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/HSVTp43Rykk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/7d5e9124-5e0f-495a-ad0e-9dfb4b43386a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Enter CC wazuh_modules/wm_fluent.owazuh_modules/wm_fluent.c:206:31: warning: implicit declaration of function 'TLS_method' is invalid in C99 [-Wimplicit-function-declaration] fluent->ctx = SSL_CTX_new(TLS_method()); ^wazuh_modules/wm_fluent.c:206:31: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] fluent->ctx = SSL_CTX_new(TLS_method()); ^~~~~~~~~~~~/usr/local/include/openssl/ssl.h:2131:40: note: passing argument to parameter 'meth' hereSSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^2 warnings generated. CC wazuh_modules/wm_sca.o
SOME LINES ARE MISSING
CC os_zlib/os_zlib.o LINK libwazuh.a RANLIB libwazuh.a CC ossec-agentdlibwazuh.a(wm_fluent.o): In function `wm_fluent_main':wm_fluent.c:(.text+0x190): undefined reference to `SSL_load_error_strings'wm_fluent.c:(.text+0x195): undefined reference to `SSL_library_init'cc: error: linker command failed with exit code 1 (use -v to see invocation)gmake[1]: *** [Makefile:1177: ossec-agentd] Error 1gmake[1]: Leaving directory '/root/wazuh-3.9.0/src'gmake: *** [Makefile:572: agent] Error 2gmake: Leaving directory '/root/wazuh-3.9.0/src'code here...To unsubscribe from this group and all its topics, send an email to wazuh+unsubscribe@googlegroups.com.
/usr/local/include/openssl/ssl.h:2131:40: note: passing argument to parameter 'meth' here
$ gmake TARGET=agent settings (...) Compiler: CFLAGS -pthread -I/usr/local/include -O2 -DMAX_AGENTS=14000 -DOSSECHIDS -DDEFAULTDIR="/var/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DFreeBSD -DFreeBSD -DENABLE_SYSC -DENABLE_CISCAT -DENABLE_SHARED -DCLIENT -pipe -Wall -Wextra -I./ -I./headers/ -Iexternal/openssl/include -Iexternal/cJSON/ -Iexternal/libyaml/include -Iexternal/curl/include -Iexternal/msgpack/include (...)
# Install needed packages pkg install -y git gmake # Get Wazuh sources git clone https://github.com/wazuh/wazuh.git -b 3.9 cd wazuh/src # Downlaod dependencies gmake deps # Check settings gmake TARGET=agent settings # Compile redefining OSSEC_CFLAGS (remove -I/usr/local/include) gmake OSSEC_CFLAGS='-pthread -O2 -DMAX_AGENTS=14000 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DFreeBSD -DFreeBSD -DENABLE_SYSC -DENABLE_CISCAT -DENABLE_SHARED -DCLIENT -pipe -Wall -Wextra -I./ -I./headers/ -Iexternal/openssl/include -Iexternal/cJSON/ -Iexternal/libyaml/include -Iexternal/curl/include -Iexternal/msgpack/include' TARGET=agent # Install Wazuh agent cd .. ./install.sh
# Install needed packages pkg install -y git gmake # Get Wazuh sources git clone https://github.com/wazuh/wazuh.git -b 3.9 cd wazuh # Patch Makefile sed -i' ' "s,CFLAGS+=-pthread -I/usr/local/include,CFLAGS+=-pthread," src/Makefile # Install Wazuh agent ./install.sh
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/7d5e9124-5e0f-495a-ad0e-9dfb4b43386a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/f0cdb547-5395-45ec-b97a-420df57101a5%40googlegroups.com.