SNMP module vs minimal system configWhen LWIP_SNMP=0, these functions are not
"declared" but simply "defined" to nothing. No, you shouldn't got any build
errors. snmp.h is structured like this :
#if LWIP_SNMP
...
void snmp_delete_arpidx_tree(struct netif *ni, struct ip_addr *ip);
...
#else
...
#define snmp_delete_arpidx_tree(ni,ip)
....
#endif
----- Original Message -----
From: Rasmussen, Art N.
To: [email protected]
Sent: Thursday, November 29, 2007 12:48 AM
Subject: [lwip-users] SNMP module vs minimal system config
I am trying to build a minimal config of LWIP - per the 'minimal features'
page of the "makefiles" wiki page.
I have LWIP_SNMP set to zero in my lwipopts.h
There are many unsatisfied references when I link my executable.
There are quite a number of calls to snmp functions that are not 'protected'
by #ifdef LWIP_SNMP. Some of these are in etharp.c (snmp_delete_arpidx_tree @
about line 180, 390; snmp_insert_arpidx_tree at about 500); also in icmp.c,
ip.c, ip_frag.c, tcp.c, tcp-in.c, tcp_out.c.
Are these snmp functions needed, or can I add "#ifdef LWIP_SNMP" around them
and safely turn them off?
Thanks,
Art R.
PS As a newbie to using mailing lists, I'd very much appreciate suggestions
on how to doing simple stuff like -- how to post a reply to the list instead of
emailing someone's personal email (which is the only alternative I see on the
archives page, which is the recommended way to view the list according to the
'official' page at
http://lists.nongnu.org/mailman/listinfo/lwip-users
Any pointers greatly appreciated!
------------------------------------------------------------------------------
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users