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

Not compile in bigsur #302

Open
dinho-afsn opened this issue Jun 20, 2021 · 0 comments
Open

Not compile in bigsur #302

dinho-afsn opened this issue Jun 20, 2021 · 0 comments

Comments

@dinho-afsn
Copy link

Erros on try compile on bigsur

Consolidate compiler generated dependencies of target xmr-stak-amd-c
[ 5%] Building C object CMakeFiles/xmr-stak-amd-c.dir/crypto/soft_aes.c.o
/Users/dinho/Desktop/RIG-DOCKER-XMR/xmr-stak-amd/crypto/soft_aes.c:199:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
uint32_t _rotr(uint32_t value, uint32_t amount)
^
/Users/dinho/Desktop/RIG-DOCKER-XMR/xmr-stak-amd/crypto/soft_aes.c:199:32: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
uint32_t _rotr(uint32_t value, uint32_t amount)
^
/Users/dinho/Desktop/RIG-DOCKER-XMR/xmr-stak-amd/crypto/soft_aes.c:199:10: error: conflicting types for '__rord'
uint32_t _rotr(uint32_t value, uint32_t amount)
^
/Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/ia32intrin.h:425:20: note: expanded from macro '_rotr'
#define _rotr(a,b) __rord((a), (b))
^
/Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/ia32intrin.h:398:1: note: previous definition is here
__rord(unsigned int __X, int __C) {
^
/Users/dinho/Desktop/RIG-DOCKER-XMR/xmr-stak-amd/crypto/soft_aes.c:199:16: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions]
uint32_t _rotr(uint32_t value, uint32_t amount)
^
/Users/dinho/Desktop/RIG-DOCKER-XMR/xmr-stak-amd/crypto/soft_aes.c:199:32: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions]
uint32_t _rotr(uint32_t value, uint32_t amount)
^
/Users/dinho/Desktop/RIG-DOCKER-XMR/xmr-stak-amd/crypto/soft_aes.c:201:10: error: use of undeclared identifier 'value'
return (value >> amount) | (value << ((32 - amount) & 31));
^
/Users/dinho/Desktop/RIG-DOCKER-XMR/xmr-stak-amd/crypto/soft_aes.c:201:19: error: use of undeclared identifier 'amount'
return (value >> amount) | (value << ((32 - amount) & 31));
^
/Users/dinho/Desktop/RIG-DOCKER-XMR/xmr-stak-amd/crypto/soft_aes.c:201:46: error: use of undeclared identifier 'amount'
return (value >> amount) | (value << ((32 - amount) & 31));
^
/Users/dinho/Desktop/RIG-DOCKER-XMR/xmr-stak-amd/crypto/soft_aes.c:201:30: error: use of undeclared identifier 'value'
return (value >> amount) | (value << ((32 - amount) & 31));
^
4 warnings and 5 errors generated.

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

1 participant