[Nagiosplug-help] Nagios plug-in compile error

Xiao Song Song.Xiao at technicolor.com
Thu Apr 8 03:57:30 CEST 2010


Tomas,

I tried the versions you mentioned, the compilation still showed the same error.

Thanks
Song

-----Original Message-----
From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] 
Sent: 2010年4月7日 20:22
To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] Nagios plug-in compile error

* PGP Signed by an unknown key

On 07/04/10 06:29 AM, Xiao Song wrote:
> Dear Nagios team,
> 
>  
> 
> I got the following error when I tried to compile the nagios plug-in on
> a Solaris 8 machine with GCC 3.4.2.
> 
>  
> 
> ============
> 
> /bin/bash ../libtool --tag=CC    --mode=link
> /usr/local/gcc/usr/local/bin/gcc -m64 -g -O2 -m64  -L.
> -L/usr/local/ssl/lib -o pst3 pst3-pst3.o  -lpthread -ldl
> 
> /usr/local/gcc/usr/local/bin/gcc -m64 -g -O2 -m64 -o pst3 pst3-pst3.o 
> -L/root/nagios-plugins-1.4.14/plugins-root -L/usr/local/ssl/lib
> -lpthread -ldl
> 
> Undefined                           first referenced
> 
>  symbol                                in file
> 
> rpl_open                            pst3-pst3.o
> 
> rpl_strerror                        pst3-pst3.o
> 
> ld: fatal: Symbol referencing errors. No output written to pst3
> 
> collect2: ld returned 1 exit status
> 
> *** Error code 1
> 
> make: Fatal error: Command failed for target `pst3'
> 
> Current working directory /root/nagios-plugins-1.4.14/plugins-root
> 
> *** Error code 1
> 
> make: Fatal error: Command failed for target `all-recursive'
> 
> Current working directory /root/nagios-plugins-1.4.14
> 
> *** Error code 1
> 
> make: Fatal error: Command failed for target `all'
> 
> ==============

This is a known gnulib bug - tried to fix it some time ago but for some
reason I don't remember, it never made it to the code repository. It may
have broke some other things, or maybe the bug just wasn't fixed.

You can try one of these snapshots from
http://dermoth.users.sourceforge.net/snapshot/:

 nagios-plugins-gnulib_reimport.tar.gz    10-Nov-2009 10:56  1.9M
 nagios-plugins-gnulib_update.tar.gz      10-Nov-2009 10:55  1.9M

If you get an error with these please let me know, I'll try some newer
version and if it's still broken I can report any bug to their mailing list.

Thanks

--
Thomas

* Unknown Key
* 0xDE417216(L)


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: 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 Help mailing list