On Tue, 2007-05-22 at 15:19 +0200, Spies, Dominik wrote: > Hi! > > I finished step one of my APIPA Module today, but there are some > remaining problems, espacially the include thing I sent on the list this > morning. > > I think this APIPA module is fully compliant to RFC 3927 and works ok. > There are some thing to do, so e.g. reset all TCP-Connections at a > retreat and cooperation with the dhcp client. > > It would be great if some guys could have a quick look over it, maybe > compile it and give me a hint with the compiler-warning thing: > > warning: 'struct etharp_hdr' declared inside parameter list > lwip/include/lwip apipa.h line 93
This is a C question, rather than an lwIP question, but the above error suggests that when the compiler gets to that line in lwip_apipa.h, it has not yet included etharp.h (or whatever the file is that defines struct etharp_hdr). Make sure that in the lwip_apipa.h header you have included this file before you refer to struct etharp_hdr. Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
