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

V2死活过不去,求助 #2851

Closed
kl9800 opened this issue Jan 24, 2020 · 30 comments
Closed

V2死活过不去,求助 #2851

kl9800 opened this issue Jan 24, 2020 · 30 comments

Comments

@kl9800
Copy link

kl9800 commented Jan 24, 2020

早上7点多,删除了全部项目然后新拉的代码,

  1. git clone https://github.com/coolsnowwolf/lede
  2. cd lede
  3. ./scripts/feeds update -a
  4. ./scripts/feeds install -a
  5. make clean
  6. make menuconfig
  7. make download V=s (dl下的包全部成功)
  8. make -j1 V=s
    ######################### 报错信息 ######################

Cleaning module download cache (golang/go#27455)

mv -f /home/koll/lede/build_dir/target-x86_64_musl/v2ray-core-4.22.1/.go_work/build/bin/main /home/koll/lede/build_dir/target-x86_64_musl/v2ray-core-4.22.1/.go_work/build/bin/v2ray
upx --lzma --best /home/koll/lede/build_dir/target-x86_64_musl/v2ray-core-4.22.1/.go_work/build/bin/v2ray
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2013
UPX 3.91 Markus Oberhumer, Laszlo Molnar & John Reiser Sep 30th 2013

    File size         Ratio      Format      Name

v2ray 4/8 [***************************************************.] 28.5% | make[3]: *** [/home/koll/lede/build_dir/target-x86_64_musl/v2ray-core-4.22.1/.built] Segmentation fault (core dumped)
make[3]: Leaving directory /home/koll/lede/package/lean/v2ray' time: package/lean/v2ray/compile#52.19#8.78#29.16 make[2]: *** [package/lean/v2ray/compile] Error 2 make[2]: Leaving directory /home/koll/lede'
make[1]: *** [/home/koll/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/koll/lede'
make: *** [world] 错误 2

@blizzardster
Copy link

blizzardster commented Jan 24, 2020

一样的问题,我手动替换更新了dL文件文件,还是无法编译,

@kl9800
Copy link
Author

kl9800 commented Jan 24, 2020

手动更新“v2ray-core-4.22.1.tar.gz” ??

@kl9800
Copy link
Author

kl9800 commented Jan 24, 2020

啊看错了我以为你说已经好了呢

@blizzardster
Copy link

手动更新“v2ray-core-4.22.1.tar.gz” ??

据issues有人说,替换版本就好了,但是我编译成功过一次,因该不是版本的问题

@blizzardster
Copy link

啊看错了我以为你说已经好了呢

用了这个依赖库也不行
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex node-uglify gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint device-tree-compiler libuv-dev git-core

@blizzardster
Copy link

L大说是UPX不支持高通,问题是我们编译X86

@kl9800
Copy link
Author

kl9800 commented Jan 24, 2020

L大说是UPX不支持高通,问题是我们编译X86

我也是X86

@blizzardster
Copy link

啊看错了我以为你说已经好了呢

用了这个依赖库也不行
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex node-uglify gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint device-tree-compiler libuv-dev git-core
我已经过了,现在卡其他地方了,晕,我在重新编译下试试

@hgh188
Copy link

hgh188 commented Jan 24, 2020

一样,搞了一天都没办法过

@blizzardster
Copy link

一样,搞了一天都没办法过

我已经在重新编译了,用了git pull,有更新了,我在看看

@adminidor
Copy link

adminidor commented Jan 24, 2020

v2ray 4/8 [***************************************************.] 28.5% | make[3]: *** [/home/bbq/lede/build_dir/target-x86_64_musl/v2ray-core-4.22.1/.built] Segmentation fault (core dumped)
make[3]: Leaving directory /home/bbq/lede/package/lean/v2ray' time: package/lean/v2ray/compile#18.96#2.23#27.86 make[2]: *** [package/lean/v2ray/compile] Error 2 make[2]: Leaving directory /home/bbq/lede'
make[1]: *** [/home/bbq/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/bbq/lede'
make: *** [world] Error 2
bbq@bbq:~/lede$ git pull
Already up-to-date.

@KFERMercer
Copy link
Contributor

KFERMercer commented Jan 24, 2020

可能是upx版本太低.

请在下面回复你们编译用的系统, 内核和upx版本, 以便定位问题.

@kl9800
Copy link
Author

kl9800 commented Jan 24, 2020

乌班图14

@KFERMercer
Copy link
Contributor

推荐系统: ubuntu18 debian9 deepin15

@kl9800
Copy link
Author

kl9800 commented Jan 24, 2020

好吧换掉系统去试试

@kl9800
Copy link
Author

kl9800 commented Jan 24, 2020

sudo apt-get -y install 。。。 这个后面需要增加什么吗?

@KFERMercer
Copy link
Contributor

今天的CI自动编译顺利通过就已经证明了v2ray没有问题了

@adminidor
Copy link

收到,换系统,刚好有18

@hcym
Copy link

hcym commented Jan 24, 2020

编译没问题,arm和x64都过了,还没刷

@KFERMercer
Copy link
Contributor

有没有用上述给出的建议系统编译依然失败的? 请回复

@kl9800
Copy link
Author

kl9800 commented Jan 24, 2020

正在换系统,我会把结果发到这里,预计8小时以后。。。

@hgh188
Copy link

hgh188 commented Jan 24, 2020

取消upx后编译成功 但V2RAY不能够运行

@aiamadeus
Copy link
Collaborator

aiamadeus commented Jan 24, 2020

编译机内存最好给大一点,至少3G吧
make

@aiamadeus
Copy link
Collaborator

L大说是UPX不支持高通,问题是我们编译X86

不是这意思,原话是armv8上可能有问题,升级upx版本试试

@kl9800
Copy link
Author

kl9800 commented Jan 24, 2020

已经换了Ubuntu18, 正在重新编译

@tcsr200722
Copy link

deepin 15编译失败

@hcym
Copy link

hcym commented Jan 24, 2020

别折腾编译了,v2不能运行,ss正常,非要用v2的话退回去吧

@d975xbx
Copy link

d975xbx commented Jan 24, 2020

编译没问题,问题是SSR PLUS里面的v2ray不能启动。

@coolsnowwolf
Copy link
Owner

image

@kl9800
Copy link
Author

kl9800 commented Jan 24, 2020

换了Ubuntu18以后,原本V2那里卡住的问题已经通过了

@kl9800 kl9800 closed this as completed Jan 24, 2020
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

10 participants