Error compiling backports-3.16-1 on a device with a 2.6.30 kernel

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

 




I am trying to compile backports-3.16-1 on a device with a 2.6.30 linux kernel and I get this error:
$ make
  CC [M]  /root/modules/backports-3.16-1/compat/main.o
In file included from /root/modules/backports-3.16-1/backport-include/linux/kernel.h:9, from /mnt/cfdata/src/linux-2.6.30/arch/x86/include/asm/system.h:10, from /mnt/cfdata/src/linux-2.6.30/arch/x86/include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
from /root/modules/backports-3.16-1/backport-include/linux/list.h:3,
                 from include/linux/module.h:9,
from /root/modules/backports-3.16-1/backport-include/linux/module.h:3,
                 from /root/modules/backports-3.16-1/compat/main.c:1:
/root/modules/backports-3.16-1/backport-include/linux/printk.h:5:31: error: linux/printk.h: No such file or directory
make[6]: *** [/root/modules/backports-3.16-1/compat/main.o] Error 1
make[5]: *** [/root/modules/backports-3.16-1/compat] Error 2
make[4]: *** [_module_/root/modules/backports-3.16-1] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [default] Error 2

it looks like I can't compile it for kernel 2.6.30 because some headers files are missing (printk.h was inside kernel.h in previous kernel versions like in 2.6.30). But the documentation says that kernels 2.6.27 and older are supported, so what am I doing wrong?


please, I'm stuck, any hint or information will be very appreciated!

Thanks
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux