RE: Help - header include issues

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

 




--- Arjan van de Ven <arjanv@redhat.com> wrote:
> 
> >  I believe  INCLUDE_PATH is incorrect in your
> makefile , it should be
> > INCLUDE_PATH=-I/usr/src/linux-`uname
> -r`/drivers/scsi
> 
> no it should be /lib/modules/`uname -r`/build/ 
> modules should NOT, repeat NOT, use
> /usr/src/linux-<anything> as default
> location for the headers of the currently running
> kernel. Only the /lib
> location should be used for that by default.
> 

But scsi.h under
/usr/src/linux-<something>/drivers/scsi/ is different
from scsi.h under
/lib/modules/linux-<something>/build/include/scsi/

Modules need to use the first scsi.h, correct?




	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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