Compiling nagios-plugins-1.3.1 on AIX 5.2
MT Morales
nagios at pensol.net
Thu Dec 4 00:12:44 CET 2003
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
More information about the Users
mailing list