From: Nhat K. <nh...@st...> - 2006-02-22 03:11:14
|
Hi every one, Is any one know why I can't compile the linux-2.6.11 kernel with the Console Display turned on ? Below is the error messages when it got compiled: In file included from drivers/video/console/vgacon.c:53: include/video/vga.h: In function `vga_io_r': include/video/vga.h:227: warning: cast to pointer from integer of different size include/video/vga.h: In function `vga_io_w': include/video/vga.h:232: warning: cast to pointer from integer of different size include/video/vga.h: In function `vga_io_w_fast': include/video/vga.h:238: warning: cast to pointer from integer of different size drivers/video/console/vgacon.c: In function `write_vga': drivers/video/console/vgacon.c:150: warning: cast to pointer from integer of different size drivers/video/console/vgacon.c:151: warning: cast to pointer from integer of different size drivers/video/console/vgacon.c: In function `vgacon_startup': drivers/video/console/vgacon.c:289: error: `PCIMEM_BASE' undeclared (first use in this function) drivers/video/console/vgacon.c:289: error: (Each undeclared identifier is reported only once drivers/video/console/vgacon.c:289: error: for each function it appears in.) drivers/video/console/vgacon.c: In function `vgacon_set_cursor_size': ...................... drivers/video/console/vgacon.c: In function `vgacon_do_font_op': drivers/video/console/vgacon.c:730: error: `PCIMEM_BASE' undeclared (first use in this function) drivers/video/console/vgacon.c:845: warning: cast to pointer from integer of different size drivers/video/console/vgacon.c:850: warning: cast to pointer from integer of different size drivers/video/console/vgacon.c: In function `vgacon_adjust_height': ............... make[3]: *** [drivers/video/console/vgacon.o] Error 1 make[2]: *** [drivers/video/console] Error 2 make[1]: *** [drivers/video] Error 2 make: *** [drivers] Error 2 Thank for your help, Khai |