[drivers/video/console/vgacon.o] Error 1
hi all,
I'm cross-compiling 2.6.28 for ARM and the at91rm9200ek target. I'm using buildroot for that. At one point, I was able to get a kernel that booted but turned out that I did not enable the NFS support. Then I went into the 'menuconfig' for the kernel and enabled that option. Now, when I try to build the kernel, I get an error on the VGA console driver. Why ??? I did not touch any of the driver settings. I don't think this is related to the NFS option, but in case, I turned it off again, hoping that would fix it, but obviously, it didn't.
I can always disable the driver, but I'd like to understand what is happening.
any idea ?
thanks
Alex
CC drivers/video/fbcvt.o
LD drivers/video/fb.o
CC drivers/video/console/dummycon.o
CC drivers/video/console/vgacon.o
In file included from drivers/video/console/vgacon.c:51:
include/video/vga.h: In function 'vga_io_r':
include/video/vga.h:226: warning: cast to pointer from integer of different size
include/video/vga.h: In function 'vga_io_w':
include/video/vga.h:231: warning: cast to pointer from integer of different size
include/video/vga.h: In function 'vga_io_w_fast':
include/video/vga.h:237: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c: In function 'write_vga':
drivers/video/console/vgacon.c:149: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:150: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c: In function 'vgacon_startup':
drivers/video/console/vgacon.c:493: error: 'PCIMEM_BASE' undeclared (first use in this function)
drivers/video/console/vgacon.c:493: error: (Each undeclared identifier is reported only once
drivers/video/console/vgacon.c:493: error: for each function it appears in.)
drivers/video/console/vgacon.c: In function 'vgacon_set_cursor_size':
drivers/video/console/vgacon.c:651: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:652: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:653: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:654: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:663: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:664: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:665: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:666: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c: In function 'vgacon_doresize':
drivers/video/console/vgacon.c:747: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:748: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:753: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:754: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:762: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:763: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:771: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:772: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:773: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:774: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:777: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:778: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:779: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:780: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:783: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:784: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:785: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:786: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:789: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:790: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c: In function 'vga_vesa_blank':
drivers/video/console/vgacon.c:878: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:882: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:883: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:884: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:885: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:886: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:887: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:888: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:889: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:890: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:891: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:892: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:893: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:894: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:895: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:896: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:897: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:916: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:917: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:918: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:919: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:920: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:921: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:930: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:931: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:932: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:933: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:938: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c: In function 'vga_vesa_unblank':
drivers/video/console/vgacon.c:948: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:949: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:950: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:951: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:952: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:953: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:954: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:955: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:956: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:957: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:958: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:959: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:960: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:961: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:962: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:963: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:969: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c: In function 'vgacon_do_font_op':
drivers/video/console/vgacon.c:1051: error: 'PCIMEM_BASE' undeclared (first use in this function)
drivers/video/console/vgacon.c:1164: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1169: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c: In function 'vgacon_adjust_height':
drivers/video/console/vgacon.c:1199: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1200: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1201: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1202: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1211: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1212: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1213: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1214: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1215: warning: cast to pointer from integer of different size
drivers/video/console/vgacon.c:1216: warning: cast to pointer from integer of different size
make[4]: *** [drivers/video/console/vgacon.o] Error 1
make[3]: *** [drivers/video/console] Error 2
make[2]: *** [drivers/video] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/folk/alexf/arm_linux/buildroot-2009.05/project_build_arm/uclibc/linux-2.6.28'
make: *** [/folk/alexf/arm_linux/buildroot-2009.05/project_build_arm/uclibc/linux-2.6.28/arch/arm/boot/uImage] Error 2
[van-cc-pb01l] ~/arm_linux/buildroot-2009.05 >
|