ubuntu下编译uboot出现问题

内核编译和嵌入式产品的设计与开发
回复
handongxu
帖子: 104
注册时间: 2012-08-14 20:00

ubuntu下编译uboot出现问题

#1

帖子 handongxu » 2012-10-10 11:25

ubuntu下编译uboot出现问题
root@hdx-desktop:/home/hdx/home/u-boot-2008.10# make
for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: 正在进入目录 `/home/hdx/home/u-boot-2008.10/tools'
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/home/hdx/home/u-boot-2008.10/tools'
make[1]: 正在进入目录 `/home/hdx/home/u-boot-2008.10/examples'
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/home/hdx/home/u-boot-2008.10/examples'
make[1]: 正在进入目录 `/home/hdx/home/u-boot-2008.10/api_examples'
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/home/hdx/home/u-boot-2008.10/api_examples'
make -C tools all
make[1]: 正在进入目录 `/home/hdx/home/u-boot-2008.10/tools'
gcc -Wall -pedantic -idirafter /home/hdx/home/u-boot-2008.10/include -idirafter /home/hdx/home/u-boot-2008.10/include2 -idirafter /home/hdx/home/u-boot-2008.10/include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o image.o md5.o sha1.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o
/usr/bin/ld: cannot open output file mkimage: Is a directory
collect2: ld returned 1 exit status
make[1]: *** [mkimage] 错误 1
make[1]:正在离开目录 `/home/hdx/home/u-boot-2008.10/tools'
make: *** [tools] 错误 2

帮忙看看吧
头像
lxr1234
帖子: 721
注册时间: 2009-04-10 11:15
来自: 三民主义国国民权利省我的选择市中共下台镇

Re: ubuntu下编译uboot出现问题

#2

帖子 lxr1234 » 2012-10-10 13:08

有用crosscompile编译吗?
强烈反对M$的ARM Secure Boot 锁定要求,大家请签名反对
http://www.fsf.org/campaigns/secure-boo ... cted-boot/
handongxu
帖子: 104
注册时间: 2012-08-14 20:00

Re: ubuntu下编译uboot出现问题

#3

帖子 handongxu » 2012-10-10 15:18

lxr1234 写了:有用crosscompile编译吗?
现在又成了这个错误啦make[1]: *** [interrupts.o] 错误 1
make[1]:正在离开目录 `/home/hdx/home/u-boot-2008.10/cpu/arm920t/s3c24x0'
make: *** [cpu/arm920t/s3c24x0/libs3c24x0.a] 错误 2
回复