Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

C Compile problem



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>



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org