[Nagiosplug-help] v1.3.1 plugins + RedHat 6.2 = `LC_NUMERIC' undeclared

C. Bensend benny at bennyvision.com
Thu Jul 17 12:16:27 CEST 2003

Hey folks,

	I'm in the process of bringing all of my installations up to
Nagios 1.1 and plugins v1.3.1, and I ran into this on one of my 
RedHat 6.2 installations:

gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I.  -I/usr/kerberos/include  -g -O2 -c `test -f 'getopt1.c' || echo './'`getopt1.c
source='getloadavg.c' object='getloadavg.o' libtool=no \
depfile='.deps/getloadavg.Po' tmpdepfile='.deps/getloadavg.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I.  -I/usr/kerberos/include  -g -O2 -c `test -f 'getloadavg.c' || echo './'`getloadavg.c
getloadavg.c: In function `getloadavg':
getloadavg.c:654: `LC_NUMERIC' undeclared (first use in this function)
getloadavg.c:654: (Each undeclared identifier is reported only once
getloadavg.c:654: for each function it appears in.)
make[1]: *** [getloadavg.o] Error 1

	To me, that looks like RedHat needs a little updating.  Can
anyone verify this?  I don't want to go on an update spree, if someone
has already run into this...  I didn't see anything in the mailing list




"Corpsman: usually a young, long-haired, bearded, Marine hatin' Sailor
with certain medical skills, who will go through the very gates of hell to
get to a wounded Marine." - Major Gene Duncan, USMC Ret.

More information about the Help mailing list