[Ilugc] How to compile module

Ashish Verma ashishverma1984 at gmail.com
Fri Dec 12 11:33:07 IST 2008


I dont know why this is not working for me. I was able to compile the hello
world module without errors.

I got the below error:

make -C "/lib/modules/" M=/root modules
make[1]: Entering directory '/usr/src/linux-'
scripts/Makefile.build:217: target '/root/pcnet32.c' doesn't match the
target pattern
Building modules, stage 2.
MODPOST 0 modules
make[1]: leaving directory  '/usr/src/linux-'
I got the pcnet32.c file from
/usr/src/linux- is a compiled

Why is it that pcnet32.c did not get compiled when the kernel was compiled?
or when the modules were compiled?


On Thu, Dec 11, 2008 at 1:56 PM, kish <realmailer at gmail.com> wrote:

> this helped me
> http://tldp.org/LDP/lkmpg/2.6/html/lkmpg.html
> -- kish
> ---------------
> Esse Quam Videri
> krisk.wordpress.com
>  _______________________________________________
> To unsubscribe, email ilugc-request at ae.iitm.ac.in with
> "unsubscribe <password> <address>"
> in the subject or body of the message.
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

More information about the ilugc mailing list