Hi Eero,

have you managed to solve this?
I’ve got the same issue with OpenVAS-7 on Centos 6.5.

Thanks.
BR
Cristian


Cristian Iconaru

just network services gmbh
klausenburger str. 9
81677 münchen
fon +49 89 16785623
fax +49 89 16785675
www.junese.de<http://www.junese.de>

        [cid:junese_tr_10029.png]
geht nicht gibt's nicht!
[cid:company24823.png]
registergericht: münchen HRB 12 41 39, Steuernummer 829/29256, UstID 
DE199333706, geschäftsführer: Oliver Prebeck, Martin Baumgartner

Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten Adressaten 
bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen 
Vertreter sein sollten, so beachten Sie bitte, dass jede Form der 
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts 
dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem 
Absender der E-Mail in Verbindung zu setzen.
The information contained in this email is intended solely for the addressee. 
Access to this email by anyone else is unauthorized. If you are not the 
intended recipient, any form of disclosure, reproduction, distribution or any 
action taken or refrained from in reliance on it, is prohibited and may be 
unlawful. Please notify the sender immediately.

Von: Openvas-discuss [mailto:[email protected]] Im 
Auftrag von Eero Volotinen
Gesendet: Freitag, 30. Mai 2014 15:39
An: [email protected]
Betreff: [Openvas-discuss] openvas build on centos 6

Hi,

Trying to build openvas on centos 6, but it fails with following errors:


[ 28%] Building C object 
misc/CMakeFiles/openvas_misc_shared.dir/openvas_server.c.o

cd /root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc && /usr/bin/cc  
-DENABLE_LDAP_AUTH=1 -DOPENVASLIB_VERSION_MAJOR=7 -DOPENVASLIB_VERSION_MINOR=0 
-DOPENVASLIB_VERSION_PATCH=0 -Dopenvas_misc_shared_EXPORTS -Wformat 
-Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro 
-Wl,-z,now -Wall -fPIC -g -Werror -fPIC 
-I/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/../include 
-I/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/../base    
-DOPENVASLIB_VERSION=\"7.0.1\" -DOPENVAS_STATE_DIR=\"/var/lib/openvas\" 
-DOPENVAS_DATA_DIR=\"/usr/share/openvas\" 
-DOPENVAS_SYSCONF_DIR=\"/etc/openvas\" -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -o 
CMakeFiles/openvas_misc_shared.dir/openvas_server.c.o   -c 
/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/openvas_server.c

/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/openvas_server.c:227: error: 
expected declaration specifiers or '...' before 'gnutls_retr2_st'

/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/openvas_server.c: In function 
'client_cert_callback':

/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/openvas_server.c:239: error: 
'st' undeclared (first use in this function)

/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/openvas_server.c:239: error: 
(Each undeclared identifier is reported only once

/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/openvas_server.c:239: error: 
for each function it appears in.)

/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/openvas_server.c:251: error: 
'GNUTLS_PRIVKEY_X509' undeclared (first use in this function)

cc1: warnings being treated as errors

/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/openvas_server.c: In function 
'openvas_server_open_with_cert':

/root/rpmbuild/BUILD/openvas-libraries-7.0.1/misc/openvas_server.c:291: error: 
implicit declaration of function 'gnutls_certificate_set_retrieve_function'

make[2]: *** [misc/CMakeFiles/openvas_misc_shared.dir/openvas_server.c.o] Error 
1

make[2]: Leaving directory `/root/rpmbuild/BUILD/openvas-libraries-7.0.1'

make[1]: *** [misc/CMakeFiles/openvas_misc_shared.dir/all] Error 2

make[1]: Leaving directory `/root/rpmbuild/BUILD/openvas-libraries-7.0.1'

make: *** [all] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.bGorHG (%build)

any easy way to fix this ?
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to