__put_user_bad when recompile and load the loop device

Michael Zhu (mylinuxk@yahoo.ca)
Sun, 13 Jan 2002 13:35:53 -0500 (EST)


Hello, everyone, I have a problem when I try to load
my own loop device. I use the following command line
to compile my own loop device.

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/