Home > pcimem base undeclared > pcimem_base undeclared error

Pcimem_base Undeclared Error

display driver (PCIMEM_BASE) Date: Tue, 01 Feb 2011 11:52:43 -0200 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 Hi all, I use a EA3250 board and Fedora 13 as host, running the last CVS ltib - 10.1.1 ($Revision: 1.72 $) -. My goal is to use LCD expansion connector of the board and with a video DAC be able to plug a VGA monitor instead of using the 3.2 inch QVGA TFT color LCD. When I try to compile the kernel with Console display driver support->VGA text console or Framebuffer console support, I get this error + diff -q ./.config /home/miguel/ltib/config/platform/ea3250/linux-2.6.34-ea3250.config.dev + '[' -n '' ']' + '[' '%{kernel_series}' = 2.4 ']' + make ARCH=arm 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//' uImage scripts/kconfig/conf -s arch/arm/Kconfig CHK include/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date. CALL scripts/checksyscalls.sh CHK include/generated/compile.h GZIP kernel/config_data.gz IKCFG kernel/config_data.h CC kernel/configs.o LD kernel/built-in.o CC drivers/video/console/vgacon.o drivers/video/console/vgacon.c: In function 'vgacon_startup': drivers/video/console/vgacon.c:508: error: 'PCIMEM_BASE' undeclared (first use in this function) drivers/video/console/vgacon.c:508: error: (Each undeclared identifier is reported only once drivers/video/console/vgacon.c:508: error: for each function it appears in.) drivers/video/console/vgacon.c: In function 'vgacon_do_font_op': drivers/video/console/vgacon.c:1073: error: 'PCIMEM_BASE' undeclared (first use in this function) 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 error: Bad exit status from /home/miguel/ltib/tmp/rpm-tmp.31360 (%build) RPM build errors: Bad exit status from /home/miguel/ltib/tmp/rpm-tmp.31360 (%build) Build time for kernel-2.6.34-lpc32xx: 119 seconds Failed building kernel-2.6.34-lpc32xx The problem is in this function of drivers/video/console/vgacon.c: vga_vram_base = VGA_MAP_MEM(vga_vram_base, vga_vram_size); And VGA_MAP_MEM is defined in arch/arm/include/asm/vga.h #define VGA_MAP_MEM(x,s) (PCIMEM_BASE + (x)) When I searched the /home/miguel/ltib/rpm/BUILD/linux-2.6.34/arch/arm/mach-lpc32xx/include/mach/platform.h I found this: #define LPC32XX_LCD_BASE 0x31040000 Does anybody knows if I can use the LPC32XX_LCD_BASE in place ofPCIMEM_BASE?? Or anybody have already had this error?? Thanks Miguel -- Miguel Aveiro Engenheiro de Controle e Automação Fo

drivers/video/console/vgacon.c: In function 'vgacon_startup': drivers/video/console/vgacon.c:486: error: 'PCIMEM_BASE' undeclared (first use in this function) drivers/video/console/vgacon.c:486: error: (Each undeclared identifier is reported only once drivers/video/console/vgacon.c:486: https://lists.nongnu.org/archive/html/ltib/2011-02/msg00009.html error: for each function it appears in.) drivers/video/console/vgacon.c: In function 'vgacon_do_font_op': drivers/video/console/vgacon.c:1037: error: 'PCIMEM_BASE' undeclared (first use in this function) http://m.blog.chinaunix.net/uid-30108475-id-5068400.html 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 去除部分:Device Drivers ---> Graphics support ---> Console display driver support ---> [ ] VGA text console 上一篇:make menuconfig 出现[scripts/kconfig/dochecklxdialog] Error 1 下一篇:init/built-in.o: In function `do_one_initcall ITPUB博客 | ITPUB论坛 | chinaunix论坛 北京皓辰网域网络信息技术有限公司. 版权所有

HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel error while compiling linux kernel User Name Remember Me? Password Linux - Kernel This forum http://www.linuxquestions.org/questions/linux-kernel-70/error-while-compiling-linux-kernel-673891/ is for all discussion relating to the Linux kernel. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability https://lists.gnu.org/archive/html/ltib/2011-02/msg00018.html to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see pcimem_base undeclared fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to pcimem_base undeclared error Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 10-03-2008, 12:25 AM #1 zahidul LQ Newbie Registered: Sep 2008 Posts: 21 Rep: error while compiling linux kernel hi all, i m compiling linux kernel 2.6.26.3 and try to port it to an ARM processor.while running the commnad i got the following error mesages: drivers/video/console/vgacon.c:1052: error: `PCIMEM_BASE' undeclared (first use in this function) drivers/video/console/vgacon.c:1165: warning: cast to pointer from integer of different size drivers/video/console/vgacon.c:1170: warning: cast to pointer from integer of different size drivers/video/console/vgacon.c: In function `vgacon_adjust_height': drivers/video/console/vgacon.c:1200: warning: cast to poi

console display driver (PCIMEM_BASE) Date: Thu, 03 Feb 2011 08:34:28 -0200 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 Thanks Kevin and Alan. I know that I need to change other things, but this is the first part. I searched some other boards than I found the video DAC. They use Linux as well, so it should work, but I don't know how. I need a framebuffer that display at least 640x480 because the hsync and vsync signal of the board with 320x240 mode is too low. I'll see what I can do then...if I found out something I'll post in here. Em 02-02-2011 16:27, Kevin Wells escreveu: Hi Miguel, My goal is to use LCD expansion connector of the board and with a video DAC be able to plug a VGA monitor instead of using the 3.2 inch QVGA TFT color LCD. I've never tried using this driver before, but I agree with Alan's assessment that you'll probably need to modify more than just the PCIMEM_BASE macro to make it work. You should be able to get cosnole output on the display using the framebuffer console. Will that work? Kevin -----Original Message----- Subject: Re: [Ltib] EA3250 problem with console display driver (PCIMEM_BASE) Hi Miguel, On 2/1/11, Miguel Aveiro wrote: Hi all, CC drivers/video/console/vgacon.o drivers/video/console/vgacon.c: In function 'vgacon_startup': drivers/video/console/vgacon.c:508: error: 'PCIMEM_BASE' undeclared (first use in this function) drivers/video/console/vgacon.c:508: error: (Each undeclared identifier is reported only once drivers/video/console/vgacon.c:508: error: for each function it appears in.) drivers/video/console/vgacon.c: In function 'vgacon_do_font_op': drivers/video/console/vgacon.c:1073: error: 'PCIMEM_BASE' undeclared (first use in this function) 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 error: Bad exit status from /home/miguel/ltib/tmp/rpm-tmp.31360 (%build) RPM build errors: Bad exit status from /home/miguel/ltib/tmp/rpm-tmp.31360 (%build) Build tim

 

Related content

No related pages.