分页: 1 / 1

ubuntu下编译uboot出现问题

发表于 : 2012-10-10 11:25
handongxu
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

帮忙看看吧

Re: ubuntu下编译uboot出现问题

发表于 : 2012-10-10 13:08
lxr1234
有用crosscompile编译吗?

Re: ubuntu下编译uboot出现问题

发表于 : 2012-10-10 15:18
handongxu
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