undefined reference to ‘raise’ //make distclean和make clean的作用
来源:互联网 发布:招商加盟网络推广计划 编辑:程序博客网 时间:2024/05/22 21:33
第一种原因是:
gcc安装的过程中,它的三个库没有安装,具体安装方法到本人博客里的《u-boot》类别里找《安装gcc必须3个库》,
第二种原因:(这个我修改了,对我的情况不管用,也许对你的情况管用)
不管怎么样,再次配置前,先make distclean。
在此了解先make clean和make distclean
make
根据Makefile编译源代码,连接,生成目标文件,可执行文件。
make clean
清除上次的make命令所产生的object文件(后缀为“.o”的文件)及可执行文件。
make install
将编译成功的可执行文件安装到系统目录中,一般为/usr/local/bin目录。
make distclean类似make clean,但同时也将configure生成的文件全部删除掉,包括Makefile。
)
将cpu /arm920t/config.mk 改为
PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 /
-msoft-float
PLATFORM_CPPFLAGS +=
# =========================================================================
#
# Supply options according to compiler version
#
# =========================================================================
PLATFORM_CPPFLAGS +=$(call cc-option,)
PLATFORM_RELFLAGS +=$(call cc-option,$(call cc-option,))
在uboot的根目录中把PLATFORM_LIBS 修该为如下值
PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc -lc -L/usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/usr/lib
然后重新 make distclean make 应就能通过了
- undefined reference to ‘raise’ //make distclean和make clean的作用
- make distclean和make clean的区别
- make clean和 make distclean的区别
- make clean, make mrproer 和 make distclean的区别
- make clean make distclean
- 编译uboot错误--make clean 和 make distclean的区别
- make clean与make distclean的区别
- make clean与make distclean的区别
- make clean与make distclean的区别
- make clean与make distclean的区别
- make clean与make distclean的区别
- make clean与make distclean的区别
- make clean 与 make distclean 的区别
- make clean与make distclean的区别
- make clean与make distclean的区别
- make clean与make distclean的区别
- make clean与make distclean的区别
- make clean与make distclean的区别
- C++03_template
- node.js xmlreader无法获取CDATA区问题修复
- mongodb sharding
- SOVA的实现(2)
- spring集合注入案例
- undefined reference to ‘raise’ //make distclean和make clean的作用
- Spring中的集合——List、Map、Set、Properties
- 宏do{}while(0)
- SAP发票校验前收货后是否能更改物料价格
- 常用的android弹出对话框
- 关于苹果99刀公司开发者帐号的申请
- spring中的装配集合
- “同城贷中国行” 送春风西安站
- Spring_集合装配