CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/opt/X11/include
< LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/opt/X11/lib
< XLIBS = -lXm -lXt -lXext -lXmu -lX11
the above part has no value for my situation since nothing lives in /opt/X11 on my system
earlier OSes put it in /usr/X11
I put the EXACT stuff otherwise in the makefile and the EXACT same compile error is kicked as I posted a little earlier.
This problem seems to lie with the XM files in ../../libXm/osx? though they did work on the same system at least with xephem-4.0.1
The xephem-4.0.0 fails to compile by the way because of an error in versionmenu.c a missing { or } near an instance of the word Software
The normal way I fixed it was to blow a versionmenu.c from 4.0.1 over the 4.0.0 version of versionmenu.c? under OSX LION it will then compile under 10.5.8 it kicks the same error as does the compile from 4.1.0
-Karl