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.