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

Bug#762452: linux-headers-3.14-0.bpo.2-amd64: Missing include/linux/version.h



On Mon, Sep 22, 2014 at 02:32:34PM +0200, Daniel Dehennin wrote:
> Package: linux-headers-3.14-0.bpo.2-amd64
> Version: 3.14.15-2~bpo70+1
> Severity: normal
> 
> Dear Maintainer,
> 
> I'm trying to build a DKMS module but I got the following error:
> 
>     checking whether make has GNU make $(if) extension... yes
>     checking for Linux build
>     directory... /lib/modules/3.14-0.bpo.2-amd64/build
>     checking for Linux source
>     directory... /usr/src/linux-headers-3.14-0.bpo.2-common
>     checking for kernel version... 3.14.15
>     configure: error: Linux kernel source in /lib/modules/3.14-0.bpo.2-amd64/build is not configured
> 
> I found that there is no /usr/src/linux-headers-3.14-0.bpo.2-amd64/include/linux/version.h.
For 3.16 (and I assume for 3.14 also)

	#include <linux/version.h>

is supposed to use

	/usr/src/linux-headers-3.16-1-amd64/include/generated/uapi/linux/version.h

which is shipped in linux-headers-3.16-1-amd64. (And similar for other
archs.)

How does your package determine that
/lib/modules/3.14-0.bpo.2-amd64/build wasn't configured?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |


Reply to: