@ferstar
2015-11-02T23:38:24.000000Z
字数 1337
阅读 3045
OS
手上忽然没有路由用了, 于是又启用吃灰很久的HG225D, 上面刷的还是12年的backfire
固件, 翻墙自然是必须的, 官方有提供OpenWRT shadowsocks客户端,不过是通过开发版编译的, 稳定版使用出现以下错误:
ss-local: can't resolve symbol 'epoll_create'
于是决定再编译一次
Linux cbsdev 3.10.0-123.el7.x86_64 #1 SMP Mon May 5 11:16:57 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
记录比较折腾的一个bug
toolchain/gcc/patches/4.3.3+cs/010-documentation.patch
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3711,18 +3711,10 @@
doc/gccint.info: $(TEXI_GCCINT_FILES)
doc/cppinternals.info: $(TEXI_CPPINT_FILES)
-doc/%.info: %.texi
- if [ x$(BUILD_INFO) = xinfo ]; then \
- $(MAKEINFO) $(MAKEINFOFLAGS) -I . -I $(gcc_docdir) \
- -I $(gcc_docdir)/include -o $@ $<; \
- fi
+doc/%.info:
# Duplicate entry to handle renaming of gccinstall.info
-doc/gccinstall.info: $(TEXI_GCCINSTALL_FILES)
- if [ x$(BUILD_INFO) = xinfo ]; then \
- $(MAKEINFO) $(MAKEINFOFLAGS) -I $(gcc_docdir) \
- -I $(gcc_docdir)/include -o $@ $<; \
- fi
+doc/gccinstall.info:
doc/cpp.dvi: $(TEXI_CPP_FILES)
doc/gcc.dvi: $(TEXI_GCC_FILES)
似乎是有些格式不对, 禁用掉makeinfo
生成就好了
shadowsocks-libev_2.4.1_ramips.ipk
toolchain
OpenWRT交叉编译安装使用shadowsocks
Using the SDK
获取OpenWrt-Dreambox源代码
错误1:./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
错误2:binutils-2.19.1/bfd'make[6]: *** [info-recursive] Error 1
错误3:elf.cpp:68:5: error: '::close' has not been declared
错误4:cppopts.texi:777: @itemx must follow @item
How to create a patch
错误5:dwc_otg/dwc_otg.ko': No such file or directory