We are on these version in Solaris.

SunOS testlab 5.10 Generic_150400-34 sun4v sparc SUNW,T5240

/usr/sfw/bin/gcc -v

Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs

Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared

Thread model: posix

gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

On Wednesday, 20 July 2016, Eero Volotinen <[email protected]> wrote:

> what is your solaris version, platform and gcc version?
>
> this might be related to zlib..
>
> Eero
>
> 2016-07-19 22:28 GMT+03:00 Kumar Mg <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>>:
>
>> 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 [email protected]
>> <javascript:_e(%7B%7D,'cvml','ossec-list%[email protected]');>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
>
> ---
> 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 [email protected]
> <javascript:_e(%7B%7D,'cvml','ossec-list%[email protected]');>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to