New: LINUX_VERSION_CODE undefined in include/linux/version.h
Hi,
Please look at the messages in this kernel bugzilla.
include/linux/version.h is incompletely generated (using ksh).
---------------------------------------------------------------------------------
Begin forwarded message:
Date: Wed, 4 Aug 2010 07:13:43 GMT
From: [email protected]
To: [email protected]
Subject: [Bugme-new] [Bug 16510] New: LINUX_VERSION_CODE undefined in include/linux/version.h
https://bugzilla.kernel.org/show_bug.cgi?id=16510
Summary: LINUX_VERSION_CODE undefined in
include/linux/version.h
Product: Other
Version: 2.5
Kernel Version: 2.6.35
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Configuration
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: NoI had just run make oldconfig followed by make xconfig on linux-2.6.35. During make, I got the following compilation error:
CC kernel/irq/autoprobe.okernel/power/snapshot.c: In function ‘init_header_complete’:kernel/power/snapshot.c:1547: error: expected expression before ‘;’ token kernel/power/snapshot.c: In function ‘check_image_kernel’:kernel/power/snapshot.c:1553: error: expected expression before ‘)’ token make[2]: *** [kernel/power/snapshot.o] Error 1
make[1]: *** [kernel/power] Error 2
make[1]: *** Waiting for unfinished jobs....
So, I looked at lines 1547 and 1553
and the problem was that LINUX_VERSION_CODE
was left undefined in include/linux/version.h
My .config file is attached.
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***