C Compile problem

Jerry Feldman gaf at blu.org
Tue Oct 7 13:39:45 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 7 Oct 2003 12:19:23 -0500
<karina.popkova at verizon.net> wrote:

>  "can't find #include <asm/uaccess.h>.
> 
> There is a directory of:
> usr/include/asm      
> available, but there is no file: uaccess.h in that subdirectory.
> 
> Yup!, tried to use 'find' command: 
> prompt>find / -name 'access.h' -print    
> and can not find this file on either machine.
> 
> somebody said file is in 
> /usr/src/redhat/
> Nope! no source code or files there, on either machine ???
> 
> How do I obtain a copy of the file, or where should I find it or
> put the /asm/uaccess.h file, so I may compile drivers or LKM's ???
You need to load kernel sources. You should be able to obtain them for
your kernel directly from Red Hat. The asm directory is part of the
kernel sources. You need more than just uaccess.h. 

- -- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/gvph+wA+1cUGHqkRAuaUAJ9MwGYkDrs4h+JWyi9cLUpCVp0MoQCfZ59m
i4cw3gr+uzdXi3rtNASIUDo=
=gPHJ
-----END PGP SIGNATURE-----



More information about the Discuss mailing list