Subject: | SNMP.xs:1148: `RECEIVED_MESSAGE' |
[root@cwitsmon SNMP-4.2.0]# perl Makefile.PL -NET-SNMP-PATH=/usr/include
Writing Makefile for SNMP
Unable to locate the MIBs, Please enter the path: [/usr/include/sbin] /usr/share/snmp/mibs
[root@cwitsmon SNMP-4.2.0]# make
gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g -DVERSION=\"4.2.0\" -DXS_VERSION=\"4.2.0\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" SNMP.c
SNMP.xs: In function `__snmp_xs_cb':
SNMP.xs:1148: `RECEIVED_MESSAGE' undeclared (first use in this function)
SNMP.xs:1148: (Each undeclared identifier is reported only once
SNMP.xs:1148: for each function it appears in.)
SNMP.xs:1218: `TIMED_OUT' undeclared (first use in this function)
SNMP.xs: In function `_bulkwalk_async_cb':
SNMP.xs:1519: `RECEIVED_MESSAGE' undeclared (first use in this function)
SNMP.xs:1552: `TIMED_OUT' undeclared (first use in this function)
SNMP.xs: In function `XS_SNMP__trapV1':
SNMP.xs:3791: structure has no member named `address'
SNMP.xs:3792: structure has no member named `address'
SNMP.xs:3797: structure has no member named `address'
make: *** [SNMP.o] Error 1