<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 8pt Tahoma; MARGIN-LEFT: 2px">
<DIV><FONT size=2>Thx, it worked !</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Mit freundlichen Grüßen / Kind regards</DIV>
<DIV> </DIV>
<DIV>Daniel Siegers<BR>Systemadministrator</DIV>
<DIV> </DIV>
<DIV>Heinrich Bauer Dienstleistungs KG<BR>Brieffach 4620<BR>Burchardstraße
11<BR>D-20077 Hamburg</DIV>
<DIV> </DIV>
<DIV>Telefon +49
(40)-3019-1991<BR>Fax +49
(40)-3019-140-1991</DIV>
<DIV> </DIV>
<DIV>E-Mail <A
href="mailto:Daniel.Siegers@Bauerverlag.de">Daniel.Siegers@Bauerverlag.de</A><BR><BR>>>>
"Jackson Sie" <JSIE@QUADRIX.COM>17.12.2002 20:12 >>> <BR>If you simply
do a global search and replace on the source files for: <BR><BR>Search for:
u_int32_t <BR>Replace with: uint32_t <BR><BR>This will remove the compilation
problem you are experiencing. <BR><BR>Jackson Sie <BR>Quadrix Solutions, Inc.
<BR><BR><BR>-----Original Message----- <BR>From: <U><A
href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</A></U>
<BR>[<U> <A
href="mailto:nagios-users-admin@lists.sourceforge.net]">mailto:nagios-users-admin@lists.sourceforge.net]</A></U>
On Behalf Of Carroll, <BR>Jim P [Contractor] <BR>Sent: Tuesday, December 17,
2002 12:01 PM <BR>To: 'Daniel Siegers'; <U><A
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A></U>
<BR>Subject: RE: [Nagios-users] compiling nsca on Solaris 2.8 <BR><BR><BR>Have
you tried GNU make? <BR><BR>If not, get it from <U><A
href="http://www.sunfreeware.com/">www.sunfreeware.com</A></U> . Be sure that
you have <BR>/usr/local/bin first on your $PATH before running 'make'.
<BR><BR>jc <BR><BR>> -----Original Message----- <BR>> From: Daniel Siegers
[<U> <A
href="mailto:Daniel.Siegers@bauerverlag.de]">mailto:Daniel.Siegers@bauerverlag.de]</A></U>
<BR>> Sent: Tuesday, December 17, 2002 9:02 AM <BR>> To: <U><A
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A></U>
<BR>> Subject: [Nagios-users] compiling nsca on Solaris 2.8 <BR>> <BR>>
<BR>> Hi there, <BR>> <BR>> i ve got a problem compiling nsca on
Solaris 2.8 with gcc <BR>> 2.95.3 20010315 (release) <BR>> <BR>>
./configure works fine, but here s the ouput of make all: <BR>> <BR>>
bash-2.03# make all <BR>> cd ./src/; make all ; cd .. <BR>> make[1]:
Entering directory `/usr/share/src/nsca-2.1/src' <BR>> gcc -g -O2
-DHAVE_CONFIG_H -lnsl -lsocket nsca.c netutils.c <BR>> utils.c -o nsca
<BR>> In file included from nsca.c:18: <BR>> ../common/common.h:105: parse
error before `u_int32_t' <BR>> ../common/common.h:105: warning: no semicolon
at end of <BR>> struct or union <BR>> ../common/common.h:106: warning:
data definition has no type <BR>> or storage class <BR>>
../common/common.h:111: parse error before `}' <BR>> ../common/common.h:111:
warning: data definition has no type <BR>> or storage class <BR>>
../common/common.h:116: parse error before `u_int32_t' <BR>>
../common/common.h:116: warning: no semicolon at end of <BR>> struct or union
<BR>> ../common/common.h:117: warning: data definition has no type <BR>>
or storage class <BR>> nsca.c: In function `handle_connection': <BR>>
nsca.c:768: `init_packet' undeclared (first use in this function) <BR>>
nsca.c:768: (Each undeclared identifier is reported only once <BR>>
nsca.c:768: for each function it appears in.) <BR>> nsca.c:768: parse error
before `send_packet' <BR>> nsca.c:791: `send_packet' undeclared (first use in
this function) <BR>> nsca.c:793: `u_int32_t' undeclared (first use in this
function) <BR>> nsca.c: In function `handle_connection_read': <BR>>
nsca.c:837: `data_packet' undeclared (first use in this function) <BR>>
nsca.c:837: parse error before `receive_packet' <BR>> nsca.c:838: `u_int32_t'
undeclared (first use in this function) <BR>> nsca.c:856: `receive_packet'
undeclared (first use in this function) <BR>> nsca.c:896: `packet_crc32'
undeclared (first use in this function) <BR>> nsca.c:898: `calculated_crc32'
undeclared (first use in this function) <BR>> In file included from
netutils.c:32: <BR>> ../common/common.h:105: parse error before `u_int32_t'
<BR>> ../common/common.h:105: warning: no semicolon at end of <BR>> struct
or union <BR>> ../common/common.h:106: warning: data definition has no type
<BR>> or storage class <BR>> ../common/common.h:111: parse error before
`}' <BR>> ../common/common.h:111: warning: data definition has no type
<BR>> or storage class <BR>> ../common/common.h:116: parse error before
`u_int32_t' <BR>> ../common/common.h:116: warning: no semicolon at end of
<BR>> struct or union <BR>> ../common/common.h:117: warning: data
definition has no type <BR>> or storage class <BR>> In file included from
utils.c:32: <BR>> ../common/common.h:105: parse error before `u_int32_t'
<BR>> ../common/common.h:105: warning: no semicolon at end of <BR>> struct
or union <BR>> ../common/common.h:106: warning: data definition has no type
<BR>> or storage class <BR>> ../common/common.h:111: parse error before
`}' <BR>> ../common/common.h:111: warning: data definition has no type
<BR>> or storage class <BR>> ../common/common.h:116: parse error before
`u_int32_t' <BR>> ../common/common.h:116: warning: no semicolon at end of
<BR>> struct or union <BR>> ../common/common.h:117: warning: data
definition has no type <BR>> or storage class <BR>> make[1]: *** [nsca]
Error 1 <BR>> make[1]: Leaving directory `/usr/share/src/nsca-2.1/src'
<BR>> bash-2.03# gcc -v <BR>> Reading specs from <BR>>
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs <BR>> gcc version
2.95.3 20010315 (release) <BR>> <BR>> <BR>> Has anyone an idea ?
<BR>> <BR>> <BR>> Mit freundlichen Grüßen / Kind regards <BR>>
<BR>> Daniel Siegers <BR>> Systemadministrator <BR>> <BR>> Heinrich
Bauer Dienstleistungs KG <BR>> Brieffach 4620 <BR>> Burchardstraße 11
<BR>> D-20077 Hamburg <BR>> <BR>> Telefon +49 (40)-3019-1991 <BR>>
Fax +49 (40)-3019-140-1991 <BR>> <BR>> E-Mail <U><A
href="mailto:Daniel.Siegers@Bauerverlag.de">Daniel.Siegers@Bauerverlag.de</A></U>
<BR>> <BR>>
<BR><BR><BR>------------------------------------------------------- <BR>This
sf.net email is sponsored by: <BR>With Great Power, Comes Great Responsibility
<BR>Learn to use your power at OSDN's High Performance Computing Channel
<BR><U><A href="http://hpc.devchannel.org/">http://hpc.devchannel.org/</A></U>
<BR>_______________________________________________ <BR>Nagios-users mailing
list <BR><U><A
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</A></U>
<BR><U><A
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></U>
<BR><BR></DIV></BODY></HTML>