xmkmf not working correctly
I tried to build chimera2. However, the Makefile generated from the
Imakefile by xmkmf leaves "LinuxMachineDefines" undefined, which leads
to command such as:
gcc -O -I. -I../port -I../common -I../chimera -I/usr/X11R6/include -I/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -D_REENTRANT -DX_LOCALE -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_UNISTD_H -DHAVE_STDDEF_H -DHAVE_UNAME -DHAVE_MKTIME -DHAVE_SIZE_T -DHAVE_SSIZE_T -DHAVE_STDARG_H -DFUNCPROTO=15 -DNARROWPROTO -c file.c -o file.o
gcc: cannot specify -o with -c or -S and multiple compilations
i.e. the LinuxMachineDefines is explicitly present...
I've traced it down to the fact that __alpha is not defined when imake
processes /usr/X11R6/lib/X11/config/linux.cf (that's where
LinuxMachineDefines is defined).
Anyone any idea? I've tried this with the xlib6g-dev_3.3.2.3a-1 and the
current one which was uploaded this week...
Paul Slootman
--
home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org
http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands
Reply to: