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 us.netrek.org
[mailto:netrek-dev-bounces at us.netrek.org] 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:

distress.h:14:
extern struct dmacro_list dist_defaults[];

distress.h:15
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.

Zach

_______________________________________________
netrek-dev mailing list
netrek-dev at us.netrek.org
http://mailman.us.netrek.org/mailman/listinfo/netrek-dev