[Nagiosplug-devel] (no subject)
Arnold Wang
awang at qrs.com
Thu Aug 12 11:11:09 CEST 2004
I tried with gcc 3.3.2 and I passed the "gettext" error now. I'm having an
error of unknown symbol of .VA_COPY. This seems point me back to Eric's
patch about misplaced VA_COPY.
gcc -g -O2 -L. -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
-----Original Message-----
From: Arnold Wang
Sent: Wednesday, August 11, 2004 5:01 PM
To: 'Tim Brazil'
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Thanks for the info. I'll give a try.
-----Original Message-----
From: Tim Brazil [mailto:brazil at sendmail.com]
Sent: Wednesday, August 11, 2004 5:00 PM
To: Arnold Wang
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: Re: [Nagiosplug-devel] (no subject)
According to the info I sent previous, it's fixed in gcc-3.0.
DISCLAIMER, this is info I gleaned from the internet ;)
"This is gcc's bug, and fixed at 01-05-25.
gcc-2.95.3 don't contains this fix, but gcc-3.0 contains this fix."
Arnold Wang wrote:
>I'm using gcc.
># gcc -v
>Reading specs from
>/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/2.9-aix51-020209/specs
>gcc version 2.9-aix51-020209
>#
>
>-----Original Message-----
>From: Tim Brazil [mailto:brazil at sendmail.com]
>Sent: Wednesday, August 11, 2004 4:41 PM
>To: Arnold Wang
>Cc: nagiosplug-devel at lists.sourceforge.net
>Subject: Re: [Nagiosplug-devel] (no subject)
>
>
>Someone else is also experiencing the same problem
>
>http://article.gmane.org/gmane.network.nagios.plugins.devel/1180
>
>According to this is may be a gcc problem. Which compiler are you using?
>
>http://lists.gnu.org/archive/html/bug-gnu-utils/2003-06/msg00404.html
>
>
>Arnold Wang wrote:
>
>
>
>>I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
>>received the following error messages:
>>
>>gcc -g -O2 -L. -o check_disk check_disk.o utils.o
>>../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
>>
>>ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
>>
>>ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
>>
>>ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
>>
>>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.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 1.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 2.
>>
>>Stop.
>>
>>I searched the list and run into the following message, however I
>>couldn't find the patch anywhere. Can someone kind enough to tell me
>>where the patch is? It looks should fix my problem.
>>
>>
>>
>>>From: Eric Lauriault <elauri at la...>
>>>aix 5.2 patch for nagios-plugins-1.4.0alpha1
>>>
>>>
>><http://sourceforge.net/mailarchive/message.php?msg_id=8616809>
>>
>>
>>>2004-05-27 13:03
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>>Hi,
>>>
>>>
>>
>>
>>
>>>Here"s a small patch I wrote for aix 5.2. It fixes compilation issues
>>>
>>>
>>>due to misplacement of a VA_COPY and an infinite loop while in
>>>
>>>
>>>read_filesystem_list.
>>>
>>>
>>
>>
>>
>>>Enjoy!
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>>Eric Lauriault, eric at la...
>>>
>>>
>>>Analyste/Administrateur UNIX/telecom/reseau
>>>
>>>
>>>La Cite collegiale
>>>
>>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>Nagiosplug-devel mailing list
>Nagiosplug-devel at lists.sourceforge.net
>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
>
>
More information about the Devel
mailing list