[Nagiosplug-devel] build error

Voon, Ton Ton.Voon at egg.com
Tue Dec 21 01:46:04 CET 2004


Sigh. Maybe I should have left well alone. I thought we were going to get
better compiles with the coreutils synchronisation...

Which platform is this on? I think all the detection code should be in
m4/fsusage.m4. I'm definitely getting detection on Sol2.6 and MacOSX
(lib/Makefile shows: "LIBOBJS =  error$U.o getloadavg$U.o mountlist$U.o
fsusage$U.o" on Sol2.6), so maybe there's a bug on your platform (though I
find that hard to believe). What happens if you compile coreutils 5.2.1?

-----Original Message-----
From: Matthew Kent [mailto:mkent at magoazul.com] 
Sent: 21 December 2004 03:16
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] build error


Anyone else seeing this breakage in latest cvs? After a bit of poking around
I'm too tired to figure it out. Seems to be from the recent sweep of changes
in the build process 

-- snip --
gcc  -g -O2  -L. -o check_disk  check_disk.o utils.o ../lib/libnagiosplug.a
../lib/libcoreutils.a popen.o -lssl -lcrypto
check_disk.o(.text+0xbe): In function `main':
/home/mkent/nagiosplug/plugins/check_disk.c:164: undefined reference to
`read_filesystem_list'
check_disk.o(.text+0x2ed):/home/mkent/nagiosplug/plugins/check_disk.c:188:
undefined reference to `get_fs_usage'
collect2: ld returned 1 exit status
-- snip --

Looks like fsusage.o and mountlist.o in lib/ aren't getting built due to a
detection problem of some sort. Could be my setup, but older releases still
compile fine.
-- 
Matthew Kent <mkent at magoazul.com>
http://magoazul.com



-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________________
Nagios Plugin Development Mailing List
Nagiosplug-devel at lists.sourceforge.net
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-----------------------------------------
This private and confidential e-mail has been sent to you by Egg.  The Egg
group of companies includes Egg Banking plc registered no. 2999842), Egg
Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
(registered no. 3403963) which is authorised and regulated by the Financial
Services Authority. Egg Investments Ltd. is entered in the FSA register
under number 190518.     Registered in England and Wales. Registered
offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA.    If you
are not the intended recipient of this e-mail and have received it in
error, please notify the sender by replying with 'received in error' as the
subject and then delete it from your mailbox.





More information about the Devel mailing list