ld: 0711-317 ERROR: Undefined symbol: .VA_COPY <-- Can anyone tell me how to fix this????
Kenneth Klein
kklein9 at uky.edu
Fri Jul 1 16:15:35 CEST 2005
Thanks for the advice.
"to the top of the file" <-- which file are you referring to? Makefile?
The systems I am working on all run AIX 5.3. I do have Linux (SLES)
running on one partition in one of our 3 p570's, but the AIX LPARs are
the ones I want to monitor.
Andreas Ericsson wrote:
> Kenneth Klein wrote:
>
>> I finally got nagios to "make all" and make etc. Then I dl.ed the
>> source for the plugins, I grabbed the latest stable verson.
>>
>> I got this error when I ran make all.
>>
>> ar: Creating an archive file libsnprintf.a.
>> gcc -g -O2 -L. -L/lib -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.
>>
>
> The configure script seems to not have picked up that your system
> can't handle the VA_COPY macro properly. There are macros for it in
> lib/snprintf.c which can circumvent this. Adding
> #undef HAVE_VA_COPY
> #undef HAVE__VA_COPY
> to the top of the file should at least make the plugins compile,
> although I can't guarantee they won't segfault en masse. That will
> depend on your systems vsprintf() implementation.
>
> If it's at all possible, you should try running Nagios on either Linux
> or *BSD. Older systems doesn't have the asprintf() function and the
> current plugin distribution sadly relies heavily on it being there.
>
--
I am told that the US spent a lot of money trying to find a pen that
would write in weightlessness. They showed the "Space Pen" to the
competing Russians. They showed the US reps - a pencil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050701/45e1c791/attachment.html>
More information about the Users
mailing list