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

-msse2 error #58

Open
Strick2323 opened this issue Feb 26, 2021 · 1 comment
Open

-msse2 error #58

Strick2323 opened this issue Feb 26, 2021 · 1 comment

Comments

@Strick2323
Copy link

When I put this command: cd magi / src && make -f makefile.unix xCPUARCH = {71}

I have this error:

g ++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I / home / pi / magi / src -I / home / pi / magi / src / hash - I / home / pi / magi / src / obj -DUSE_UPNP = 0 -DUSE_IPV6 = 1 -I / home / pi / magi / src / leveldb / include -I / home / pi / magi / src / leveldb / helpers -DHAVE_BUILD_INFO - fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE = 2 -msse2 -MMD -MF obj / alert.d -o obj / alert.o alert.cpp
g ++: error: unrecognized command line option '-msse2'
makefile.unix: 186: instructions for target 'obj / alert.o' failed
make: *** [obj / alert.o] Error 1

Why is this ?

@aaronmee
Copy link

aaronmee commented Apr 5, 2024

Hi,
This error is related to cpu architecture. You're probably not on a x86_64 system.
I see that you're using a raspberry pi, right? You can check your architecture with uname -m.
When looking at your command xCPUARCH = {71}, I assume you're probably on an armv7l system. You'll have to use xCPUARCH=armv7l then.

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