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

Ricky Beam
2003-11-17T16:35:46Z

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