dmacro_list is not being defined.  Find out which header file has the
definition for that struct and make sure to include it prior to the extern
declarations which are generating the error.

-----Original Message-----
From: netrek-dev-bounces at
[mailto:netrek-dev-bounces at] On Behalf Of Zach
Sent: Saturday, August 04, 2007 5:13 AM
To: Netrek Development Mailing List
Subject: [netrek-dev] compile error

 -c -o colors.o colors.c
In file included from netrek.h:11,
                 from colors.c:9:
distress.h:14: error: array type has incomplete element type
distress.h:15: error: array type has incomplete element type
make: *** [colors.o] Error 1

I looked in distress.h and it seems fine:

extern struct dmacro_list dist_defaults[];

extern struct dmacro_list dist_prefered[];

Any idea how to fix this? I don't understand what is causing the
error. the struct definition is very straight forward.


netrek-dev mailing list
netrek-dev at