参考:https://openwrt.org.cn/wiki/compiles5pc1xxhttps://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系统 http://www.linuxidc.com/Linux/2013-07/87435.htm