This is a discussion on Warning for missing header within the SNMP Coders forums, part of the Networking and Network Related category; --0-1618882321-1110803590=:18501 Content-Type: text/plain; charset=us-ascii Hi all, I use Net-SNMP 5.0.9 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--0-1618882321-1110803590=:18501
Content-Type: text/plain; charset=us-ascii Hi all, I use Net-SNMP 5.0.9 on Linux Enterprise AS 3. I am using the function header_generic in my code. I get a warning with make -- my_mib.c:420: warning: implicit declaration of function `header_generic' I tried to include <ucd-snmp/util_funcs.h>, which has the relevant declarartion...I now get -- /usr/include/ucd-snmp/util_funcs.h:7:2: #error "Please update your headers or configure using --enable-ucd-snmp-compatibility" I read about ./configure --enable-ucd-snmp-compatibility, but I haven't built Net-SNMP ( I am just using what RPM has delivered to me). Any suggestions as to what I need to do to get away with the warning ? Thanks in advance. --------------------------------- Do you Yahoo!? Yahoo! Small Business - Try our new resources site! --0-1618882321-1110803590=:18501 Content-Type: text/html; charset=us-ascii <DIV>Hi all,<BR> <BR>I use Net-SNMP 5.0.9 on Linux Enterprise AS 3. I am using the function <BR>header_generic in my code. I get a warning with make --<BR> <BR>my_mib.c:420: warning: implicit declaration of function <BR>`header_generic'<BR><BR>I tried to include <ucd-snmp/util_funcs.h>, which has the relevant <BR>declarartion...I now get --<BR> /usr/include/ucd-snmp/util_funcs.h:7:2: #error "Please update your <BR>headers or configure using --enable-ucd-snmp-compatibility"<BR> <BR>I read about ./configure --enable-ucd-snmp-compatibility, but I haven't <BR>built Net-SNMP ( I am just using what RPM has delivered to me).<BR> <BR>Any suggestions as to what I need to do to get away with the warning ?<BR> <BR>Thanks in advance. <BR></DIV><p> <hr size=1>Do you Yahoo!?<br> Yahoo! Small Business - <a href="http://us.rd.yahoo.com/evt=31637/*http://smallbusiness.yahoo.com/resources/">Try our new resources site!</a> --0-1618882321-1110803590=:18501-- ------------------------------------------------------- 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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |