基于Tiny210v2编译OpenWrt


参考:

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

推荐阅读:

OpenWrt——适用于路由器的Linux系统

相关内容