lkml.org 
[lkml]   [2012]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Unable to resolve the error
From
On Sun, Jul 15, 2012 at 5:22 PM, rakesh singh <rks.linux.88@gmail.com> 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.051 / U:0.284 seconds]
©2003-2014 Jasper Spaans. Advertise on this site