Hi, We also have the agent compilation issue on the Solaris platform with the 2.8.3 version of code. How can we fix the "Checking for attribute(visibility) support... No"?
For time being we updated the lua* conf updated to remove the warning message, however the below warning are still showing up. *** Making zlib (by Jean-loup Gailly and Mark Adler) *** cd zlib-1.2.8/; ./configure; make libz.a; Checking for shared library support... Building shared library libz.so.1.2.8 with /usr/sfw/bin/gcc. Checking for off64_t... Yes. Checking for fseeko... Yes. Checking for strerror... Yes. Checking for unistd.h... Yes. Checking for stdarg.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). Checking for vsnprintf() in stdio.h... Yes. Checking for return value of vsnprintf()... Yes. Checking for attribute(visibility) support... No. *** Making monitord *** /usr/sfw/bin/gcc -g -Wall -I../ -I../headers -DCLIENT -DUSE_OPENSSL -DSOLARIS -DHIGHFIRST -DARGV0=\"ossec-monitord\" -DOSSECHIDS -lsocket -lnsl -lresolv compress_log.c main.c manage_files.c monitor_agents.c monitord.c sign_log.c generate_reports.c ../os_maild/sendcustomemail.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c ../external/libz.a -o ossec-monitord generate_reports.c: In function `generate_reports': generate_reports.c:59: warning: int format, pid_t arg (arg 4) /usr/sfw/bin/gcc -g -Wall -I../ -I../headers -DCLIENT -DUSE_OPENSSL -DSOLARIS -DHIGHFIRST -DARGV0=\"ossec-monitord\" -DOSSECHIDS -lsocket -lnsl -lresolv -UARGV0 -DARGV0=\"ossec-reportd\" report.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c ../external/libz.a -o ossec-reportd *** Making os_auth *** /usr/sfw/bin/gcc -g -Wall -I../ -I../headers -DCLIENT -DUSE_OPENSSL -DSOLARIS -DHIGHFIRST -DARGV0=\"ossec-authd\" -DOSSECHIDS -lsocket -lnsl -lresolv main-server.c ssl.c ../addagent/validate.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c ../external/libz.a -lssl -lcrypto -o ossec-authd main-server.c: In function `ssl_error': main-server.c:53: warning: passing arg 1 of `SSL_get_error' discards qualifiers from pointer target type /usr/sfw/bin/gcc -g -Wall -I../ -I../headers -DCLIENT -DUSE_OPENSSL -DSOLARIS -DHIGHFIRST -DARGV0=\"ossec-authd\" -DOSSECHIDS -lsocket -lnsl -lresolv main-client.c ssl.c ../addagent/validate.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c ../external/libz.a -lssl -lcrypto -o agent-auth If any one can shower some light on this, that will be great. Thanks Kumar -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.