Problem compiling net-snmp 5.2.2 on RH9
Michael Chapman <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi there: I poked around and found mention of the exact problem I am having in the mailing list archives; this would be referencing patch number 1376177. Since I couldn't find that patch on sourceforge, I guess I was assuming it had been rolled into this build. Either I was mistaken, or something else is afoot: In file included from if-mib/data_access/interface_linux.c:27: /usr/include/pci/pci.h:29: parse error before "byte" /usr/include/pci/pci.h:30: parse error before "u8" /usr/include/pci/pci.h:31: parse error before "word" /usr/include/pci/pci.h:32: parse error before "u16" /usr/include/pci/pci.h:33: parse error before "u32" /usr/include/pci/pci.h:122: parse error before "word" /usr/include/pci/pci.h:127: parse error before "vendor_id" /usr/include/pci/pci.h:135: `access' redeclared as different kind of symbol /usr/include/unistd.h:260: previous declaration of `access' /usr/include/pci/pci.h:137: parse error before '*' token /usr/include/pci/pci.h:141: parse error before '}' token /usr/include/pci/pci.h:146: parse error before "pci_read_byte" /usr/include/pci/pci.h:147: parse error before "pci_read_word" /usr/include/pci/pci.h:148: parse error before "pci_read_long" /usr/include/pci/pci.h:149: parse error before "byte" /usr/include/pci/pci.h:150: parse error before "byte" /usr/include/pci/pci.h:151: parse error before "word" /usr/include/pci/pci.h:152: parse error before "u32" /usr/include/pci/pci.h:153: parse error before "byte" /usr/include/pci/pci.h:164: parse error before "byte" /usr/include/pci/pci.h:184: parse error before "u32" In file included from if-mib/data_access/interface_linux.c:29: /usr/include/linux/ethtool.h:15: parse error before "u32" /usr/include/linux/ethtool.h:17: parse error before "advertising" /usr/include/linux/ethtool.h:18: parse error before "speed" /usr/include/linux/ethtool.h:19: parse error before "duplex" /usr/include/linux/ethtool.h:20: parse error before "port" /usr/include/linux/ethtool.h:21: parse error before "phy_address" /usr/include/linux/ethtool.h:22: parse error before "transceiver" /usr/include/linux/ethtool.h:23: parse error before "autoneg" /usr/include/linux/ethtool.h:24: parse error before "maxtxpkt" /usr/include/linux/ethtool.h:25: parse error before "maxrxpkt" /usr/include/linux/ethtool.h:26: parse error before "reserved" /usr/include/linux/ethtool.h:27: parse error before '}' token /usr/include/linux/ethtool.h:32: parse error before "u32" /usr/include/linux/ethtool.h:40: parse error before "eedump_len" /usr/include/linux/ethtool.h:41: parse error before "regdump_len" /usr/include/linux/ethtool.h:47: parse error before "u32" /usr/include/linux/ethtool.h:49: parse error before "wolopts" /usr/include/linux/ethtool.h:50: parse error before "sopass" /usr/include/linux/ethtool.h:51: parse error before '}' token /usr/include/linux/ethtool.h:55: parse error before "u32" /usr/include/linux/ethtool.h:61: parse error before "u32" /usr/include/linux/ethtool.h:62: conflicting types for `version' /usr/include/linux/ethtool.h:34: previous declaration of `version' /usr/include/linux/ethtool.h:63: parse error before "len" /usr/include/linux/ethtool.h:64: parse error before "data" /usr/include/linux/ethtool.h:64: conflicting types for `data' /usr/include/linux/ethtool.h:56: previous declaration of `data' /usr/include/linux/ethtool.h:65: parse error before '}' token /usr/include/linux/ethtool.h:69: parse error before "u32" /usr/include/linux/ethtool.h:71: parse error before "offset" /usr/include/linux/ethtool.h:72: parse error before "len" /usr/include/linux/ethtool.h:73: parse error before "data" /usr/include/linux/ethtool.h:74: parse error before '}' token if-mib/data_access/interface_linux.c: In function `netsnmp_arch_interface_get_if_speed': if-mib/data_access/interface_linux.c:395: storage size of `edata' isn't known make[2]: *** [if-mib/data_access/interface_linux.lo] Error 1 make[2]: Leaving directory `/root/net-snmp-5.2.2/agent/mibgroup' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/root/net-snmp-5.2.2/agent' make: *** [subdirs] Error 1 Can anyone help me out here? Many many thanks in advance! Michael ------------------------------------------------------- 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_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users