主题 : ubuntu下编译uboot出现问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 77161
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
综合积分: 4 分
注册时间: 2012-09-04
最后登录: 2012-10-17
楼主  发表于: 2012-10-10 11:28

 ubuntu下编译uboot出现问题

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

帮忙看看吧

*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2012-10-10 12:32
/usr/bin/ld: cannot open output file mkimage: Is a directory

你在源代码的tools目录下有"mkimage"这个目录?有的话,删掉它。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 77161
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
综合积分: 4 分
注册时间: 2012-09-04
最后登录: 2012-10-17
2楼  发表于: 2012-10-10 15:20
现在又成这个错误啦
make[1]: *** [interrupts.o] 错误 1
make[1]:正在离开目录 `/home/hdx/home/u-boot-2008.10/cpu/arm920t/s3c24x0'
make: *** [cpu/arm920t/s3c24x0/libs3c24x0.a] 错误 2