Problem compiling the webserver demo for ARM7

mkrug wrote on Tuesday, January 05, 2010:


I discover an other problem compiling the webserver demo. I get the compiler error:

`uip.h:1473: error: conflicting types for ‘PACK_STRUCT_END’`

In uip.h are a few structs which end by `} PACK_STRUCT_END;`
Does anyone has a hint how to get rid of the compiler error ?

Best Regards

davedoors wrote on Wednesday, January 06, 2010:

Well I can only guess that you have it defined in more than one place. Normally with this sort of error there will be a second line that says “previous definition was here”. If not then look at the makefile to see if there is a -DPACK_STRUCT_END definition in there.