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

Raspberry pi 3b building error #45

Open
MomboteQ opened this issue Dec 4, 2021 · 1 comment
Open

Raspberry pi 3b building error #45

MomboteQ opened this issue Dec 4, 2021 · 1 comment

Comments

@MomboteQ
Copy link

MomboteQ commented Dec 4, 2021

                 from /home/pi/XLArig/src/crypto/cn/CryptoNight_arm.h:35,
                 from /home/pi/XLArig/src/crypto/cn/CnHash.cpp:35:
/home/pi/XLArig/src/crypto/cn/sse2neon.h:122:2: error: #error "Unsupported target. Must be either ARMv7-A+NEON or ARMv8-A."
  122 | #error "Unsupported target. Must be either ARMv7-A+NEON or ARMv8-A."
      |  ^~~~~
In file included from /home/pi/XLArig/src/crypto/cn/soft_aes.h:31,
                 from /home/pi/XLArig/src/crypto/cn/CryptoNight_arm.h:35,
                 from /home/pi/XLArig/src/crypto/cn/CnHash.cpp:35:
/home/pi/XLArig/src/crypto/cn/sse2neon.h: In function ‘uint8x16x4_t _sse2neon_vld1q_u8_x4(const uint8_t*)’:
/home/pi/XLArig/src/crypto/cn/sse2neon.h:362:12: error: ‘vld1q_u8_x4’ was not declared in this scope; did you mean ‘vld1q_u64’?
  362 |     return vld1q_u8_x4(p);
      |            ^~~~~~~~~~~
      |            vld1q_u64
In file included from /home/pi/XLArig/src/crypto/cn/soft_aes.h:31,
                 from /home/pi/XLArig/src/crypto/cn/CryptoNight_arm.h:35,
                 from /home/pi/XLArig/src/crypto/cn/CnHash.cpp:35:
/home/pi/XLArig/src/crypto/cn/sse2neon.h: At global scope:
/home/pi/XLArig/src/crypto/cn/sse2neon.h:7150:9: warning: ‘#pragma GCC pop_options’ without a corresponding ‘#pragma GCC push_options’ [-Wpragmas]
 7150 | #pragma GCC pop_options
      |         ^~~
make[2]: *** [CMakeFiles/xlarig.dir/build.make:1434: CMakeFiles/xlarig.dir/src/crypto/cn/CnHash.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/xlarig.dir/all] Error 2
make: *** [Makefile:103: all] Error 2```
@NotRealPaz
Copy link

#error "Unsupported target. Must be either ARMv7-A+NEON or ARMv8-A."
your os is 32bit
install 64bit linux and try again on your raspberry pi

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

2 participants