On Tue, 24 Aug 2004 15:42:37 +0900 (JST) Akihiro wrote:
AI> I try to make cvs source on FreeBSD 4.8, But can not.
AI> Because of
AI>     #define if_type         if_data.ifi_type
AI> at /usr/include/net/if_var.h .
AI> 
AI> problem code is mibII/interfaces.c .
AI> 
AI> ../../include/net-snmp/data_access/interface.h: At top level:
AI> 
AI> ***********************
AI> 
AI> line 93 at include/net-snmp/data_access/interface.h
AI> 
AI> typedef struct netsnmp_interface_entry_s {
AI> 
AI>     int     if_type;                <---  !!!!
AI> 
AI> But gcc rewrite like this.
AI> 
AI>     int     if_data.ifi_type ;   <---- !!!!
AI> 
AI> reason is /usr/include/net/if_var.h .
AI> 
AI> #define if_type         if_data.ifi_type    <---- !!!!

Fixed. This code was copied out of interfaces, but was previously protected
with an ifdef linux. As suggested, the structure members have been renamed.

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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

Reply via email to