Re: module compilation

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

 



On 9/9/05, Devendra Singh Mahra <devendra.sm@xxxxxxxxx> wrote:
>  
>         i am a beginner to kernel module programming . i am trying to
> compile  a basic module but getting the following error. can anyone please
> help me out in this 
>  
>      make
>  make -C /lib/modules/2.6.10-5-386/build M=/home/devendra modules
>  make: *** /lib/modules/2.6.10-5-386/build: No such file or
> directory.  Stop.
>  make: *** [all] Error 2
>  

do you have kernel source code for your 2.6.10-5-386 ??? b/c the file
/lib/modules/<kernel_version>/build points to the kernel source
directory and I think the build file is not present there or might not
the code  .... First chk this ....


-- 
Fawad Lateef

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux