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

Re: module programming in linux 2.6



On 11/04/2007 09:10 AM, cihan wrote:

I have a module that write for kernel 2.4 and I have to port to kernel 2.6
But I compile it and I give an error like below

pci.h: KBUILD_MODNAME undeclard

then I add a define in makefile like this -D"KBUILD_MODNAME=KBUILD_STR(stpm)"
and I give this error
pci.h: stpm undeclared


I cant understand what problem is.

http://lwn.net/Articles/80250/


Rene.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ