On Wed, Jan 29, 2003 at 01:35:33AM -0800, Adam Wiggins wrote: > gcc -Wall -DMODULE -D__KERNEL__ -DLINUX -c chardev.c > In file included from /usr/include/linux/fs.h:23, > from chardev.c:21: > /usr/include/linux/string.h:8:2: warning: #warning Using kernel header > in userland! > chardev.c:41:45: asm/uaccess.h: No such file or directory [....] First problems first: http://kernelnewbies.org/faq/index.php3#compmod Note especially the admonation against /usr/include/. :) -- United States of America: The world leader in short-sighted policy!
Attachment:
pgp00275.pgp
Description: PGP signature