module programming in linux 2.6

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

 



Hello everybody

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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux