Compiling Plugins help (newbie)
Andreas Ericsson
ae at op5.se
Thu Apr 14 01:23:04 CEST 2005
Try make -i on the plugins and download the check_icmp at
http://oss.op5.se/nagios, unpack and compile (make only, no configure).
Calvin Crutchfield wrote:
> I'm hoping this is a simple problem. I have installed nagios and the web
> interface and I moved on to the plugins. Im using the README from the
> plugins directory.
>
> Please direct me wise ones...
>
> ********* Output from the plugin ./configure is:
>
> config.status: creating po/Makefile
> --with-cgiurl: /nagios/cgi-bin
> --with-nagios-user: nagios
> --with-nagios-group: nagios
> --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin
> --with-ping-command: /usr/sbin/ping -n -s %s 56 %d
> --with-ping6-command:
> --with-lwres: no
> --with-ipv6: yes
> --with-openssl: no
> --enable-emulate-getaddrinfo: no
>
>
> ********* But, when I attempt a make I get:
>
> # make
> make all-recursive
> Making all in intl
> Making all in lib
> make all-am
> Making all in plugins
> gcc -g -O2 -L. -o check_icmp check_icmp.o ../intl/libintl.a -lgen
> -lsocket
> Undefined first referenced
> symbol in file
> gethostbyname check_icmp.o (symbol belongs to
> implicit dependency /usr/lib/libnsl.so.1)
> inet_addr check_icmp.o (symbol belongs to
> implicit dependency /usr/lib/libnsl.so.1)
> inet_ntoa check_icmp.o (symbol belongs to
> implicit dependency /usr/lib/libnsl.so.1)
> ld: fatal: Symbol referencing errors. No output written to check_icmp
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `check_icmp'
> Current working directory /space/nagios-plugins-1.4/plugins
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /space/nagios-plugins-1.4
> *** Error code 1
> make: Fatal error: Command failed for target `all'
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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