Building kernel-module

Huub van Niekerk v.niekerk at hccnet.nl
Fri Aug 20 14:35:21 UTC 2004


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?

Thanks,

Huub





More information about the fedora-list mailing list