On Tue, 22 Dec 2015 16:16:21 +0000 Rene Leipold <[email protected]> wrote:
> Hi Folks,
>
> While updateing the new Release of OpenVAS 8 I encountered an error
> in the openvas-manager:
>
> The "make" quit with the following error message. Altough I could
> have changed the warn_unused_result attribute I decided to change the
> src.
>
> /opt/openvas/openvas-manager-6.0.7/src/manage_sql.c: In function
> 'keyword_type_from_string':
> /opt/openvas/openvas-manager-6.0.7/src/manage_sql.c:2656:10:
> error: ignoring return value of 'strtol', declared with attribute
> warn_unused_result [-Werror=unused-result]
That was a bug in glibc (#13970) that was fixed in version 2.16. indeed,
wheezy is based on version 2.13, which still has this bug. If you build
with the 'Release' BUILD_TYPE:
cmake -DCMAKE_BUILD_TYPE=Release .
The -Werror will not be there and the error should (magically)
disappear.
Regards,
Ben.
pgpxLkuzgEt_9.pgp
Description: OpenPGP digital signature
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
