D13410N3 / MTProxyARMPatch

Patch for running MTProto on ARMv7
26 stars 1 forks source link

Not working on Oragne Pi Zero Plus running Armbian Bionic #1

Open Bright-W opened 5 years ago

Bright-W commented 5 years ago

Below are the errors when make.

common/crc32c.c: In function ‘crc32c_partial_sse42_clmul’: common/crc32c.c:406:14: warning: implicit declaration of function ‘builtin_ia32_pclmulqdq128’; did you mean ‘builtin_fabsd128’? [-Wimplicit-function-declaration] v2di F = builtin_ia32_pclmulqdq128 (D, K, 0x00) ^ builtin_ia32_pclmulqdq128 (E, K, 0x10); ^~~~~~~ __builtin_fabsd128 common/crc32c.c:406:14: error: incompatible types when initializing type ‘v2di {aka vector(2) long long int}’ using type ‘int’ common/crc32c.c:471:14: error: incompatible types when initializing type ‘v2di {aka vector(2) long long int}’ using type ‘int’ v2di F = builtin_ia32_pclmulqdq128 (D, K, 0x00) ^ builtin_ia32_pclmulqdq128 (E, K, 0x10); ^~~~~~~ At top level: common/crc32c.c:340:17: warning: ‘crc32c_partial_sse42_clmul’ defined but not used [-Wunused-function] static unsigned crc32c_partial_sse42_clmul (const void data, long len, unsigned crc) { ^~~~~~ common/crc32c.c:307:17: warning: ‘crc32c_partial_sse42’ defined but not used [-Wunused-function] static unsigned crc32c_partial_sse42 (const void data, long len, unsigned crc) { ^~~~~~~~ Makefile:95: recipe for target 'objs/common/crc32c.o' failed make: *** [objs/common/crc32c.o] Error 1

daro-ilovetea commented 5 years ago

Same for me on Scaleway ARM64 VPS.

Bright-W commented 5 years ago

Have switched to JSMTProxy. Worked fine for me. https://github.com/FreedomPrevails/JSMTProxy

daro-ilovetea commented 5 years ago

Have switched to JSMTProxy. Worked fine for me. https://github.com/FreedomPrevails/JSMTProxy

Thanks, works perfectly for me.

John-Lin commented 4 years ago

Same here.

Screen Shot 2020-07-12 at 10 56 20 PM

Compiled failed on ARMv8 on Raspberry Pi 4