In adt.c we include adt_event.h which has the following definition: extern struct msg_text adt_msg_text[];
struct msg_text is defined in adt_xlate.h. However, at this stage adt_xlate.h hasn't been installed. Even if it had, however, adt_xlate.h itself includes adt_event.h. I assume Sun Studio doesn't have a problem with having this type of declaration but gcc 4.2.3 is having a hard time. To cure this I could move the adt_msg_text[] declaration from adt_event.h to adt_xlate.h. Any advice/suggestions? Neale -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code