Home
My Page
Projects
OpenVAS

[#910] openvas-libraries fails to compile on Solaris 10

Date:
2009-03-09 21:28
Priority:
3
State:
Open
Submitted by:
Michelle Schuknecht (mschuk)
Assigned to:
Randal Rioux (rrioux)
Architecture:
None
Product:
OpenVAS
Operating System:
Solaris
Component:
openvas-libraries
Version:
2.0.1
Severity:
None
Resolution:
None
Hardware:
Sun
URL:
 
Summary:
openvas-libraries fails to compile on Solaris 10

Detailed description
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

Followup

No Followups Have Been Posted

Attached Files:

Changes:

Field Old Value Date By
HardwareNone2009-07-15 20:39rrioux
assigned_tonone2009-07-15 20:39rrioux

This site is hosted by Intevation GmbH