On Thu, 2005-12-08 at 14:36 +0900, sunsson wrote:
> When I compile(./make) the source after “./configure”,
> I met this error.
> But I don’t know this error.

Try the following patch:

--- interface_linux.c 15 Jun 2005 21:39:50 -0000      1.20.2.4
+++ interface_linux.c 8 Dec 2005 10:29:45 -0000
@@ -24,6 +24,7 @@

 #ifdef HAVE_LINUX_ETHTOOL_H
 #   ifdef HAVE_PCI_PCI_H
+#      include <asm/types.h>
 #      include <pci/pci.h> /* for u32 typedef in linux/ethtool */
 #   endif /* HAVE_PCI_PCI_H */
 #include <linux/ethtool.h>


(applied to agent/mibgroup/if-mib/data_access/interface_linux.c)

It's not quite the same as the official patch that I'm about
to make available, but it should have the required effect.


Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to