Red Hat Bugzilla – Bug 77523
2.4.18-17.7.x fails to compile when CONFIG_MODVERSIONS=y
Last modified: 2007-04-18 12:48:14 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (Win98; U)
Description of problem:
The kernel build fails when making modules. It seems that the file:
include/linux/modules/ksyms.ver is saying:
#define loops_per_jiffy _set_ver(loops_per_jiffy)
and loops_per_jiffy is a member of a structure
that is broken by this definition. The structure entry becomes
unsigned long loops_per_jiffy_R_ver_str(ba497f13);
which isn't legal.
Since the default for the config program is to enable this flag, it causes great confusion with Linux novices
like me - who really expect that kernels from Redhat should compile..
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start with a fresh kernel and no .config file
2. Run make config and select nothing - simply save the file
3 make clean
4 make dep
5 make bzImage
6 make modules
Actual Results: Compilation dies - in my case in module - cdrom.c. Sorry I have lost the actual results since I found the workaround
for the problem.
Expected Results: The kernel should compile.
looks like you forgot make mrproper as first step..
Yep - thanks for not saying RTFM!