From: <no...@so...> - 2002-06-25 16:06:57
|
Bugs item #572763, was opened at 2002-06-23 15:25 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=572763&group_id=12694 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Emil Obermayr (nobs) Assigned to: Nobody/Anonymous (nobody) Summary: compile fails: ifIndex undeclared Initial Comment: after a configure w/o any warnings, make ends like that: nobs@garou:/usr/local/src/net-snmp-5.0.1 7 0 $ make making all in /usr/local/src/net-snmp-5.0.1/snmplib make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/local/src/net-snmp-5.0.1/snmplib« make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/src/net-snmp-5.0.1/snmplib« making all in /usr/local/src/net-snmp-5.0.1/agent make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/local/src/net-snmp-5.0.1/agent« making all in /usr/local/src/net-snmp-5.0.1/agent/helpers make[2]: Wechsel in das Verzeichnis Verzeichnis »/usr/local/src/net-snmp-5.0.1/agent/helpers« make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/src/net-snmp-5.0.1/agent/helpers« making all in /usr/local/src/net-snmp-5.0.1/agent/mibgroup make[2]: Wechsel in das Verzeichnis Verzeichnis »/usr/local/src/net-snmp-5.0.1/agent/mibgroup« /bin/sh ../../libtool --mode=compile gcc -O2 -march=athlon -Dnone -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -c -o mibII/at.lo mibII/at.c gcc -O2 -march=athlon -Dnone -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -c mibII/at.c -o mibII/at.o mibII/at.c: In function `ARP_Scan_Next': mibII/at.c:647: `ifIndex' undeclared (first use in this function) mibII/at.c:647: (Each undeclared identifier is reported only once mibII/at.c:647: for each function it appears in.) make[2]: *** [mibII/at.lo] Fehler 1 make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/src/net-snmp-5.0.1/agent/mibgroup« make[1]: *** [subdirs] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/src/net-snmp-5.0.1/agent« make: *** [subdirs] Fehler 1 ---------------------------------------------------------------------- >Comment By: Dave Shield (dts12) Date: 2002-06-25 17:06 Message: Logged In: YES user_id=88893 Given the location of the error, I'm presuming this is on a Linux box. That particular variable is only declared if the token ARP_SCAN_FOUR_ARGUMENTS is defined - which should be done in the file 'include/net-snmp/system/linux.h' What is the value of SYSTEM_INCLUDE_FILE in the file include/net-snmp/net-snmp-config.h ?? Dave ---------------------------------------------------------------------- Comment By: Niels Baggesen (nba) Date: 2002-06-24 22:13 Message: Logged In: YES user_id=88647 What OS is this? The -Dnone on the gcc line looks very suspicious ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=572763&group_id=12694 |