U-boot-1.1.4中关于hello_world.srec出错
来源:互联网 发布:qq飞车s车数据对比 编辑:程序博客网 时间:2024/06/04 17:52
make[1]: *** No rule to make target `hello_world.srec', needed by `all'. Stop.
make[1]: Leaving directory `/home/mort/src/targa/u-boot/u-boot-TOT/examples'
make: *** [examples] Error 2
的问题。可是可以在网上找到解决方法:
打开 vi examples/Makefile
119 $(LIB): .depend $(LIBOBJS)
120 $(AR) crv $@ $(LIBOBJS)
121
122 %: %.o $(LIB)
123 $(LD) -g $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \
124 -o $@ -e $(<:.o=) $< $(LIB) \
125 -L$(gcclibdir) -lgcc
126 %.srec: %
127 $(OBJCOPY) -O srec $< $@ 2>/dev/null
128
129 %.bin: %
130 $(OBJCOPY) -O binary $< $@ 2>/dev/null
把126行和129行改为:
%.srec: %.o
%.bin: %.o
再make就可以了。
make[1]: Leaving directory `/home/mort/src/targa/u-boot/u-boot-TOT/examples'
make: *** [examples] Error 2
的问题。可是可以在网上找到解决方法:
打开 vi examples/Makefile
119 $(LIB): .depend $(LIBOBJS)
120 $(AR) crv $@ $(LIBOBJS)
121
122 %: %.o $(LIB)
123 $(LD) -g $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \
124 -o $@ -e $(<:.o=) $< $(LIB) \
125 -L$(gcclibdir) -lgcc
126 %.srec: %
127 $(OBJCOPY) -O srec $< $@ 2>/dev/null
128
129 %.bin: %
130 $(OBJCOPY) -O binary $< $@ 2>/dev/null
把126行和129行改为:
%.srec: %.o
%.bin: %.o
再make就可以了。
- U-boot-1.1.4中关于hello_world.srec出错
- 编译U-boot中出现hello_world.srec出错之对策
- u-boot hello_world.srec 错误
- u-boot :一个编译 hello_world.srec 的错误
- u-boot 編譯時錯誤No rule to make target `hello_world.srec', needed by `all'. Stop
- bootloader---6.运行U-boot目录examples中的hello_world.c
- U-boot中关于0xdeadbeef说明
- 关于U-boot中malloc返回失败
- 关于u-boot中gd变量
- u-boot关于u-boot的理解
- 关于U-boot调试
- u-boot-1.1.6中关于ARM920T协处理器操作的分析
- u-boot-1.1.6中关于ARM920T协处理器操作的分析
- 关于U-Boot中makefile关键语句的解释
- 关于U-BOOT中.balignl 16,0xdeadbeef的理解
- 关于 U-BOOT 中 SPL 的移植一
- 关于 U-BOOT 中 SPL 的移植 二
- [转]关于U-BOOT中.balignl 16…
- 编译、裁剪、安装、删除 Ubuntu内核和模块管理
- 裁剪Ubuntu内核和模块管理2
- ubuntu10.04 安装配置tftp服务
- Hadoop安装-jdk替换
- DM6446 uboot分析
- U-boot-1.1.4中关于hello_world.srec出错
- tms320dm6446内核启动分析
- Unable to find the ncurses libraries的解决办法
- DM6446的Bootloader
- Ubuntu 11.10下GRUB 2 1.99版编译安装笔记
- EL表达式中fn函数
- Davinci DM6446开发攻略——u-boot-1.3.4移植(1)
- python新手常犯错误
- TI Davinci DM6446开发攻略——UBL移植