Re: 2.6.0-test9-bk22 does not compile on sparc64: undefined referenceto `vga_writeb'

From: Ricky Beam
Date: Mon Nov 17 2003 - 11:37:31 EST


On Mon, 17 Nov 2003, Lars Ehrhardt wrote:
>2.6.0-test9 does not compile on sparc64:
>
>(...)
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
>drivers/built-in.o(.text+0x55ecc): In function `vgacon_do_font_op':
>: undefined reference to `vga_writeb'
>drivers/built-in.o(.text+0x55f1c): In function `vgacon_do_font_op':
>: undefined reference to `vga_writeb'
>drivers/built-in.o(.text+0x56264): In function `vgacon_do_font_op':
>: undefined reference to `vga_readb'
>drivers/built-in.o(.text+0x56288): In function `vgacon_do_font_op':
>: undefined reference to `vga_readb'
>make: *** [.tmp_vmlinux1] Error 1

"CONFIG_VGA_CONSOLE=y" is your problem. Sparcs don't have a VGA console.
Use the prom console or a FB (or serial console.)

(This has come up a thousand times on the sparclinux list.)

--Ricky


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