about Compiling Error

Subhendu Ghosh sghosh at sghosh.org
Fri Mar 16 05:20:08 CET 2007


On Sat, 10 Mar 2007, yokoyoko at rd.aisin.co.jp wrote:

> Hi !
>
> I got the following errors when compiling nagios plugins (1.4.6)
>
> check_snmp.c: In function `main':
> check_snmp.c:187: `PATH_TO_SNMPGETNEXT' undeclared (first use in this
> function)
> check_snmp.c:187: (Each undeclared identifier is reported only once
> check_snmp.c:187: for each function it appears in.)
> make[2]: *** [check_snmp.o] Error 1
> make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4.6/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.6'
> make: *** [all] Error 2
>

You are missing net-snmp on your systems. Check your distro's repository 
and intall.

You should have also seen a configure error before make. Looks like 
configure was run on one system and make on another.

-- 
-sg

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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