linux-um archives
 help / color / mirror / Atom feed
From: David T Hollis <dhollis@davehollis.com>
To: gboutwel <gboutwel@praize.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] uml-2.6.8-rc2 (2.6.8-rc2 w/ uml-patch-2.6.7-01)
Date: Fri, 23 Jul 2004 23:38:46 -0400	[thread overview]
Message-ID: <1090640326.4233.4.camel@dhollis-lnx.kpmg.com> (raw)
In-Reply-To: <20040723214312.14567.qmail@praize.com>

On Fri, 2004-07-23 at 21:43 +0000, gboutwel wrote:
> vmlinux(.text+0x5fcd8): In function `locate_fd':
> 
> : undefined reference to `find_next_zero_bit'
> 
> vmlinux(.text+0x7e3f1): In function `scan_bitmap_block':
> 
> : undefined reference to `find_next_zero_bit'
> 
> vmlinux(.text+0x9f49e): In function `reiserfs_in_journal':
> 
> : undefined reference to `find_next_zero_bit'
> 
> vmlinux(.text+0xa6bd0): more undefined references to `find_next_zero_bit'
> 
> follow
> 
> vmlinux(.text+0xb7905): In function `sub_alloc':
> 
> : undefined reference to `find_next_bit'
> 
> vmlinux(.init.text+0x43d0): In function `__alloc_bootmem_core':
> 
> : undefined reference to `find_next_zero_bit'
> 
> collect2: ld returned 1 exit status
> 
> make: *** [linux] Error 1
> 
> 
> 
> Probably something simple, but I wanted to discuss with folks
> 
> more in the now on if the above (stdio_console) fix was the right
> 
> one, and to find out if anyone else has an idea of how to fixe
> 
> the find_next_zero_bit error.
> 

I ran into this around a week or so ago as well.  Unfortunately, I don't
have a patch but here is the rough idea of what I did to work around it.
find_next_zero_bit is defined in arch/i386/lib/bitops.c.  If you look in
arch/um/sys-i386, a couple files get symlinked from other parts of the
tree (see the Makefile).  If you add bitops.c to this, you will get past
the find_next_zero_bit problem.  You would add bitops.o to the obj-y,
bitops.c to SYMLINKS, bitops.c-dir := arch/i386/lib.  I think thats
about it.

Good luck
-- 
David T Hollis <dhollis@davehollis.com>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
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:[~2004-07-24  3:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23 21:43 [uml-devel] uml-2.6.8-rc2 (2.6.8-rc2 w/ uml-patch-2.6.7-01) gboutwel
2004-07-24  3:38 ` David T Hollis [this message]
2004-07-26 15:05   ` BlaisorBlade
  -- strict thread matches above, loose matches on Subject: below --
2004-07-27 22:08 gboutwel

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=1090640326.4233.4.camel@dhollis-lnx.kpmg.com \
    --to=dhollis@davehollis.com \
    --cc=gboutwel@praize.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