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.
-- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ