logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

SNMP help: msg#00217

lang.perl.beginners

Subject: SNMP help

Hi all,

I've installed the ucd-snmp tools (ver. 4.2.4) on my RH7.0 box and am having
problems getting the Perl SNMP module installed. I've tried the one included
with the ucd-snmp distribution as well as downloading directly from CPAN and no
joy.

I've tried the RTFM route but the install directions are a bit sparse and don't
indicate why I'm getting the following errors upon install. If someone could
point me to in the right direction that would be great.

Thanks in advance,

Ben

Here's the output from my attempt at compiling the Net::SNMP module:

[root@chxadmu08 SNMP-4.2.0]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for SNMP
[root@chxadmu08 SNMP-4.2.0]# make
gcc -c -I/usr/include -fno-strict-aliasing -O2 -march=i386 -mcpu=i686 -DVERS
ION=\"4.2.0\" -DXS_VERSION=\"4.2.0\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/COR
E SNMP.c
SNMP.xs: In function `__translate_appl_type':
SNMP.xs:331: `TYPE_INTEGER32' undeclared (first use in this function)
SNMP.xs:331: (Each undeclared identifier is reported only once
SNMP.xs:331: for each function it appears in.)
SNMP.xs:333: `TYPE_UNSIGNED32' undeclared (first use in this function)
SNMP.xs:364: `TYPE_NOTIFTYPE' undeclared (first use in this function)
SNMP.xs: In function `__get_type_str':
SNMP.xs:581: `TYPE_INTEGER32' undeclared (first use in this function)
SNMP.xs:584: `TYPE_UNSIGNED32' undeclared (first use in this function)
SNMP.xs:624: `TYPE_NOTIFTYPE' undeclared (first use in this function)
SNMP.xs: In function `XS_SNMP__MIB__NODE_FETCH':
SNMP.xs:4548: structure has no member named `varbinds'
SNMP.xs:4548: dereferencing pointer to incomplete type
SNMP.xs:4549: dereferencing pointer to incomplete type
SNMP.xs:4549: dereferencing pointer to incomplete type
SNMP.xs:4557: structure has no member named `defaultValue'
make: *** [SNMP.o] Error 1





Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo