undefined reference to什么意思(undined nce to中文翻译、

日期: 栏目:知识类 浏览:

  内容导航:

  1、

  undefined reference to

  2、

  编译时报undefined reference to printf求助解决

  1、

  undefined reference to

  英:

  美:

  常用释义:

  未定义的引用:在编程中

  (函数)未定义

  1、Trouble with a namespace in a header file, "

  undefined reference to

  " error?───在头文件中的命名空间的麻烦,”“错误未定义的引用?

  2、Undefined reference to data!───未定义的数据参考!

  3、One files definition of a global symbol will satisfy another files

  undefined reference to

  the same global symbol.───一个object文件中的全局符号的定义可以在另一个object文件中对该全局符号不用定义而直接引用。

  1、make reference to───提到,谈及

  2、grid reference───参考坐标格网

  3、ideas of references───牵连观念

  4、ideas of reference───介入观念

  5、in deference to───鉴于;听从

  6、with/in reference to───与/有关

  7、grid references───参考坐标格网

  2、

  编译时报undefined reference to printf求助解决

  关于uboot2017.11启用debug模式失败的问题

  修改include/configs/itop4412.h文件,在末尾添加#define DEBUG,然后用make命令编译uboot,但是编译不通过,报错:

  undefined reference to `printf‘

  解决办法:

  (1)make menuconfig,选中SPL / TPL ---> Support generic libraries和Support common libraries

  (2)修改scripts/Makefile.uncmd_spl文件,将CONFIG_DM_SERIAL=用#号注释掉。

  然后修改include/config_uncmd_spl.h文件,将里面的#undef CONFIG_DM_SERIAL注释掉(注释必须用/**/,不能用//)。

  再次编译uboot,就成功了。

  注意一下生成的spl/u-boot-spl.bin大小,exynos4412芯片的BL2_SPL程序(uboot spl)的大小不允许超过14KB-4字节(14332字节)。

  exynos4412的BL1程序(三星不开放源码的那段启动程序)只能把BL2_SPL程序(uboot的spl部分)复制到iRAM里面执行,iRAM里面是装不下完整的uboot程序的(BL2)。BL2_SPL的作用就是把完整版uboot(BL2)复制到DDR3内存里面,然后跳过去执行,这不属于BL1程序的任务。

标签: