From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>, Ian Jiang <ianjiang.ict@gmail.com>
Subject: Re: [uml-devel] 2.4.21 insmod problem: unresolved symbol to_virt
Date: Thu, 26 Oct 2006 02:10:05 +0200 [thread overview]
Message-ID: <200610260210.05495.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20061025152635.GC4323@ccure.user-mode-linux.org>
On Wednesday 25 October 2006 17:26, Jeff Dike wrote:
> On Mon, Oct 23, 2006 at 10:04:00AM +0800, Ian Jiang wrote:
> > In fact, I used to export the symbol to_virt in um/kernel/physmem.c
> > where it was defined.
>
> There is no to_virt defined in physmem.c in my tree now.
>
> > But this had no effect. What is the difference
> > between the ksyms.c and physmem.c while exporting symbols? Could you
> > give an explanation?
>
> There shouldn't be any difference. physmem.c already exports some stuff,
> so there's no reason it can export more.
On 2.4 kernels (and no Jeff, your tree is not a 2.4) EXPORT_SYMBOLS only works
on some special files (like ksyms.c) devoted to this (they're marked in
Makefile's); on 2.6 you can add the export everywhere and it will work.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
-------------------------------------------------------------------------
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
prev parent reply other threads:[~2006-10-26 0:10 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
2006-10-23 2:04 ` Ian Jiang
2006-10-25 15:26 ` Jeff Dike
2006-10-26 0:10 ` Blaisorblade [this message]
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=200610260210.05495.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=ianjiang.ict@gmail.com \
--cc=jdike@addtoit.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