* Compiling Nagios/NetSaint
@ 2002-11-01 10:23 Alam, Sim
0 siblings, 0 replies; only message in thread
From: Alam, Sim @ 2002-11-01 10:23 UTC (permalink / raw)
Hi all,
I have been trying to compile Nagios and keep getting the following
errors - tried NetSaint first and got a similar error. Has anyone
managed to get this to work? I'm trying on Tru64 5.1A with gcc 3.0.4.
Cheers,
Sim Alam
# make all
cd ./base; make ; cd ..
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c checks.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c config.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c commands.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c flapping.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c logging.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c notifications.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c sehandlers.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c utils.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c sretention.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c perfdata.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o
commands.o flapping.o logging.o notifications.o sehandlers.o utils.o
sretention.o ../xdata/xrddefault.c ../common/comments.c
../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c
../common/statusdata.c ../xdata/xsddefault.c perfdata.o
../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddefault.c -lm
-o nagios
nagios.c: In function `main':
nagios.c:294: elements of array `long_options' have incomplete type
nagios.c:296: warning: excess elements in struct initializer
nagios.c:296: warning: (near initialization for `long_options[0]')
nagios.c:296: `no_argument' undeclared (first use in this function)
nagios.c:296: (Each undeclared identifier is reported only once
nagios.c:296: for each function it appears in.)
nagios.c:296: warning: excess elements in struct initializer
nagios.c:296: warning: (near initialization for `long_options[0]')
nagios.c:296: warning: excess elements in struct initializer
nagios.c:296: warning: (near initialization for `long_options[0]')
...
[snip]
...
nagios.c:302: warning: (near initialization for `long_options[6]')
nagios.c:302: warning: excess elements in struct initializer
nagios.c:302: warning: (near initialization for `long_options[6]')
nagios.c:294: storage size of `long_options' isn't known
*** Exit 1
Stop.
*** Exit 1
Stop.
#
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-01 10:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-01 10:23 Compiling Nagios/NetSaint Alam, Sim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox