I second you, when LWIP_SNMP option is not set, init.c does not compile
I got the following error
sh4gcc -O3 -ml -m4 -DPOSIX_RTOS -DST_OS21 -Wall -c
-Ihead/lwip/src/include -Ihead/lwip/src/include/ipv4 -Iidw_include -c
head/lwip/src/core/init.c -o hea d/target/st40/obj/init.o
In file included from head/lwip/src/core/init.c:53:
head/lwip/src/include/lwip/snmp_msg.h:239: error: field 'ext_name_ptr'
has incomplete type
head/lwip/src/include/lwip/snmp_msg.h:240: error: field
'ext_object_def' has incomplete type
head/lwip/src/include/lwip/snmp_msg.h:241: error: field 'ext_oid' has
incomplete type
attached patch fix this.
regards,
2009/5/5 Bill Auerbach <address@hidden
<mailto:address@hidden>>
I think we need an #if LWIP_SNMP wrapper around this file – I get
build errors without it (current head).
Bill
_______________________________________________
lwip-devel mailing list
address@hidden <mailto:address@hidden>
http://lists.nongnu.org/mailman/listinfo/lwip-devel
------------------------------------------------------------------------
_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel