[Bugme-new] [Bug 16510] New: LINUX_VERSION_CODE undefined in include/linux/version.h

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Wed Aug 4 00:13:43 PDT 2010


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: other_configuration at kernel-bugs.osdl.org
        ReportedBy: jd1008 at gmail.com
        Regression: No


I 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.o
kernel/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.

-- 
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.


More information about the Bugme-new mailing list