Author

Topic: How to compile HBN for armv71? (Read 657 times)

legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
June 01, 2015, 04:49:46 PM
#4
Hello, thank you for the answer. I changed the line as you advised, but unfortunately after make clean && make, there is still the same error.
There was this issue with BTC also but it somehow got fixed. Do you have any other ideas?
hero member
Activity: 525
Merit: 531
June 01, 2015, 10:02:50 AM
#3
i havent arm machine, try change this line:
https://github.com/Tranz5/HoboNickels/blob/master/src/scrypt-arm.S#L10
to this:
Code:
#if defined(__arm__)

and you your changes.
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
June 01, 2015, 07:45:30 AM
#2
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
June 01, 2015, 06:59:01 AM
#1
Hello. I am a Linux and compilation noob. Let me ask you for help. I am trying to compile Qt5 client of HBN for Linux armv71, but I have been unsuccessful so far.

The procedure is to remove

Code:
-msse2 from Makefile
#include from scrypt_mine.cpp

because arm has no support for sse
and then to compile using

Code:
qmake
make

However, I get stuck on the following error:

Code:
build/scrypt_mine.o: In function `scrypt(void const*, unsigned int, unsigned int*, void*)':
scrypt_mine.cpp:(.text+0x4e): undefined reference to `scrypt_core'
collect2: error: ld returned 1 exit status
make: *** [HoboNickels-qt] Error 1
linaro@allwinner:~/Downloads/HoboNickels-1.5.0.0$ scrypt_mine.cpp:(.text+0x4e): undefined reference to `scrypt_core'
-bash: syntax error near unexpected token `.text+0x4e'

I believe this is because I deleted #include from scrypt_mine.cpp from scrypt_mine.cpp

If anyone wants to try on Pi2 or the like, I would be grateful

here is the repo: https://github.com/Tranz5/HoboNickels
https://github.com/Tranz5/HoboNickels/blob/master/src/scrypt_mine.cpp
Jump to: