-
Notifications
You must be signed in to change notification settings - Fork 246
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
开发者你好,烦请提供编译好的可执行文件吧 #185
Comments
Unless you need shadowsocks functionality. You could simply build it with:
make DISABLE_SHADOWSOCKS=1 ENABLE_STATIC=1
…On Mon, May 29, 2023 at 12:37 AM wholenewx ***@***.***> wrote:
您好开发者,我因为需要能处理udp的流量转发工具而找到这里,我对编程完全一窍不通,您的源码,我在debian11和majaro系统上怎么都编译不出来,debian上的错误是:
In file included from parser.c:29: utils.h:7:10: fatal error:
event2/event.h: No such file or directory 7 | #include <event2/event.h> |
^~~~~~~~~~~~~~~~ compilation terminated. make: *** [<builtin>: parser.o]
Error 1
majaro上的错误是:
encrypt.c: 在函数‘enc_key_init’中: encrypt.c:919:17: 错误:‘cipher_info’的存储大小未知
919 | cipher_kt_t cipher_info; | ^~~~~~~~~~~ encrypt.c:919:17:
警告:未使用的变量‘cipher_info’ [-Wunused-variable] encrypt.c: 在文件作用域:
encrypt.c:146:12: 警告:‘crypto_stream_xor_ic’ defined but not used
[-Wunused-function] 146 | static int crypto_stream_xor_ic(uint8_t *c, const
uint8_t *m, uint64_t mlen, | ^~~~~~~~~~~~~~~~~~~~ encrypt.c:139:18:
警告:‘supported_ciphers_key_size’ defined but not used
[-Wunused-const-variable=] 139 | static const int
supported_ciphers_key_size[] = | ^~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c:134:18: 警告:‘supported_ciphers_iv_size’ defined but not used
[-Wunused-const-variable=] 134 | static const int
supported_ciphers_iv_size[] = | ^~~~~~~~~~~~~~~~~~~~~~~~~ make: ***
[<内置>:encrypt.o] 错误 1
都只是默认的make,没有任何特殊需求,但这些错误提示对我们不会编程的人如同天书,根本无从下手。烦请您提供一下amd64、arm64等几个主流平台的可执行文件吧!感谢!
—
Reply to this email directly, view it on GitHub
<#185>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAP2XD5QXAJLYB34VKAVWLTXIN5LRANCNFSM6AAAAAAYR6GXJU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
根据您的提示,分别在debian和manjaro系统里运行 “make DISABLE_SHADOWSOCKS=1 ENABLE_STATIC=1”,但依然还是错误, debian的错误是: |
Prerequisites libevent2 |
debian11的源里面没有libevent2这个包 |
Please run:
|
Thank you so much, Sir! I was failed building first time, then I installed these packages you mentioned here and built successfully! |
您好开发者,我因为需要能处理udp的流量转发工具而找到这里,我对编程完全一窍不通,您的源码,我在debian11和majaro系统上怎么都编译不出来,debian上的错误是:
In file included from parser.c:29: utils.h:7:10: fatal error: event2/event.h: No such file or directory 7 | #include <event2/event.h> | ^~~~~~~~~~~~~~~~ compilation terminated. make: *** [<builtin>: parser.o] Error 1
majaro上的错误是:
encrypt.c: 在函数‘enc_key_init’中: encrypt.c:919:17: 错误:‘cipher_info’的存储大小未知 919 | cipher_kt_t cipher_info; | ^~~~~~~~~~~ encrypt.c:919:17: 警告:未使用的变量‘cipher_info’ [-Wunused-variable] encrypt.c: 在文件作用域: encrypt.c:146:12: 警告:‘crypto_stream_xor_ic’ defined but not used [-Wunused-function] 146 | static int crypto_stream_xor_ic(uint8_t *c, const uint8_t *m, uint64_t mlen, | ^~~~~~~~~~~~~~~~~~~~ encrypt.c:139:18: 警告:‘supported_ciphers_key_size’ defined but not used [-Wunused-const-variable=] 139 | static const int supported_ciphers_key_size[] = | ^~~~~~~~~~~~~~~~~~~~~~~~~~ encrypt.c:134:18: 警告:‘supported_ciphers_iv_size’ defined but not used [-Wunused-const-variable=] 134 | static const int supported_ciphers_iv_size[] = | ^~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [<内置>:encrypt.o] 错误 1
都只是默认的make,没有任何特殊需求,但这些错误提示对我们不会编程的人如同天书,根本无从下手。烦请您提供一下amd64、arm64等几个主流平台的可执行文件吧!感谢!
The text was updated successfully, but these errors were encountered: