-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
报错!!! #18
Comments
你找找你的sdk的g++编译器叫啥名字。。然后把mips-openwrt-linux-g++改成那名字。 |
@dosgo g++编译器名字在那里可以找到?? |
这个目录找啊/home/lo/sdk/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin |
@dosgo mipsel-openwrt-linux-uclibc-g++ |
那你修改openwrtbuildv2.sh文件,把mips-openwrt-linux-g++改成mipsel-openwrt-linux-uclibc-g++ |
生成的ngrokc只有50k左右,我见别人生成的有400多k,作者正常吗?? |
正常,openssl动态链接的就是这个大小。 |
400k的,那是polarssl静态链接的。 |
作者!谢谢你! |
你好! dosgo。 In file included from nonblocking.h:21:0, main.cpp:(.text+0x590): warning: gethostbyname is obsolescent, use getnameinfo() instead. |
一切正常。有ngrokc生成都正常,然后。。你跑下能跑,是新版都正常。 |
dosgo,确实如你所言。编译过程出现上面我提到的信息。 (先关闭路由中 ngrokc服务) 正常使用!!,THX |
这只是警告而已。。正常。说一个变量未定义,还有gethostbyname 过时了。。 |
感觉最后一步出错最后一步 |
版本呢?1.34编译不了 |
用1.35吧 |
刚用最新版,还是一样的错误啊 |
你这哪是最新版,1.35才是 |
仔细看了下,main.cpp文件 |
1.35 sslbio.h:14:21: warning: 'sess'就没sess这个变量..你用git的? |
不是,打包下载Download ZIP |
我检查过了...确认,,1.35包没有问题。建议你删除以前旧的任何包,,,重新下载,,编译。。我觉得你可能是目录搞错了。。或者。。ngrok.cpp没有替换。 |
刚重新下载了,不到10秒,生成一个文件。应该是没问题了 |
lo@lo-virtual-machine:~/ngrok-c$ sh openwrtbuildv2.sh
mkdir: 无法创建目录"build-mips": 文件已存在
openwrtbuildv2.sh: 16: openwrtbuildv2.sh: mips-openwrt-linux-g++: not found
openwrtbuildv2.sh: 17: openwrtbuildv2.sh: mips-openwrt-linux-g++: not found
openwrtbuildv2.sh: 18: openwrtbuildv2.sh: mips-openwrt-linux-g++: not found
openwrtbuildv2.sh: 19: openwrtbuildv2.sh: mips-openwrt-linux-g++: not found
openwrtbuildv2.sh: 20: openwrtbuildv2.sh: mips-openwrt-linux-g++: not found
openwrtbuildv2.sh: 21: openwrtbuildv2.sh: mips-openwrt-linux-g++: not found
openwrtbuildv2.sh: 22: openwrtbuildv2.sh: mips-openwrt-linux-g++: not found
openwrtbuildv2.sh: 23: openwrtbuildv2.sh: mips-openwrt-linux-g++: not found
!/bin/sh
export PATH=$PATH:'/home/lo/sdk/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin'
export STAGING_DIR="/home/lo/sdk/staging_dir"
The text was updated successfully, but these errors were encountered: