linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Missing exported symbols?
@ 2004-10-09  0:57 James Roper
  2004-10-09 18:17 ` [uml-devel] " Lars Kellogg-Stedman
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: James Roper @ 2004-10-09  0:57 UTC (permalink / raw)
  To: user-mode-linux-devel

I'm still using the 2.6.8 uml patch release, and I'm getting heaps of errors 
complaining about unknown symbols.  In particular:
WARNING: ../mnt/ lib/modules/2.6.8-1um/kernel/fs/cifs/cifs.ko needs unknown 
symbol memmove
Which I need as I'm doing cifs development.  I saw an incremental 2.6.9-rc2 
patch that said it added heaps of exported symbols, is there anything for 
2.6.8?  Or is there a simple way to export the memmove symbol?

I guess compiling cifs into the kernel would fix the problem altogether, 
though wouldn't it...

James


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [uml-devel] Re: Missing exported symbols?
  2004-10-09  0:57 [uml-devel] Missing exported symbols? James Roper
@ 2004-10-09 18:17 ` Lars Kellogg-Stedman
  2004-10-09 19:05   ` Lars Kellogg-Stedman
  2004-10-11 21:18   ` BlaisorBlade
  2004-10-09 19:58 ` Lars Kellogg-Stedman
  2004-10-19 13:37 ` [uml-devel] " BlaisorBlade
  2 siblings, 2 replies; 7+ messages in thread
From: Lars Kellogg-Stedman @ 2004-10-09 18:17 UTC (permalink / raw)
  To: user-mode-linux-devel

> I'm still using the 2.6.8 uml patch release, and I'm getting heaps of errors 
> complaining about unknown symbols.  In particular:
> WARNING: ../mnt/ lib/modules/2.6.8-1um/kernel/fs/cifs/cifs.ko needs unknown 
> symbol memmove

I'm seeing the same error (memmove undefined) while trying to build UML 
2.6.8.1.  In fact, I'm finding that most of the os_* functions appear to 
be undefined, as well, but it looks like I can make that error go away 
if I simply disable the hostfs support.

I understand that hostfs is in the middle of a rewrite...what's the last 
2.6.x kernel with stable hostfs support?

Thanks,

-- Lars



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [uml-devel] Re: Missing exported symbols?
  2004-10-09 18:17 ` [uml-devel] " Lars Kellogg-Stedman
@ 2004-10-09 19:05   ` Lars Kellogg-Stedman
  2004-10-11 21:18   ` BlaisorBlade
  1 sibling, 0 replies; 7+ messages in thread
From: Lars Kellogg-Stedman @ 2004-10-09 19:05 UTC (permalink / raw)
  To: user-mode-linux-devel

> I'm seeing the same error (memmove undefined) while trying to build UML 
> 2.6.8.1.

FWIW, after removing support for externfs/hostfs and friends, the only 
remaining error is the missing memmove.  For example:

> WARNING: /tmp/myroot/lib/modules/2.6.8.1-1um/kernel/net/sunrpc/sunrpc.ko 
> needs unknown symbol memmove

-- Lars



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [uml-devel] Re: Missing exported symbols?
  2004-10-09  0:57 [uml-devel] Missing exported symbols? James Roper
  2004-10-09 18:17 ` [uml-devel] " Lars Kellogg-Stedman
@ 2004-10-09 19:58 ` Lars Kellogg-Stedman
  2004-10-11 21:27   ` BlaisorBlade
  2004-10-19 13:37 ` [uml-devel] " BlaisorBlade
  2 siblings, 1 reply; 7+ messages in thread
From: Lars Kellogg-Stedman @ 2004-10-09 19:58 UTC (permalink / raw)
  To: user-mode-linux-devel

> I'm still using the 2.6.8 uml patch release, and I'm getting heaps of errors 
> complaining about unknown symbols.  In particular:
> WARNING: ../mnt/ lib/modules/2.6.8-1um/kernel/fs/cifs/cifs.ko needs unknown 
> symbol memmove

Adding:

#undef __HAVE_ARCH_MEMMOVE

to include/asm-um/string.h (after the two #include statements) will 
force UML to use the memmove() defined in lib/string.c.  I don't know if 
this is the right solution or not, but it appears to resolve the missing 
symbol problem.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [uml-devel] Re: Missing exported symbols?
  2004-10-09 18:17 ` [uml-devel] " Lars Kellogg-Stedman
  2004-10-09 19:05   ` Lars Kellogg-Stedman
@ 2004-10-11 21:18   ` BlaisorBlade
  1 sibling, 0 replies; 7+ messages in thread
From: BlaisorBlade @ 2004-10-11 21:18 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Lars Kellogg-Stedman

On Saturday 09 October 2004 20:17, Lars Kellogg-Stedman wrote:
> > I'm still using the 2.6.8 uml patch release, and I'm getting heaps of
> > errors complaining about unknown symbols.  In particular:
> > WARNING: ../mnt/ lib/modules/2.6.8-1um/kernel/fs/cifs/cifs.ko needs
> > unknown symbol memmove
>
> I'm seeing the same error (memmove undefined) while trying to build UML
> 2.6.8.1.  In fact, I'm finding that most of the os_* functions appear to
> be undefined, as well, but it looks like I can make that error go away
> if I simply disable the hostfs support.
>
> I understand that hostfs is in the middle of a rewrite...what's the last
> 2.6.x kernel with stable hostfs support?
Either 2.6.7-1um or the upcoming 2.6.9 release... you can try 2.6.9-rc2; nor 
2.6.9-rc3 (tested) nor 2.6.9-rc4 compile (I guess). However I'll fix the 
problem ASAP (I have just to send the patches).

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [uml-devel] Re: Missing exported symbols?
  2004-10-09 19:58 ` Lars Kellogg-Stedman
@ 2004-10-11 21:27   ` BlaisorBlade
  0 siblings, 0 replies; 7+ messages in thread
From: BlaisorBlade @ 2004-10-11 21:27 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Lars Kellogg-Stedman

On Saturday 09 October 2004 21:58, Lars Kellogg-Stedman wrote:
> > I'm still using the 2.6.8 uml patch release, and I'm getting heaps of
> > errors complaining about unknown symbols.  In particular:
> > WARNING: ../mnt/ lib/modules/2.6.8-1um/kernel/fs/cifs/cifs.ko needs
> > unknown symbol memmove
>
> Adding:
>
> #undef __HAVE_ARCH_MEMMOVE
>
> to include/asm-um/string.h (after the two #include statements) will
> force UML to use the memmove() defined in lib/string.c.  I don't know if
> this is the right solution or not, but it appears to resolve the missing
> symbol problem.
It does not change anything. memmove *is* defined by glibc. However, 
lib/string.c adds the "EXPORT_SYMBOL(memmove);" line, which is the correct 
line to add to arch/um/os-Linux/user_syms.c, after putting in the correct 
prototype.

Bye
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [uml-devel] Missing exported symbols?
  2004-10-09  0:57 [uml-devel] Missing exported symbols? James Roper
  2004-10-09 18:17 ` [uml-devel] " Lars Kellogg-Stedman
  2004-10-09 19:58 ` Lars Kellogg-Stedman
@ 2004-10-19 13:37 ` BlaisorBlade
  2 siblings, 0 replies; 7+ messages in thread
From: BlaisorBlade @ 2004-10-19 13:37 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: James Roper

On Saturday 09 October 2004 02:57, James Roper wrote:
> I'm still using the 2.6.8 uml patch release, and I'm getting heaps of
> errors complaining about unknown symbols.  In particular:
> WARNING: ../mnt/ lib/modules/2.6.8-1um/kernel/fs/cifs/cifs.ko needs unknown
> symbol memmove
> Which I need as I'm doing cifs development.  I saw an incremental 2.6.9-rc2
> patch that said it added heaps of exported symbols, is there anything for
> 2.6.8?  Or is there a simple way to export the memmove symbol?

This patch also contains (at this moment) the needed export:

http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.8.1-1um/patches/export

However, you could try the 2.6.9-rc2 kernel, or from 2.6.9-rc4-bk2 onwards. 
The patch, if needed, should apply as well, I guess (at least by hand). I 
think it was merged, however.

Bye
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-19 13:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-09  0:57 [uml-devel] Missing exported symbols? James Roper
2004-10-09 18:17 ` [uml-devel] " Lars Kellogg-Stedman
2004-10-09 19:05   ` Lars Kellogg-Stedman
2004-10-11 21:18   ` BlaisorBlade
2004-10-09 19:58 ` Lars Kellogg-Stedman
2004-10-11 21:27   ` BlaisorBlade
2004-10-19 13:37 ` [uml-devel] " BlaisorBlade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox