Skip to content
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

编译出错 #235

Open
ywyha opened this issue Dec 30, 2020 · 4 comments
Open

编译出错 #235

ywyha opened this issue Dec 30, 2020 · 4 comments

Comments

@ywyha
Copy link

ywyha commented Dec 30, 2020

Run cd /opt/hostedtoolcache/go
cd /opt/hostedtoolcache/go
rm -rf /opt/hostedtoolcache/go/1.14.12
mv 1.15.5 1.14.12
shell: /bin/bash -e {0}
mv: cannot stat '1.15.5': No such file or directory
Error: Process completed with exit code 1.

@52zongzhen
Copy link

  run: |
    git clone --depth=1 https://github.com/chongshengB/rt-n56u.git /opt/rt-n56u
    cd /opt/rt-n56u/toolchain-mipsel
    sh dl_toolchain.sh
    mkdir -p /opt/images/
    
- name: Set Golang
  run: |
   cd /opt/hostedtoolcache/go
   rm -rf /opt/hostedtoolcache/go/1.14.13
   mv 1.15.6 1.14.13 
    
- name: Build Firmware
  env:
    TNAME: NEWIFI3
  run: |

注意Golang版本,云虚拟机同步更新的。现在是1.15.6,1.14.13。

@ywyha
Copy link
Author

ywyha commented Jan 3, 2021

  run: |
    git clone --depth=1 https://github.com/chongshengB/rt-n56u.git /opt/rt-n56u
    cd /opt/rt-n56u/toolchain-mipsel
    sh dl_toolchain.sh
    mkdir -p /opt/images/
    
- name: Set Golang
  run: |
   cd /opt/hostedtoolcache/go
   rm -rf /opt/hostedtoolcache/go/1.14.13
   mv 1.15.6 1.14.13 
    
- name: Build Firmware
  env:
    TNAME: NEWIFI3
  run: |

注意Golang版本,云虚拟机同步更新的。现在是1.15.6,1.14.13。

谢谢大佬,修改后编译成功,赞!

@xiaiohuan
Copy link

/home/runner/go/pkg/mod/github.com/xtls/[email protected]/auth.go:29:7: undefined: ecdsa.VerifyASN1
/home/runner/go/pkg/mod/github.com/xtls/[email protected]/key_schedule.go:177:16: xShared.FillBytes undefined (type *big.Int has no field or method FillBytes)
make[2]: *** [build_v2ray] Error 2
Makefile:30: recipe for target 'build_v2ray' failed
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/v2ray'
Makefile:235: recipe for target 'all' failed
make[1]: Leaving directory '/opt/rt-n56u/trunk/user'
Makefile:202: recipe for target 'user_only' failed
make[1]: *** [all] Error 2
make: *** [user_only] Error 2
Error: Process completed with exit code 2.

集成 V2R就编译失败 不集成就可以成功但是 XX上网就一直提示V2R挂掉

@packingbox
Copy link

1.15.6 也提示同样错误了,去翻了一下官网,现在要改成1.15.7了,编译通过。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants