how to compile device driver program

Sep 07, 2007 4 Replies

hi how to compile device driver programs in uclinux



Enable the driver using make [x|menu]config and run 'make' and 'make modules'

:wq ^X^Cy^K^X^C^C^C^C

i enabled the driver.But while compile dthe device driver pgms using gcc command,i got lot of errors on header files. how to solve it

You must be joking, right?

Your problem statement is "I got a lot of errors on header files", and you expect useful help?

Grant Edwards grante Yow! Wait ... is this a FUN at THING or the END of LIFE in visi.com Petticoat Junction??

you enabled a driver, before it was compiled?

without knowing much about the kernel, I'd say that

suggests there may be a problem including blackfin assembly code in a kernel built for multiprocessor x86.

mac the naïf

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required