Bugs item #910, was opened at 2009-03-09 14:28
Status: Open
Priority: 3
Submitted By: Michelle Schuknecht (mschuk)
Assigned to: Nobody (None)
Summary: openvas-libraries fails to compile on Solaris 10 
Resolution: None
Severity: None
Version: v2.0.1
Component: openvas-libraries
Operating System: Solaris
Product: OpenVAS
Hardware: None
URL: 


Initial Comment:
I receive the following errors when running make:  

cd libopenvas && make
make[1]: Entering directory 
`/mpool/users/michelle/build/openvas-libraries-2.0.1/libopenvas'
/bin/sh /mpool/users/michelle/build/openvas-libraries-2.0.1/libtool gcc -pipe 
-I../ -DHAVE_CONFIG_H   -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include   -DHAVE_CONFIG_H   -I/mpool/sfw/include -g 
-Wall -c plugutils.c
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
mkdir .libs
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c plugutils.c  -fPIC -DPIC -o .libs/plugutils.o
plugutils.c: In function `addslashes':
plugutils.c:101: warning: implicit declaration of function `bzero'
plugutils.c: In function `plug_get_fresh_key':
plugutils.c:1446: warning: int format, pid_t arg (arg 3)
plugutils.c:1453: warning: int format, pid_t arg (arg 3)
plugutils.c: In function `plug_set_replace_key':
plugutils.c:1526: warning: int format, pid_t arg (arg 3)
plugutils.c: In function `shared_socket_acquire':
plugutils.c:2045: warning: int format, pid_t arg (arg 3)
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c plugutils.c -o plugutils.o >/dev/null 2>&1
/bin/sh /mpool/users/michelle/build/openvas-libraries-2.0.1/libtool gcc -pipe 
-I../ -DHAVE_CONFIG_H   -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include   -DHAVE_CONFIG_H   -I/mpool/sfw/include -g 
-Wall -c system.c 
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c system.c  -fPIC -DPIC -o .libs/system.o
system.c: In function `emalloc':
system.c:58: warning: int format, pid_t arg (arg 3)
system.c:83: warning: int format, pid_t arg (arg 3)
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c system.c -o system.o >/dev/null 2>&1
/bin/sh /mpool/users/michelle/build/openvas-libraries-2.0.1/libtool gcc -pipe 
-I../ -DHAVE_CONFIG_H   -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include   -DHAVE_CONFIG_H   -I/mpool/sfw/include -g 
-Wall -c network.c
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c network.c  -fPIC -DPIC -o .libs/network.o
network.c: In function `nessus_perror':
network.c:144: warning: int format, pid_t arg (arg 3)
network.c: In function `get_connection_fd':
network.c:178: warning: implicit declaration of function `bzero'
network.c:184: warning: int format, pid_t arg (arg 3)
network.c: In function `nessus_register_connection':
network.c:270: warning: int format, pid_t arg (arg 3)
network.c: In function `tlserror':
network.c:343: warning: int format, pid_t arg (arg 3)
network.c: In function `nessus_get_socket_from_connection':
network.c:384: warning: int format, pid_t arg (arg 3)
network.c: In function `verify_peer_certificate':
network.c:577: warning: int format, pid_t arg (arg 3)
network.c: In function `load_cert_and_key':
network.c:643: warning: int format, pid_t arg (arg 3)
network.c:672: warning: int format, pid_t arg (arg 3)
network.c: In function `nsend':
network.c:1766: warning: int format, pid_t arg (arg 3)
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c network.c -o network.o >/dev/null 2>&1
/bin/sh /mpool/users/michelle/build/openvas-libraries-2.0.1/libtool gcc -pipe  
-I../ -DHAVE_CONFIG_H   -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include   -DHAVE_CONFIG_H   -I/mpool/sfw/include -g 
-Wall -c resolve.c
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c resolve.c  -fPIC -DPIC -o .libs/resolve.o
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c resolve.c -o resolve.o >/dev/null 2>&1
/bin/sh /mpool/users/michelle/build/openvas-libraries-2.0.1/libtool gcc -pipe 
-I../ -DHAVE_CONFIG_H   -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include   -DHAVE_CONFIG_H   -I/mpool/sfw/include -g 
-Wall -c arglists.c
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c arglists.c  -fPIC -DPIC -o .libs/arglists.o
arglists.c: In function `cache_init':
arglists.c:77: warning: implicit declaration of function `bzero'
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c arglists.c -o arglists.o >/dev/null 2>&1
/bin/sh /mpool/users/michelle/build/openvas-libraries-2.0.1/libtool gcc -pipe 
-I../ -DHAVE_CONFIG_H   -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include   -DHAVE_CONFIG_H   -I/mpool/sfw/include -g 
-Wall -c ftp_funcs.c
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
 gcc -pipe -I../ -DHAVE_CONFIG_H -I. 
-I/mpool/users/michelle/build/openvas-libraries-2.0.1/include 
-I/mpool/sfw/openvas/include -I/mpool/sfw/include/glib-2.0 
-I/mpool/sfw/lib/glib-2.0/include -DHAVE_CONFIG_H -I/mpool/sfw/include -g -Wall 
-c ftp_funcs.c  -fPIC -DPIC -o .libs/ftp_funcs.o
ftp_funcs.c: In function `ftp_get_pasv_address':
ftp_funcs.c:130: warning: implicit declaration of function `bzero'
ftp_funcs.c:173: error: `AF_INET' undeclared (first use in this function)
ftp_funcs.c:173: error: (Each undeclared identifier is reported only once
ftp_funcs.c:173: error: for each function it appears in.)
make[1]: *** [ftp_funcs.o] Error 1
make[1]: Leaving directory 
`/mpool/users/michelle/build/openvas-libraries-2.0.1/libopenvas'
make: *** [all] Error 2

----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=220&aid=910&group_id=29
_______________________________________________
Openvas-devel mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to