lkml.org 
[lkml]   [2002]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.14-dj1: misc.o: undefined reference to `__io_virt_debug'
"Martin J. Bligh" wrote:
>
> > Compiling misc.c with -O0 gives a better error message:
> >
> > <-- snip -->
> >
> > ...
> > ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o bvmlinux head.o misc.o
> > piggy.o
> > misc.o: In function `outb_quad':
> > misc.o(.text+0x289c): undefined reference to `__io_virt_debug'
> > make[2]: *** [bvmlinux] Error 1
> > make[2]: Leaving directory
> > `/home/bunk/linux/kernel-2.5/linux-2.5.14-modular/arch/i386/boot/compressed'
>
> Seems like you're not linking in lib/iodebug.c for some reason.
>
> outb_quad calls readb, which calls __io_virt, which calls __io_virt_debug,
> which is defined in iodebug.c

It's in the boot decompression code, before any of that stuff is
available. I'm working on a patch.

--

Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.102 / U:28.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site