{"action":"created","issue":{"url":"https://api.github.com/repos/bettermanbao/openwrt-shadowsocksR-libev-full/issues/22","repository_url":"https://api.github.com/repos/bettermanbao/openwrt-shadowsocksR-libev-full","labels_url":"https://api.github.com/repos/bettermanbao/openwrt-shadowsocksR-libev-full/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/bettermanbao/openwrt-shadowsocksR-libev-full/issues/22/comments","events_url":"https://api.github.com/repos/bettermanbao/openwrt-shadowsocksR-libev-full/issues/22/events","html_url":"https://github.com/bettermanbao/openwrt-shadowsocksR-libev-full/issues/22","id":153492232,"number":22,"title":"您好，我想问一下关于shadowsocks server在openwrt 上的部署","user":{"login":"mao13820","id":15268490,"avatar_url":"https://avatars.githubusercontent.com/u/15268490?v=3","gravatar_id":"","url":"https://api.github.com/users/mao13820","html_url":"https://github.com/mao13820","followers_url":"https://api.github.com/users/mao13820/followers","following_url":"https://api.github.com/users/mao13820/following{/other_user}","gists_url":"https://api.github.com/users/mao13820/gists{/gist_id}","starred_url":"https://api.github.com/users/mao13820/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mao13820/subscriptions","organizations_url":"https://api.github.com/users/mao13820/orgs","repos_url":"https://api.github.com/users/mao13820/repos","events_url":"https://api.github.com/users/mao13820/events{/privacy}","received_events_url":"https://api.github.com/users/mao13820/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-06T16:48:43Z","updated_at":"2016-05-11T16:04:22Z","closed_at":null,"body":"我按照您的ipk安装，安装完之后无法使用，提示segementation fault,我想问一下，是否是因为缺少一些库文件还是什么呢？因为我看有的教程需要连接一下路由的库，例如http://www.xuxiaobo.com/?p=629。谢谢您了"},"comment":{"url":"https://api.github.com/repos/bettermanbao/openwrt-shadowsocksR-libev-full/issues/comments/218506750","html_url":"https://github.com/bettermanbao/openwrt-shadowsocksR-libev-full/issues/22#issuecomment-218506750","issue_url":"https://api.github.com/repos/bettermanbao/openwrt-shadowsocksR-libev-full/issues/22","id":218506750,"user":{"login":"mao13820","id":15268490,"avatar_url":"https://avatars.githubusercontent.com/u/15268490?v=3","gravatar_id":"","url":"https://api.github.com/users/mao13820","html_url":"https://github.com/mao13820","followers_url":"https://api.github.com/users/mao13820/followers","following_url":"https://api.github.com/users/mao13820/following{/other_user}","gists_url":"https://api.github.com/users/mao13820/gists{/gist_id}","starred_url":"https://api.github.com/users/mao13820/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mao13820/subscriptions","organizations_url":"https://api.github.com/users/mao13820/orgs","repos_url":"https://api.github.com/users/mao13820/repos","events_url":"https://api.github.com/users/mao13820/events{/privacy}","received_events_url":"https://api.github.com/users/mao13820/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T16:04:22Z","updated_at":"2016-05-11T16:04:22Z","body":"谢谢您了，估计就是这个问题，我是attitude_adjustment，估计是12.09版本。但是这两天我试着自己去编译了一下，老是出问题。想请您看看这是为什么\r\nhumou@VM-69-84-debian:~/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2$ make package/shadowsocks-libev/compile V=99\r\ntmp/.config-package.in:11:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev' refer to undefined symbol 'PACKAGE_libc'\r\ntmp/.config-package.in:12:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev' refer to undefined symbol 'PACKAGE_libopenssl'\r\ntmp/.config-package.in:13:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev' refer to undefined symbol 'PACKAGE_libpthread'\r\ntmp/.config-package.in:14:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev' refer to undefined symbol 'PACKAGE_librt'\r\ntmp/.config-package.in:15:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev' refer to undefined symbol 'PACKAGE_libpthread'\r\ntmp/.config-package.in:25:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-polarssl' refer to undefined symbol 'PACKAGE_libc'\r\ntmp/.config-package.in:26:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-polarssl' refer to undefined symbol 'PACKAGE_libpthread'\r\ntmp/.config-package.in:27:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-polarssl' refer to undefined symbol 'PACKAGE_libpolarssl'\r\ntmp/.config-package.in:28:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-polarssl' refer to undefined symbol 'PACKAGE_librt'\r\ntmp/.config-package.in:29:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-polarssl' refer to undefined symbol 'PACKAGE_libpthread'\r\ntmp/.config-package.in:39:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec' refer to undefined symbol 'PACKAGE_libc'\r\ntmp/.config-package.in:40:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec' refer to undefined symbol 'PACKAGE_libopenssl'\r\ntmp/.config-package.in:41:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec' refer to undefined symbol 'PACKAGE_ipset'\r\ntmp/.config-package.in:42:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec' refer to undefined symbol 'PACKAGE_ip'\r\ntmp/.config-package.in:43:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec' refer to undefined symbol 'PACKAGE_libpthread'\r\ntmp/.config-package.in:44:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec' refer to undefined symbol 'PACKAGE_librt'\r\ntmp/.config-package.in:45:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec' refer to undefined symbol 'PACKAGE_libpthread'\r\ntmp/.config-package.in:55:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec-polarssl' refer to undefined symbol 'PACKAGE_libc'\r\ntmp/.config-package.in:56:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec-polarssl' refer to undefined symbol 'PACKAGE_ipset'\r\ntmp/.config-package.in:57:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec-polarssl' refer to undefined symbol 'PACKAGE_ip'\r\ntmp/.config-package.in:58:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec-polarssl' refer to undefined symbol 'PACKAGE_libpthread'\r\ntmp/.config-package.in:59:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec-polarssl' refer to undefined symbol 'PACKAGE_libpolarssl'\r\ntmp/.config-package.in:60:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec-polarssl' refer to undefined symbol 'PACKAGE_librt'\r\ntmp/.config-package.in:61:warning: 'select' used by config symbol 'PACKAGE_shadowsocks-libev-spec-polarssl' refer to undefined symbol 'PACKAGE_libpthread'\r\n#\r\n# using defaults found in .config\r\n#\r\n\r\n\r\n*** End of OpenWrt configuration.\r\n*** Execute 'make' to build the OpenWrt or try 'make help'.\r\n\r\nmake[1]: Entering directory `/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2'\r\nmake[2]: Entering directory `/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/package/shadowsocks-libev'\r\n(cd /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-_-/shadowsocks-libev/openssl/shadowsocks-libev-2.4.6; rm -f aclocal.m4; if [ -f ./configure.ac ] || [ -f ./configure.in ]; then [ -d ./autom4te.cache ] && rm -rf autom4te.cache; [ -e ./config.rpath ] || ln -s /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/scripts/config.rpath ./config.rpath; touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; AUTOM4TE=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/autom4te AUTOCONF=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/autoconf AUTOMAKE=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/automake ACLOCAL=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/aclocal AUTOHEADER=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/autoheader LIBTOOLIZE=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/libtoolize LIBTOOL=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/libtool M4=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/m4 AUTOPOINT=true /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/autoreconf -v -f -i -s -B /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/share/aclocal -I /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/host/share/aclocal -I /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/usr/share/aclocal -I m4 -I . . || true; fi; );\r\nautoreconf: Entering directory `.'\r\nautoreconf: configure.ac: not using Gettext\r\nautoreconf: running: /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/aclocal -I /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/host/share/aclocal -I /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/usr/share/aclocal -I m4 -I . --force -I m4\r\nautoreconf: configure.ac: tracing\r\nautoreconf: configure.ac: adding subdirectory libsodium to autoreconf\r\nautoreconf: Entering directory `libsodium'\r\nautoreconf: running: /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/libtoolize --force\r\nOpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.\r\nOpenWrt-libtoolize: linking file `build-aux/ltmain.sh'\r\nOpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.\r\nOpenWrt-libtoolize: linking file `m4/libtool.m4'\r\nOpenWrt-libtoolize: linking file `m4/ltoptions.m4'\r\nOpenWrt-libtoolize: linking file `m4/ltsugar.m4'\r\nOpenWrt-libtoolize: linking file `m4/ltversion.m4'\r\nOpenWrt-libtoolize: linking file `m4/lt~obsolete.m4'\r\nautoreconf: running: /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/autoconf --include=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/host/share/aclocal --include=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/share/aclocal --force\r\nautoreconf: configure.ac: not using Autoheader\r\nautoreconf: running: /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/automake --add-missing --force-missing\r\nautoreconf: Leaving directory `libsodium'\r\nOpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `auto'.\r\nOpenWrt-libtoolize: linking file `auto/ltmain.sh'\r\nOpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.\r\nOpenWrt-libtoolize: linking file `m4/libtool.m4'\r\nOpenWrt-libtoolize: linking file `m4/ltoptions.m4'\r\nOpenWrt-libtoolize: linking file `m4/ltsugar.m4'\r\nOpenWrt-libtoolize: linking file `m4/ltversion.m4'\r\nOpenWrt-libtoolize: linking file `m4/lt~obsolete.m4'\r\nautoreconf: running: /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/autoheader --include=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/host/share/aclocal --include=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/share/aclocal --force\r\nautoreconf: Leaving directory `.'\r\n(cd /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-_-/shadowsocks-libev/openssl/shadowsocks-libev-2.4.6/./; if [ -x ./configure ]; then /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-_-/shadowsocks-libev/openssl/shadowsocks-libev-2.4.6/ -name config.guess | xargs -r chmod u+w; /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-_-/shadowsocks-libev/openssl/shadowsocks-libev-2.4.6/ -name config.guess | xargs -r -n1 cp /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/scripts/config.guess; /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-_-/shadowsocks-libev/openssl/shadowsocks-libev-2.4.6/ -name config.sub | xargs -r chmod u+w; /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-_-/shadowsocks-libev/openssl/shadowsocks-libev-2.4.6/ -name config.sub | xargs -r -n1 cp /home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/scripts/config.sub; AR=-openwrt-linux-ar AS=\"-openwrt-linux-gcc -c  -fhonour-copts -Wno-error=unused-but-set-variable\" LD=-openwrt-linux-ld NM=-openwrt-linux-nm CC=\"-openwrt-linux-gcc\" GCC=\"-openwrt-linux-gcc\" CXX=\"no\" RANLIB=-openwrt-linux-ranlib STRIP=-openwrt-linux-strip OBJCOPY=-openwrt-linux-objcopy OBJDUMP=-openwrt-linux-objdump SIZE=-openwrt-linux-size CFLAGS=\" -fhonour-copts -Wno-error=unused-but-set-variable \" CXXFLAGS=\" -fhonour-copts -Wno-error=unused-but-set-variable \" CPPFLAGS=\"-I/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/usr/include -I/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/include -I/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-_gcc-_-/usr/include -I/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-_gcc-_-/include \" LDFLAGS=\"-L/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/usr/lib -L/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-_-/lib -L/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-_gcc-_-/usr/lib -L/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-_gcc-_-/lib \"   ./configure --target=-openwrt-linux --host=-openwrt-linux --build=i486-linux-gnu --program-prefix=\"\" --program-suffix=\"\" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls  --disable-ipv6 --disable-ssp ; fi; )\r\nchecking for -openwrt-linux-gcc... -openwrt-linux-gcc\r\nchecking whether the C compiler works... no\r\nconfigure: error: in `/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-_-/shadowsocks-libev/openssl/shadowsocks-libev-2.4.6':\r\nconfigure: error: C compiler cannot create executables\r\nSee `config.log' for more details\r\nmake[2]: *** [/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-_-/shadowsocks-libev/openssl/shadowsocks-libev-2.4.6/.configured_] Error 77\r\nmake[2]: Leaving directory `/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/package/shadowsocks-libev'\r\nmake[1]: *** [package/shadowsocks-libev/compile] Error 2\r\nmake[1]: Leaving directory `/home/humou/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2'\r\nmake: *** [package/shadowsocks-libev/compile] Error 2\r\n其中我看说详细信息在config.log里面，可是我没找到config.log...\r\n谢谢您了！"}}