On Mon, 14 Mar 2005 04:33:10 -0800 (PST) Kelvin wrote:
KM> I use Net-SNMP 5.0.9 on Linux Enterprise AS 3. I am using the function 
KM> header_generic in my code. I get a warning with make --
KM>  
KM> my_mib.c:420: warning: implicit declaration of function 
KM> `header_generic'
KM> 
KM> I tried to include  <ucd-snmp/util_funcs.h>, which has the relevant 
KM> declarartion...I now get --
KM>  /usr/include/ucd-snmp/util_funcs.h:7:2: #error "Please update your 
KM> headers or configure using --enable-ucd-snmp-compatibility"
KM>
KM> I read about ./configure --enable-ucd-snmp-compatibility, but I haven't 
KM> built Net-SNMP ( I am just using what RPM has delivered to me).
KM>  
KM> Any suggestions as to what I need to do to get away with the warning ?

Interesting.. Nobody has reported this, and it's still broken in 5.2.1. File a
bug report.

The only workaround would be to copy the prototype to your code or another
header file.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to