免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2688 | 回复: 1
打印 上一主题 下一主题

求教:make bzImage时的错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-08 14:24 |只看该作者 |倒序浏览
/scratchbox/users/wyl/kernel/include/linux/ptrace.h:25:1: warning: this is the location of the previous definition
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o bvmlinux head.o misc.o piggy.o
make[2]: Leaving directory `/scratchbox/users/wyl/kernel/arch/i386/boot/compressed'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o tools/build tools/build.c -I/scratchbox/users/wyl/kernel/include
objcopy -O binary -R .note -R .comment -S compressed/bvmlinux compressed/bvmlinux.out
tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
Usage: build [-b] bootsect setup system [rootdev] [> image]
make[1]: *** [bzImage] Error 1
make[1]: Leaving directory `/scratchbox/users/wyl/kernel/arch/i386/boot'
make: *** [bzImage] Error 2

这是我在scratchbox环境中,选用i386-gcc3.3.2-uclibc20040229-1.0.3-i386.tar.gz这一套工具链,在编译2.4.20内核时
make bzImage时出现的错误。麻烦大家帮看下。是什么原因。

注:在目录下,已经生成了vmlinux。
提示的这个,是什么作用呢?Usage: build [-b] bootsect setup system [rootdev] [> image]

论坛徽章:
0
2 [报告]
发表于 2007-06-08 17:02 |只看该作者
build这个命令出错了.找到tools/build.c,分析分析吧.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP