Description of problem:
The /sbin/mkkerneldoth script that rc.sysinit runs to create the
/boot/kernel.h has a small omission in that it doesn't initialize the
SUMMIT variable to '0' like it does with the variables for all the
other kernel types. This means that /boot/kernel.h will end up with an
empty definition on a non-Summit box:
/lib/modules/`uname -r`/build/include/linux/rhconfig.h #includes
/boot/kernel.h and uses the definitions in its own #define statements.
When it tries to use the __BOOT_KERNEL_SUMMIT definition on line 31:
#if defined(__BOOT_KERNEL_SUMMIT) && (__BOOT_KERNEL_SUMMIT == 1)
it ends up using an empty value in the comparison, and will generate a
syntax error (no left operand) when compiling source that includes
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Include the rhconfig.h file mentioned in some source code
2. Attempt to preprocess/compile the source
An error message like
operator '(' has no left operand"
no error message
You need to upgrade to the errata.