Fwd: Re: Building kernel-module

Felix Mathais fc2_fedora at yahoo.co.uk
Sat Aug 21 15:31:05 UTC 2004


have a look at the qc-usb webcam driver from sourceforge. Edit the makefile to suit and it should work. I did that with me tekram scsi driver and it worked.
 
Felix

Huub van Niekerk <v.niekerk at hccnet.nl> wrote:
Date: Sat, 21 Aug 2004 09:45:21 +0200
From: Huub van Niekerk 
To: For users of Fedora Core releases 
Subject: Re: Building kernel-module

Hannes Mayer wrote:

> Huub van Niekerk wrote:
>
>> Hi,
>>
>> I'm trying to build a kernel-module with g_NCR5380.c from the latest 
>> FC2 kernel, but it won't compile with success. I've tried this: gcc 
>> -c -O2 -Wall -D__KERNEL__ -DMODULE -isystem/lib/modules/`uname 
>> -r`/build/include g_NCR5380.c but I get the error that irq_vectors.h 
>> doesn't exist. When I try to make -C /lib/modules/`uname 
>> -r`/build/include g_NCR5380.c, it says that there is no rule to make 
>> target g_NCR5380.c
>> What am I doing wrong?
>
>
> Try the sample makefile from:
> http://www.captain.at/programming/kernel-2.6/
>
> Building modules for kernel 2.6 is different (easier) as for 2.4 kernels.
>
> Cheers,
> Hannes.
>
>
Thanks, but: I created Makefile in a temp. dir, replaced sum-module.c 
with g_NCR5380.c, copied g_NCR5380.c to the temp dir, and did make. It 
says: Nothing to be done for "default". Help is appreciated.

Thanks


-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

		
---------------------------------
 ALL-NEW Yahoo! Messenger - all new features - even more fun!  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040821/25357f36/attachment-0001.htm>


More information about the fedora-list mailing list