linux-um archives
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Ian Jiang <ianjiang.ict@gmail.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] 2.4.21 insmod problem: unresolved symbol to_virt
Date: Fri, 20 Oct 2006 12:37:51 -0400	[thread overview]
Message-ID: <20061020163751.GD5530@ccure.user-mode-linux.org> (raw)
In-Reply-To: <7b2fa1820610192302o52213a59uc220df19e6a84fbb@mail.gmail.com>

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

> However, this symbol has
> already been exported in System.map of UML.

That's not an export table.  The export table is /proc/ksyms.

				Jeff

-------------------------------------------------------------------------
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2006-10-20 16:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-20  6:02 [uml-devel] 2.4.21 insmod problem: unresolved symbol to_virt Ian Jiang
2006-10-20 16:37 ` Jeff Dike [this message]
2006-10-23  2:04   ` Ian Jiang
2006-10-25 15:26     ` Jeff Dike
2006-10-26  0:10       ` Blaisorblade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061020163751.GD5530@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=ianjiang.ict@gmail.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox