Re: 2.5.14-dj1: misc.o: undefined reference to `__io_virt_debug'

Adrian Bunk (bunk@fs.tum.de)
Tue, 7 May 2002 21:44:41 +0200 (CEST)


On Tue, 7 May 2002, Dave Jones wrote:

> On Tue, May 07, 2002 at 08:36:09PM +0200, Adrian Bunk wrote:
>
> > misc.o: In function `puts':
> > misc.o(.text+0x1c46): undefined reference to `__io_virt_debug'
> > misc.o(.text+0x1c7c): undefined reference to `__io_virt_debug'
> > misc.o(.text+0x1ca9): undefined reference to `__io_virt_debug'
> > misc.o(.text+0x1cde): undefined reference to `__io_virt_debug'
>
> Odd. Repeatable after a make distclean ?

Yes, it's repeatable with a clean kernel source.

> I always build my test kernels with CONFIG_DEBUG_IOVIRT=y, and I
> haven't seen this happen.

But you build without CONFIG_MULTIQUAD?

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'

<-- snip -->

cu
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox

- 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/