Re: Unable to resolve the error

From: Cong Wang
Date: Sun Jul 15 2012 - 11:14:17 EST


On Sun, Jul 15, 2012 at 5:22 PM, rakesh singh <rks.linux.88@xxxxxxxxx> wrote:
> make -C /usr/src/linux-headers-2.6.38-8-generic/
> SUBDIRS=/home/rakesh/Desktop/m modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
> CC [M] /home/rakesh/Desktop/m/hello.o
> /home/rakesh/Desktop/m/hello.c:1:70: fatal error:
> usr/src/linux-headers-2.6.38-8-generic/include/linux/init.h: No such
> file or directory

You need to install some kernel package provided by your distro,
on Fedora it is kernel-devel.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/