基于tiny210v2编译openwrt

来源:互联网 发布:知贝儿科 编辑:程序博客网 时间:2024/05/18 03:11
参考:
 https://openwrt.org.cn/wiki/compiles5pc1xx
https://openwrt.org.cn/wiki/howto
 编译错误1:
   elf.cpp:68:5: error: '::close' has not been declared:

参考trunk的源码和此问题"https://dev.openwrt.org.cn/ticket/45"

   修改./build_dir/host/mklibs/src/mklibs-readelf/elf.cpp


    #include"elf_data.hpp"

   #include

   #include
   #include
   #include

复制代码
下面添加一行"#include "成:


    #include"elf_data.hpp"

   #include

   #include
   #include
   #include
    #include
原创粉丝点击