nsca problems

Rennie, Steve Steve.Rennie at Hess.com
Fri Aug 1 17:28:48 CEST 2003


Trying to set-up distributed monitoring and having problems compiling
nsca daemon -

configure is ok.. but errors in make

Any advice greatly appreciated.

Thanks

# make all    
cd ./src/; make all ; cd ..
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: syntax 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: syntax error before '}' token
../common/common.h:111: warning: data definition has no type or storage
class
../common/common.h:116: syntax 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: syntax error before "send_packet"
nsca.c:814: `send_packet' undeclared (first use in this function)
nsca.c:814: (Each undeclared identifier is reported only once
nsca.c:814: for each function it appears in.)
nsca.c:816: `u_int32_t' undeclared (first use in this function)
nsca.c: In function `handle_connection_read':
nsca.c:866: syntax 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: syntax 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: syntax error before '}' token
../common/common.h:111: warning: data definition has no type or storage
class
../common/common.h:116: syntax 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: syntax 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: syntax error before '}' token
../common/common.h:111: warning: data definition has no type or storage
class
../common/common.h:116: syntax 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
*** Error code 1
make: Fatal error: Command failed for target `nsca'
Current working directory /tmp/nsca-2.3/src
*** Error code 1
make: Fatal error: Command failed for target `all'

Steve Rennie 
Global IT Infrastructure
Technical Computing
Amerada Hess Ltd, Scott House, Hareness Road, Altens, Aberdeen AB1 4LE
Tel: +44 (0)1224 243385
Mobile: 07880 786944
Email: steve.rennie at hess.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030801/c9c5f0ca/attachment.html>


More information about the Users mailing list