Red Hat Bugzilla – Bug 43351
Error from Imake: "PreProcessCmd" redefined
Last modified: 2007-04-18 12:33:33 EDT
imake -DUseInstalled -I/usr/X11R6/lib/X11/config -DLINUX_DIST -DTOPDIR=.
/usr/X11R6/lib/X11/config/linux.cf:590: warning: "PreProcessCmd" redefined
/usr/X11R6/lib/X11/config/host.def:13: warning: "PreProcessCmd" redefined
It's just a harmless warning. There were problems with some ASM being compiled
using gcc -E in Mesa, so I forced cpp to be used instead.. The warning is
there just telling me that I forgot to use "undef PreProcessCmd" before
redefining it. Technically, IMHO the XFree86 Imake templates should check
to see if PreProcessCmd is set first.. ;o)
I believe that my 4.1.0 build doesn't need this anymore, but I'll leave the
report open until I've verified it.
Yep, I just looked and what was happening back then is that one of our
ancient patches was setting PreProcessCmd in linux.cf (not the proper way
to do this), and then my Imake directives in host.def were doing so as well.
Both have been removed for a week or so as they seem unneeded now.
XFree86 4.1.0-0.0.3 or later is the good bits. ;o)