Re: errors compiling scull from Linux Device Drivers book

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

 



> 
> wbeksi@asahi:~/programs/drivers/scull$ gmake scull
> gcc -Wall -D__KERNEL__ -DMODULE -I/usr/src/linux-2.4/include  -O2 -I..   -c 
> -o main.o main.c

this path is wrong,
it needs to be -I/lib/modules/`uname -r`/build/include
also you need more stuff for modversions etc;
see http://people.redhat.com/arjanv/xircom_cb/Makefile for a more
complete working makefile


Attachment: signature.asc
Description: This is a digitally signed message part


[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