nsca-2.3 on Solaris

Rob rhaig at hackboy.com
Thu May 15 18:42:43 CEST 2003


I'm trying to set up nsca-2.3 on a couple of solaris 8 boxen here, and I'm having nothing but trouble.

here's what it looks like...
======================
gcc -g -O2 -DHAVE_CONFIG_H  -lnsl -lsocket nsca.c netutils.c utils.c -o nsca
In file included from nsca.c:18:
../common/common.h:105: parse error before `u_int32_t'
../common/common.h:105: warning: no semicolon at end of struct or union
../common/common.h:106: warning: data definition has no type or storage class
../common/common.h:111: parse error before `}'
../common/common.h:111: warning: data definition has no type or storage class
../common/common.h:116: parse error before `u_int32_t'
../common/common.h:116: warning: no semicolon at end of struct or union
../common/common.h:117: warning: data definition has no type or storage class
nsca.c: In function `handle_connection':
nsca.c:789: `init_packet' undeclared (first use in this function)
nsca.c:789: (Each undeclared identifier is reported only once
nsca.c:789: for each function it appears in.)
nsca.c:789: parse error before `send_packet'
nsca.c:814: `send_packet' undeclared (first use in this function)
nsca.c:816: `u_int32_t' undeclared (first use in this function)
nsca.c: In function `handle_connection_read':
nsca.c:866: `data_packet' undeclared (first use in this function)
nsca.c:866: parse error before `receive_packet'
nsca.c:867: `u_int32_t' undeclared (first use in this function)
nsca.c:885: `receive_packet' undeclared (first use in this function)
nsca.c:931: `packet_crc32' undeclared (first use in this function)
nsca.c:933: `calculated_crc32' undeclared (first use in this function)
In file included from netutils.c:32:
../common/common.h:105: parse error before `u_int32_t'
../common/common.h:105: warning: no semicolon at end of struct or union
../common/common.h:106: warning: data definition has no type or storage class
../common/common.h:111: parse error before `}'
../common/common.h:111: warning: data definition has no type or storage class
../common/common.h:116: parse error before `u_int32_t'
../common/common.h:116: warning: no semicolon at end of struct or union
../common/common.h:117: warning: data definition has no type or storage class
In file included from utils.c:32:
../common/common.h:105: parse error before `u_int32_t'
../common/common.h:105: warning: no semicolon at end of struct or union
../common/common.h:106: warning: data definition has no type or storage class
../common/common.h:111: parse error before `}'
../common/common.h:111: warning: data definition has no type or storage class
../common/common.h:116: parse error before `u_int32_t'
../common/common.h:116: warning: no semicolon at end of struct or union
../common/common.h:117: warning: data definition has no type or storage class
make: *** [nsca] Error 1
==========================

any clues anyone?  I'm also not beyond running pre-compiled binaries if I can find them.  But I haven't found them yet.


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list