[EMAIL PROTECTED] wrote: > Revision: 16909 > http://net-snmp.svn.sourceforge.net/net-snmp/?rev=16909&view=rev > Author: dts12 > Date: 2008-05-08 07:00:16 -0700 (Thu, 08 May 2008) > > Log Message: > ----------- > Drop support for the interim SIOCDEVPRIVATE-based ioctl calls. > SIOCGMIIPHY/SIOCGMIIREG have been defined since at least Sept 2001 (kernel > 2.4.10), > so the risk of calling an inappropriate private ioctl is probably greater than > that of missing information from an ancient system.
That change broke the build on at least RedHat Linux 7.1 (kernel 2.4.20) for all branches (affecting both 5.2.5.rc1 and 5.4.2.pre1): /home/anders/src/net-snmp-5.5svn/agent/mibgroup/if-mib/data_access/interface_linux.c:845: error: `SIOCGMIIPHY' undeclared (first use in this function) /home/anders/src/net-snmp-5.5svn/agent/mibgroup/if-mib/data_access/interface_linux.c:845: error: (Each undeclared identifier is reported only once /home/anders/src/net-snmp-5.5svn/agent/mibgroup/if-mib/data_access/interface_linux.c:845: error: for each function it appears in.) /home/anders/src/net-snmp-5.5svn/agent/mibgroup/if-mib/data_access/interface_linux.c:856: error: `SIOCGMIIREG' undeclared (first use in this function) Looks like an #ifdef is needed here. +Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
