-
Notifications
You must be signed in to change notification settings - Fork 109
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
有没有指导一下编译遇到的问题 #22
Comments
cd $GOPATH/src/github.com/phuslu/
rm -rf glog
git clone --depth 1 https://github.com/phuslu/glog
cd $BUILD_ROOT/goproxy/
grep RequestConnectionIDTruncation . -rl | xargs -I {} sed -i "s/RequestConnectionIDTruncation/RequestConnectionIDOmission/g" {}
grep DialTCPContext . -rl | xargs -I {} sed -i "s/DialTCPContext(ctx, network, nil, raddr)/DialTCPContext(ctx, network, nil, raddr, nil)/g" {} |
谢谢 Peytonlan 但是,新的问题出来了,编译出来的比如windows下的程序出现错误异常。。。 |
抱歉, Windows几乎不用 |
没有linux,不过编了个android的试了下,情况是一样的
可能原因是源码的改动部分,或者是引用的库quic-go版本问题导致有些变动? |
空指针的问题quic-go上游已修复, 等 @phuslu 同步上游代码, 或者手工打补丁 |
Thank you @Peytonlan very much. My intention is to try reducing the battery consumption on mobile devices. By modifying following parameters I can manager extending the screen on time from 50% to 70% and extending the stand by time from 20% to 90%. Even that compacts battery a lot.A normal use with SOT 10 hours reduced to 7 hours and even worse if you are moving that makes program dials more. So,I looked into code to see whether there's some parameters can be modified. Another better one is change the dealing policy but much harder. (Please excuse for sensitive reason that using english) |
grrr... Having a clear view of time related codes is hard for me ,so it's confusing when adjusting some of them after some tries. Finally ,setting parameter "EnableDeadProbe" false in gae.json meets the "quiet at background dial at demond" and no need to change time related parameters. Cheer to phuslu. About another tip is about the download . |
|
我是在windows下用docker装了个ubuntu弄的,
按照编译步骤那里,编译 golang 工具链 和 编译 bogo 都通过了,
编译 goproxy 时
awk那里开始出现问题,
一个是
一个是
golang.org/x/那边几个库版本对不上
然后尝试了下go build -v
出现2种错误
具体请看
该如何处理呢?
The text was updated successfully, but these errors were encountered: