C Compile problem
Derek Martin
invalid at pizzashack.org
Wed Oct 8 01:53:22 EDT 2003
On Tue, Oct 07, 2003 at 12:19:23PM -0500, karina.popkova at verizon.net wrote:
> Try compile a LKM sample code on Laptop and get error "can't find
> #include <asm/uaccess.h>.
> I have tried to compile a LKM sample code on Desktop and
> get error:
> "can't find #include <asm/uaccess.h>.
You need to have at least the kernel headers installed on your system.
Depending on the driver, you may well need the complete kernel sources
installed, and some actually want you to go through the process of
building a new kernel, so the code for the module can be guaranteed to
match the kernel you're using...
In any event, redhat has a kernel-source package and a kernel-headers
package. If you install the kernel-source package, there's no need to
install the headers package. But you may be able to get by with just
the headers...
HTH.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.
Replying to it will result in undeliverable mail.
Sorry for the inconvenience. Thank the spammers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20031008/78da30b0/attachment.sig>
More information about the Discuss
mailing list