gcc -D__KERNEL__ -I/home/mzhu/linux/include -Wall
-DMODULE -DMODVERSIONS -include
/home/mzhu/linux/include/linux/modversions.h
-DEXPORT_SYMTAB -c myloop.c
It create the myloop.o file. Then I use the insmod
command to load the myloop.o . It returned the
following error.
myloop.o: unresolved symbol __put_user_bad
What is wrong? I couldn't find the prototype of
__put_user_bad. It was included in the
<asm/uaccess.h>. How to solve this problem?
Thanks.
Michael
______________________________________________________________________
Web-hosting solutions for home and business! http://website.yahoo.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/