Apparently gcc on EPEL7 pcc64 defines a macro named "pixel". This breaks
imake in nx-libs:
In file included from ../../../../../config/cf/Imake.tmpl:2158:0,
from Imakefile.c:36:
../../../../../config/cf/X11.tmpl:1704:0: warning:
"UseInstalledOnCrossCompile" is not defined [-Wundef]
# elif UseInstalledOnCrossCompile
^
In file included from ./Imakefile:25:0,
from ../../../../../config/cf/Imake.tmpl:2194,
from Imakefile.c:36:
./../../../../../lib/GL/mesa/main/Imakefile.inc:59:0: error: detected
recursion whilst expanding macro "pixel"
$(MESABUILDDIR)pixel.c \
^
Perhaps this will only cause problems in imake, but I suspect it may trip
people up elsewhere so I'm mentioning it here. I've fixed my build by adding
an "#undef pixel".
HTH,
Orion
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
http://www.nwra.com