[Nagiosplug-devel] aix 5.2 compilation of nagios-plugin fails

Trevor Warren trevorwarren at gmail.com
Wed Nov 10 18:53:01 CET 2004


Hiyee Gunnar,

   I have found an email which says the following:

"From: Eric Lauriault <elauri at la...>
aix 5.2 patch for nagios-plugins-1.4.0alpha1  
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"

  Is this the same issue we are having for which Eric has written a
patch???. Can we still find eric on this mailing list??. Last, do you
want me to try out the CVS or you are sure it doesn't work???. If i
find any binaries/source that work, be rest assured i will drop all of
you an email.

Trevor
 



On Wed, 10 Nov 2004 10:45:02 -0500, Gunnar Hellekson
<g.hellekson at fivepointsconsulting.org> wrote:
> I'm having this same problem precisely with the CVS HEAD. If you make
> any headway, or find a source for binaries, I'd really appreciate it.
> 
> 
> 
> 
> On ٢٠٠٤/١١/١٠, at ٦:٠٩ ص, Trevor Warren wrote:
> 
> > Hello there folks,
> >
> >    I have been integrating Nagios for about 2-3 years now and really
> > find it a fantastic tool from Open Source when compared to the likes
> > of BMC patrol and Tivoli.
> >
> >   I am trying to compile some nagios plugins on my AIX 5.2 servers
> > which i am polling via nrpe. But the compilation seems to fail with
> > the following errors:
> >
> > Making all in plugins
> >         source='check_disk.c' object='check_disk.o' libtool=no
> > depfile='.deps/check_disk.Po' tmpdepfile='.deps/check_disk.TPo'
> > depmode=gcc
> > /bin/sh ../depcomp  gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
> > -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl       -g -O2
> > -maix32  -c `test -f 'check_disk.c' || echo './'`check_disk.c
> >         source='utils.c' object='utils.o' libtool=no
> > depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo'  depmode=gcc
> > /bin/sh ../depcomp
> > gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
> > -I. -I.. -I.. -I../lib -I../intl       -g -O2 -maix32  -c `test -f
> > 'utils.c' || echo './'`utils.c
> >         source='popen.c' object='popen.o' libtool=no
> > depfile='.deps/popen.Po' tmpdepfile='.deps/popen.TPo'  depmode=gcc
> > /bin/sh ../depcomp
> > gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
> > -I. -I.. -I.. -I../lib -I../intl       -g -O2 -maix32  -c `test -f
> > 'popen.c' || echo './'`popen.c
> >         gcc  -g -O2 -maix32   -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.
> >
> >
> >   I have looked about a lot and even found someone called eric who
> > might have had the same  issues. He says in his mail that he has
> > written a patch. Guys/Gals, is there a way i can get over this
> > issue???.  I have tried all version of nagios-plugin but all of them
> > fail to compile both on my 32/64 bit aix 5.2 boxes.
> >
> >   Do lemme know what you suggest and i shall try the same out.
> >
> > Trevor
> > --
> >          ___________________________________
> > ( >-   /  Scaling FreeSoftware & OpenSource        \   -< )
> > /~\   /           In the Enterprise                               \
> > /~\
> > |  \) \      | www.fsf.org | www.opensource.org |         /  (/ |
> > |_|_   \____________________________________/  _|_|
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Sybase ASE Linux Express Edition - download now for FREE
> > LinuxWorld Reader's Choice Award Winner for best database on Linux.
> > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > _______________________________________________
> > 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
> >
> >
> 
> 


-- 
         ___________________________________    
( >-   /  Scaling FreeSoftware & OpenSource        \   -< ) 
/~\   /           In the Enterprise                               \   /~\ 
|  \) \      | www.fsf.org | www.opensource.org |         /  (/ |
|_|_   \____________________________________/  _|_|




More information about the Devel mailing list