Re: Insmod error......

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

 



On Thu, Jan 27, 2005 at 08:01:58AM -0800, Gaurav Dhiman wrote:
> 
> whats the reason that we shud not use /usr/src/*
> location to compile the modules. Is the kernel source
> code in this directory not complete ? I compiled my
> modules with kernel sources in /usr/src/* and they
> work fine.
> 
> And how does /lib/modules/* have more than one kernel
> sources in it ..... when i installed the linux 7.2 on
> my machine, it did not create different directories
> under /lib/modules/, i can not find any kernel sources
> or include files under /lib/modules/. I only have
> kernel sources installed in /usr/src/* 

there is  /lib/modules/<version>/build/include which CAN be a symlink, it
might not be. If you use anything BUT that your stuff will break in future
releases for example.

--
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