[lkml]   [2012]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Unable to resolve the error
On Sun, Jul 15, 2012 at 5:22 PM, rakesh singh <> 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.

 \ /
  Last update: 2012-07-15 17:41    [W:0.027 / U:2.440 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site