Comment 21 for bug 201591

Revision history for this message
Jeremy Jackson (jerj) wrote :

not sure this belongs in this bug report, but the font switching code needs to be inside an #ifdef CONFIG_VGA_CONSOLE since vgacon.c is built conditionally on that Kconfig option

otherwise kernel build fails:

  LD .tmp_vmlinux1
drivers/built-in.o: In function `complete_change_console':
/home/jjackson/build/linux/linux-source-2.6.24/drivers/char/vt_ioctl.c:1182: undefined reference to `vga_con'
/home/jjackson/build/linux/linux-source-2.6.24/drivers/char/vt_ioctl.c:1194: undefined reference to `vga_con'
/home/jjackson/build/linux/linux-source-2.6.24/drivers/char/vt_ioctl.c:1182: undefined reference to `vga_con'
/home/jjackson/build/linux/linux-source-2.6.24/drivers/char/vt_ioctl.c:1194: undefined reference to `vga_con'
make: *** [.tmp_vmlinux1] Error 1