11 years, 8 months ago.

Compiler error in ip_addr.h exported and using GCC

I'm getting the following errors attempting to compile a project that I exported to my local PC using gcc. I've searched and not found this. Anyone have any idea as to what I need to change? Forgive my ignorance. Thanks.

In file included from ./NetServices/lwip/include/lwip/netif.h:41:0, from ./NetServices/lwip/include/netif/slipif.h:37, from NetServices/lwip/netif/slipif.c:45: ./NetServices/lwip/include/ipv4/lwip/ip_addr.h:54:1: error: expected '=', ',', ';', 'asm' or 'attribute' before 'struct' ./NetServices/lwip/include/ipv4/lwip/ip_addr.h:75:1: error: expected '=', ',', ';', 'asm' or 'attribute' before 'struct' make: * [NetServices/lwip/netif/slipif.o] Error 1

2 Answers

11 years, 8 months ago.

The GCC toolchains are not yet officially supported to build our networking stack: we have not yet investigated these toolchain incompatibilities.

Accepted Answer
Ivey Cole
poster
10 years, 11 months ago.

Thanks to Adam Green I now have my project compiling offline. Adam has contributed a lot to the MBED community. My project currently is simple, sends the temperature of n number of sensors to my email address every 30 minutes. Hope to add a good rain gauge in the future so that I can monitor the temp and rainfall at my ranch which is about 130 miles away.