Hello, linaro-dev,
I installed
linux-image-3.4.0-1-linaro-lt-omap
on the Ubuntu image from
http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-d...
but when I tried to install
linux-headers-3.4.0-1-linaro-lt-omap
I get the following errors
DKMS make.log for pvr-omap4-1.7.10.0.1.20 for kernel 3.4.0-1-linaro-lt-omap (armv7l) Tue Jul 3 15:13:07 EDT 2012 grep: /usr/src/linux-headers-3.4.0-1-linaro-lt-omap/include/linux/omap_drm.h: No such file or directory grep: /usr/src/linux-headers-3.4.0-1-linaro-lt-omap/include/linux/omap_drv.h: No such file or directory grep: /usr/src/linux-headers-3.4.0-1-linaro-lt-omap/include/linux/omap_drm.h: No such file or directory grep: /usr/src/linux-headers-3.4.0-1-linaro-lt-omap/include/linux/omap_drv.h: No such file or directory make[1]: Entering directory `/var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/build/linux2/omap4430_linux' ../config/core.mk:290: CROSS_COMPILE is not set. Target components will be built with the host compiler grep: /usr/src/linux-headers-3.4.0-1-linaro-lt-omap/include/linux/omap_drm.h: No such file or directory grep: /usr/src/linux-headers-3.4.0-1-linaro-lt-omap/include/linux/omap_drv.h: No such file or directory grep: /usr/src/linux-headers-3.4.0-1-linaro-lt-omap/include/linux/omap_drm.h: No such file or directory grep: /usr/src/linux-headers-3.4.0-1-linaro-lt-omap/include/linux/omap_drv.h: No such file or directory LD /var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/built-in.o CC [M] /var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o CC [M] /var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mutils.o CC [M] /var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o CC [M] /var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o CC [M] /var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pdump.o CC [M] /var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/proc.o /var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c: In function âOSCleanCPUCacheKMâ: /var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:2992:2: error: implicit declaration of function âouter_clean_allâ [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors make[4]: *** [/var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [_module_/var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild] Error 2 make[2]: *** [kbuild] Error 2 make[1]: *** [build] Error 2 make[1]: Leaving directory `/var/lib/dkms/pvr-omap4/1.7.10.0.1.20/build/eurasiacon/build/linux2/omap4430_linux' make: *** [all] Error 2
A search of the kernel headers tree shows that these symbolic links
lrwxrwxrwx 1 root root 40 Jun 27 09:17 omap_drm.h -> ../../drivers/staging/omapdrm/omap_drm.h lrwxrwxrwx 1 root root 40 Jun 27 09:17 omap_drv.h -> ../../drivers/staging/omapdrm/omap_drv.h
point to missing files.
Is there any chance the maintainer can fix the package?
Without those headers, I can't install the PowerVR SGX driver.