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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
To: bugme-new@xxxxxxxxxxxxxx
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: other_configuration@xxxxxxxxxxxxxxxxxxxx
        ReportedBy: jd1008@xxxxxxxxx
        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.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux