Fwd: Re: Building kernel-module

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

 



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@xxxxxxxxx> 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:
&g! t; 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@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


ALL-NEW Yahoo! Messenger - all new features - even more fun!

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux