LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 07-18-2009, 05:17 PM   #1
alexf007
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Rep: Reputation: 0
[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 >
 
Old 07-20-2009, 12:46 AM   #2
sunr2007
Member
 
Registered: Jan 2009
Location: Bangalore , India
Distribution: Fedora 12
Posts: 65

Rep: Reputation: 17
while configuring kernel in make menuconfig. do not configure VGA text console in device->graphics> menu. this error will go. embedded sys ll use framebuffer so no VGA.
warm regards,
Ravi Kulkarni.
 
Old 07-21-2009, 04:01 PM   #3
alexf007
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
hi there. That is exactly what I figured too. Thanks for the answer though. Regards. Alex
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kernel Log: What's coming in 2.6.30 – Drivers: New drivers for audio, video, US LXer Syndicated Linux News 0 06-01-2009 04:30 PM
Can't find ATI video drivers package (Fedora 10 64, HD 4850)/ sound card drivers too mothergoose729 Linux - Hardware 9 01-19-2009 02:08 PM
DOes this error mean that my Video drivers are not installed correctly? Shadowmeph Linux - Newbie 2 09-11-2008 01:07 PM
Drivers for gma950 video? (Integrated i945) + slow video in mplayer ivanatora Linux - Hardware 1 01-14-2007 01:19 PM
Compilation error in 2.6.3-rc1 concerning drivers/video/fbmem.c ? graywind Linux - General 5 02-08-2004 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 12:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration