Bug 77523 - 2.4.18-17.7.x fails to compile when CONFIG_MODVERSIONS=y
2.4.18-17.7.x fails to compile when CONFIG_MODVERSIONS=y
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
7.3
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-08 09:55 EST by Peter Collinson
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-11-08 10:39:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Collinson 2002-11-08 09:55:54 EST
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 
	struct cpuinfo_x86
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):


How reproducible:
Always

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.

Additional info:
Comment 1 Arjan van de Ven 2002-11-08 10:39:25 EST
looks like you forgot make mrproper as first step..
Comment 2 Peter Collinson 2002-11-08 10:51:09 EST
Yep - thanks for not saying RTFM!

Note You need to log in before you can comment on or make changes to this bug.