Compile issues on older system
Andreas Ericsson
ae at op5.se
Sat Feb 12 12:22:38 CET 2005
kmoogle wrote:
> I'm trying to compile nagios-2.0b2 on an older system (my apologies in
> advance) -- but have run into an issue. './configure' runs properly,
> but fails on the 'make'. It currently runs Nagios 1.2.
>
> Any assistance is appreciated.
>
> Thank you.
>
> ======> Specifics
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> GNU Make version 3.78.1
> GNU ld version 2.9.5 (with BFD 2.9.5.0.22)
> ldd (GNU libc) 2.1.3
> kernel 2.4.23
> GNU C Library stable release version 2.1.3
>
> ======> 'make all' output
> [nagios-2.0b2]# make all
> cd ./base && make
> make[1]: Entering directory `/opt/src/nagios-2.0b2/base'
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c
> In file included from ../include/nebmods.h:31,
> from broker.c:33:
> ../include/nebmodules.h:78: parse error before `lt_ptr'
Install latest libtool with header files and such, or try ./configure
--disable-event-broker. It's enabled by default, but the libtool support
autodetection is a bit shoddy.
There aren't that many modules to Nagios as of yet, so the usefulness of
the event broker is still pretty limited.
> ../include/nebmodules.h:78: warning: no semicolon at end of struct or union
> ../include/nebmodules.h:79: warning: data definition has no type or
> storage class
> ../include/nebmodules.h:89: parse error before `}'
> ../include/nebmodules.h:89: warning: data definition has no type or
> storage class
> In file included from broker.c:33:
> ../include/nebmods.h:51: parse error before `*'
> ../include/nebmods.h:54: parse error before `*'
> make[1]: *** [broker.o] Error 1
> make[1]: Leaving directory `/opt/src/nagios-2.0b2/base'
> make: *** [all] Error 2
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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