lkml.org 
[lkml]   [2002]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject__put_user_bad when recompile and load the loop device
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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.033 / U:0.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site