Warning for missing header

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-14-2005
Kelvin Moss
 
Posts: n/a
Default Warning for missing header

--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&nbsp; &lt;ucd-snmp/util_funcs.h&gt;, 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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:35 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0