All of lore.kernel.org
 help / color / mirror / Atom feed
* Error compiling backports-3.16-1 on a device with a 2.6.30 kernel
@ 2014-09-02 16:48 Javier Casas Marin
  2014-09-02 21:36 ` Hauke Mehrtens
  0 siblings, 1 reply; 2+ messages in thread
From: Javier Casas Marin @ 2014-09-02 16:48 UTC (permalink / raw)
  To: backports


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-02 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-02 16:48 Error compiling backports-3.16-1 on a device with a 2.6.30 kernel Javier Casas Marin
2014-09-02 21:36 ` Hauke Mehrtens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.