Hi,

when i compile openvas-libraries-8.0.8 on Centos 6.7,some errors occur

Scanning dependencies of target openvas_nasl_shared
[ 43%] Building C object nasl/CMakeFiles/openvas_nasl_shared.dir/nasl_crypto.c.o
/root/openvas/openvas-libraries-8.0.8/nasl/nasl_crypto.c: In function 
‘hmac_sha256’:
/root/openvas/openvas-libraries-8.0.8/nasl/nasl_crypto.c:223: error: ‘GHmac’ 
undeclared (first use in this function)
/root/openvas/openvas-libraries-8.0.8/nasl/nasl_crypto.c:223: error: (Each 
undeclared identifier is reported only once
/root/openvas/openvas-libraries-8.0.8/nasl/nasl_crypto.c:223: error: for each 
function it appears in.)
/root/openvas/openvas-libraries-8.0.8/nasl/nasl_crypto.c:223: error: ‘hmac’ 
undeclared (first use in this function)
cc1: warnings being treated as errors
/root/openvas/openvas-libraries-8.0.8/nasl/nasl_crypto.c:225: error: implicit 
declaration of function ‘g_hmac_new’
/root/openvas/openvas-libraries-8.0.8/nasl/nasl_crypto.c:226: error: implicit 
declaration of function ‘g_hmac_update’
/root/openvas/openvas-libraries-8.0.8/nasl/nasl_crypto.c:227: error: implicit 
declaration of function ‘g_hmac_get_digest’
/root/openvas/openvas-libraries-8.0.8/nasl/nasl_crypto.c:228: error: implicit 
declaration of function ‘g_hmac_unref’
make[2]: *** [nasl/CMakeFiles/openvas_nasl_shared.dir/nasl_crypto.c.o] Error 1
make[1]: *** [nasl/CMakeFiles/openvas_nasl_shared.dir/all] Error 2
make: *** [all] Error 2

Could any body help me,thanks very much

2017-04-07


wooyunceshi 
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to