Compiling nagios-plugins-1.3.1 on AIX 5.2

Ewan Leith ejl at man.fwltech.com
Thu Dec 4 11:20:50 CET 2003


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





More information about the Users mailing list