Compiling nagios-plugins-1.3.1 on AIX 5.2

Voon, Ton Ton.Voon at egg.com
Thu Dec 4 15:03:40 CET 2003


We received reports that 1.3.1 did not compile successfully on AIX 4/5. The
1.4alpha release should be okay - please try that.

Ton

> -----Original Message-----
> From: Ewan Leith [mailto:ejl at man.fwltech.com] 
> Sent: Thursday, December 04, 2003 10:21 AM
> To: 'MT Morales'; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Compiling nagios-plugins-1.3.1 on AIX 5.2
> 
> 
> Sounds like the ./configure isn't picking up the fact that AIX has a
> va_copy, run ./configure again and look for a line:
> 
> checking for __va_copy... yes
> 
> If you don't see it, then maybe you need to hard-code it, if 
> so i'll look
> through my configure and see what's its detecting it as.
> 
> Ewan
> 
> > -----Original Message-----
> > From: MT Morales [mailto:nagios at pensol.net]
> > Sent: 03 December 2003 23:13
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Compiling nagios-plugins-1.3.1 on AIX 5.2
> > 
> > 
> > 
> > Hello,
> > 
> > Can someone suggest what the problem may be? I've been trying to 
> > compile nagios-plugins-1.3.1 on AIX 5.2 using the gnu 
> > compiling tools, 
> > and no matter what I do, I get stuck with the following error 
> > when "make" tries to link check_disk binary:
> > 
> >         gcc  -g -O2  -L. -o check_disk  check_disk.o 
> > utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf
> > ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
> > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
> > information.
> > collect2: ld returned 8 exit status
> > make: 1254-004 The error code from the last command is 1.
> > 
> > 
> > Also according to the the config.log file the getloadavg() 
> > function is 
> > missing on the system:
> > 
> > configure:3837: checking for getloadavg
> > configure:3887: gcc -o conftest -g -O2   conftest.c  >&5
> > ld: 0711-317 ERROR: Undefined symbol: getloadavg
> > 
> >  So nagios-plugins defines its own getloadavg() in 
> getloadavg.c file,
> > but still it doesn't seem to work properly under AIX 5.2.
> > 
> > Any ideas or workaround will be appreciated.
> > Thanks,
> > Tomas
> > 
> > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it
> > help you create better code?  SHARE THE LOVE, and help us help
> > YOU!  Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > 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
> > 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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
> 


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
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
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.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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