-
Notifications
You must be signed in to change notification settings - Fork 57
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
有点语法问题要改,不然用最新版的源码编译会报错 #25
Comments
ERROR: package/feed-netkeeper/netkeeper-interception failed to build. 请问我的显示的构建失败,是语法的问题吗?使用lede最新源码编译的。 |
使用的默认分支,需要改为LUCI-LUA-UCITRACK分支吗? |
我只尝试过LUCI-LUA-UCITRACK分支,主分支没用过 |
Netkeeper Interception仅显示Specifies the LAN Interface to listen一个选项,是正常的吗? |
您好,我在使用lede最新源码,使用您的分支编译出来后,wan选择闪讯拨号会显示“未安装协议支持”,请问可能是哪里的问题呢? |
我自己已经很久没碰这个项目了,对于编译问题不是很清楚 |
用lean最新版源码编译时,编译器报错
根据报错提示,把
https://github.com/CCnut/feed-netkeeper/blob/LUCI-LUA-UCITRACK/netkeeper-interception/src/netkeeper-interception-c.c
14行和15行的
uint8_t
改成
u_int8_t
把
https://github.com/CCnut/feed-netkeeper/blob/LUCI-LUA-UCITRACK/netkeeper-interception/src/netkeeper-interception-s.c
15,16行的
改成
即可通过编译
急着要用的话可以用我的fork
https://github.com/yuhanjin/feed-netkeeper
我感觉是gcc对于c语言的语法标准变严了,有些不太标准的语法在老版本的gcc上可以编译通过,在新版gcc上就直接报错了
由于只编译通过,没测试过实际能不能用,就不并入原代码了,实际能用的话再改把
The text was updated successfully, but these errors were encountered: