Hi Jeff! Thanks for your reply! On 10/21/06, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Fri, Oct 20, 2006 at 02:02:09PM +0800, Ian Jiang wrote: > > Then I tried the example 4-1 chardev.c at > > http://tldp.org/LDP/lkmpg/2.4/html/x579.html, but I got "unresolved > > symbol to_virt" from insmod. I noted it's the calling for put_user() > > by chardev.c that lead to use of to_virt(). > > Export it in arch/um/kernel/ksyms.c >
I tried just as you told and the problem was fixed. In fact, I used to export the symbol to_virt in um/kernel/physmem.c where it was defined. But this had no effect. What is the difference between the ksyms.c and physmem.c while exporting symbols? Could you give an explanation? Thanks again and best wishes! -- Ian Jiang ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
