I am slowly making progress on compiling NetSNMP v5.4 into our Linux
environment, however, I get the following error which I can not figure out how
to solve. Seems like a patch should exist for this error, but I do not know
how one determines whether/where a patch a exists.
Will someone please tell me whether a patch exists to fix this problem? I
already download v5.4.1 and looked for a solution but I do not think it exists
in there yet.
The error is simply caused by accessing a variable which does not exist. I can
see why this happens, just do not know the correct fix to apply.
Here is the error:
/bin/sh ../libtool --mode=compile mipsel-uclibc-g++ -I../include
-I/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp/include -I.
-I../agent -I/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp/agent
-I../agent/mibgroup
-I/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp/agent/mibgroup
-I../snmplib -I/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp/snmplib
-x c -Ulocalhost -Dlocalhost=localhost -c -o mibgroup/mibII/at.lo
mibgroup/mibII/at.c
mipsel-uclibc-g++ -I../include
-I/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp/include -I.
-I../agent -I/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp/agent
-I../agent/mibgroup
-I/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp/agent/mibgroup
-I../snmplib -I/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp/snmplib
-x c -Ulocalhost -Dlocalhost=localhost -c mibgroup/mibII/at.c -o
mibgroup/mibII/at.o
mibgroup/mibII/at.c: In function `ARP_Scan_Next':
mibgroup/mibII/at.c:727: error: `ifIndex' undeclared (first use in this
function)
mibgroup/mibII/at.c:727: error: (Each undeclared identifier is reported only
once
mibgroup/mibII/at.c:727: error: for each function it appears in.)
make[2]: *** [mibgroup/mibII/at.lo] Error 1
make[2]: Leaving directory
`/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp/agent'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/export/home/rosent1/vegasCC/1.97/buildsys/A506/netsnmp'
make: *** [net-snmp-make] Error 2
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders