Does not copy generated include files to proper place

Bug #574785 reported by EPx
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kernel-package (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: kernel-package

Not sure if this is a bug or an expected "feature" for people that need to compile kernels. The packaging process generates include/generated/*.h files which are not copied into include/linux, and are not included in linux-headers package.

This makes e.g. VMWare Tools compilation to fail. Workaround is to copy manually:

cd /usr/src/linux-2.6.34-rc5
cp include/generated/*.h include/linux/

Another related thing is that /lib/modules/<version> symlinks point to the /usr/src/linux-<version> source tree, and not to the linux-headers folder /usr/src/linux-headers-<version>, so even if linux-headers did include the mentioned files, they would not be found, and the workaround would be to change the symlinks.

Ubuntu version: Lucid
Latest kernel-package
Kernel being compiled: 2.6.34-rc5

Revision history for this message
EPx (elvis-pfutzenreuter) wrote :

Actually, the include/generated files ARE included in linux-headers package.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.