QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1629|回复: 1

求助 ── 内核编译出错。小弟崩溃拉,急等大虾拯救!

[复制链接]
发表于 2005-7-28 17:32:01 | 显示全部楼层 |阅读模式
我用的是rh90. ,编译基于arm的2.4.27内核,编译工具是2.95.3。尝试N遍拉,就是无法解决下面的错误。请大家帮忙拉!谢谢先 。                        make[2]: Entering directory `/home/xuyang/linux-2.4.X/drivers/video'
make all_targets
make[3]: Entering directory `/home/xuyang/linux-2.4.X/drivers/video'
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/home/xuyang/linux-2.4.X/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -mshort-load-bytes -msoft-float -Uarm   -nostdinc -iwithprefix include -DKBUILD_BASENAME=vgacon   -c -o vgacon.o vgacon.c
vgacon.c: In function `write_vga':
vgacon.c:156: warning: cast to pointer from integer of different size
vgacon.c:157: warning: cast to pointer from integer of different size
vgacon.c: In function `vgacon_startup':
vgacon.c:283: `PCIMEM_BASE' undeclared (first use in this function)
vgacon.c:283: (Each undeclared identifier is reported only once
vgacon.c:283: for each function it appears in.)
vgacon.c: In function `vgacon_set_cursor_size':
vgacon.c:414: warning: cast to pointer from integer of different size
vgacon.c:415: warning: cast to pointer from integer of different size
vgacon.c:416: warning: cast to pointer from integer of different size
vgacon.c:417: warning: cast to pointer from integer of different size
vgacon.c:422: warning: cast to pointer from integer of different size
vgacon.c:423: warning: cast to pointer from integer of different size
vgacon.c:424: warning: cast to pointer from integer of different size
vgacon.c:425: warning: cast to pointer from integer of different size
vgacon.c: In function `vga_vesa_blank':
vgacon.c:533: warning: cast to pointer from integer of different size
vgacon.c:537: warning: cast to pointer from integer of different size
vgacon.c:538: warning: cast to pointer from integer of different size
vgacon.c:539: warning: cast to pointer from integer of different size
vgacon.c:540: warning: cast to pointer from integer of different size
vgacon.c:541: warning: cast to pointer from integer of different size
vgacon.c:542: warning: cast to pointer from integer of different size
vgacon.c:543: warning: cast to pointer from integer of different size
vgacon.c:544: warning: cast to pointer from integer of different size
vgacon.c:545: warning: cast to pointer from integer of different size
vgacon.c:546: warning: cast to pointer from integer of different size
vgacon.c:547: warning: cast to pointer from integer of different size
vgacon.c:548: warning: cast to pointer from integer of different size
vgacon.c:549: warning: cast to pointer from integer of different size
vgacon.c:550: warning: cast to pointer from integer of different size
vgacon.c:551: warning: cast to pointer from integer of different size
vgacon.c:552: warning: cast to pointer from integer of different size
vgacon.c:573: warning: cast to pointer from integer of different size
vgacon.c:574: warning: cast to pointer from integer of different size
vgacon.c:575: warning: cast to pointer from integer of different size
vgacon.c:576: warning: cast to pointer from integer of different size
vgacon.c:577: warning: cast to pointer from integer of different size
vgacon.c:578: warning: cast to pointer from integer of different size
vgacon.c:587: warning: cast to pointer from integer of different size
vgacon.c:588: warning: cast to pointer from integer of different size
vgacon.c:589: warning: cast to pointer from integer of different size
vgacon.c:590: warning: cast to pointer from integer of different size
vgacon.c:595: warning: cast to pointer from integer of different size
vgacon.c: In function `vga_vesa_unblank':
vgacon.c:605: warning: cast to pointer from integer of different size
vgacon.c:606: warning: cast to pointer from integer of different size
vgacon.c:607: warning: cast to pointer from integer of different size
vgacon.c:608: warning: cast to pointer from integer of different size
vgacon.c:609: warning: cast to pointer from integer of different size
vgacon.c:610: warning: cast to pointer from integer of different size
vgacon.c:611: warning: cast to pointer from integer of different size
vgacon.c:612: warning: cast to pointer from integer of different size
vgacon.c:613: warning: cast to pointer from integer of different size
vgacon.c:614: warning: cast to pointer from integer of different size
vgacon.c:615: warning: cast to pointer from integer of different size
vgacon.c:616: warning: cast to pointer from integer of different size
vgacon.c:617: warning: cast to pointer from integer of different size
vgacon.c:618: warning: cast to pointer from integer of different size
vgacon.c:619: warning: cast to pointer from integer of different size
vgacon.c:620: warning: cast to pointer from integer of different size
vgacon.c:626: warning: cast to pointer from integer of different size
vgacon.c: In function `vgacon_do_font_op':
vgacon.c:710: `PCIMEM_BASE' undeclared (first use in this function)
vgacon.c:823: warning: cast to pointer from integer of different size
vgacon.c:828: warning: cast to pointer from integer of different size
vgacon.c:704: warning: `charmap' might be used uninitialized in this function
vgacon.c: In funvgacon.c:863: warning: cast to pointer from integer of different size
vgacon.c:864: warning: cast to pointer from integer of different size
vgacon.c:865: warning: cast to pointer from integer of different size
vgacon.c:866: warning: cast to pointer from integer of different size
vgacon.c:876: warning: cast to pointer from integer of different size
vgacon.c:877: warning: cast to pointer from integer of different size
vgacon.c:878: warning: cast to pointer from integer of different size
vgacon.c:879: warning: cast to pointer from integer of different size
vgacon.c:880: warning: cast to pointer from integer of different size
vgacon.c:881: warning: cast to pointer from integer of different size
make[3]: *** [vgacon.o] Error 1
make[3]: Leaving directory `/home/xuyang/linux-2.4.X/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/xuyang/linux-2.4.X/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/home/xuyang/linux-2.4.X/drivers'
make: *** [_dir_drivers] Error 2
ction `vgacon_adjust_height':
发表于 2005-11-9 14:07:59 | 显示全部楼层
我也遇到这个问题了,是VGA text console的问题,但现在还不知怎样解决
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 04:36 , Processed in 0.054062 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表