Compiling for ARMv8 devices

:building_construction: Tutorials for windows, mac and linux about how to properly build and compile various Zettelkasten versions.
Post Reply
User avatar
mst100
Posts: 83
Joined: Mon Jun 11, 2018 1:32 pm

Compiling for ARMv8 devices

Post by mst100 » Wed Jun 20, 2018 10:56 am

same like here
viewtopic.php?f=3&t=10

but after editing rpcrawtransaction.cpp edit also

~/zettelkasten/src/leveldb/port/atomic_pointer.h to include:

after #define ARCH_CPU_ARM_FAMILY 1:
#elif defined(aarch64)
#define ARCH_CPU_ARM64_FAMILY 1

after #define LEVELDB_HAVE_MEMORY_BARRIER:

// ARM64
#elif defined(ARCH_CPU_ARM64_FAMILY)
inline void MemoryBarrier() {
asm volatile("dmb sy" : : : "memory");
}
#define LEVELDB_HAVE_MEMORY_BARRIER


after #undef ARCH_CPU_ARM_FAMILY:
#undef ARCH_CPU_ARM64_FAMILY
ZcvzPTJrde6CTuJENp1ezyti9ji6s4qgGT

User avatar
zettelkasten
Site Admin
Posts: 124
Joined: Sun Jun 10, 2018 2:17 pm
Location: Inside the ZettelKasten
Contact:

Re: Compiling for ARMv8 devices

Post by zettelkasten » Wed Jul 25, 2018 8:16 am

ok, I have updated leveldb's atomic_pointer port according to their public repo:

https://github.com/google/leveldb/blob/ ... _pointer.h
Dev Fund - ZetterxMoFb2crhpMgRCHkivyrbapnQpzJ

burgerhash
Posts: 22
Joined: Sun Sep 16, 2018 1:45 pm

Re: Compiling for ARMv8 devices

Post by burgerhash » Sun Sep 16, 2018 11:13 pm

I have tried to install zettelkasten and burgerhash wallet on Debian and Ubuntu it failed on both with information from above.
On Raspberry Pi and old PC.
How much hashrate can be achieved with raspberry?

burgerhash
Posts: 22
Joined: Sun Sep 16, 2018 1:45 pm

Re: Compiling for ARMv8 devices

Post by burgerhash » Thu Sep 20, 2018 3:41 pm

Need some help for installing burgerhash-qt with Qt5:

In file included from src/qt/overviewpage.cpp:2:0:
build/ui_overviewpage.h: In member function ‘void Ui_OverviewPage::setupUi(QWidget*)’:
build/ui_overviewpage.h:322:27: error: ‘class QListView’ has no member named ‘setSizeAdjustPolicy’
listTransactions->setSizeAdjustPolicy(QAbstractScrollAr
^
build/ui_overviewpage.h:322:47: error: ‘AdjustIgnored’ is not a member of ‘QAbstractScrollArea’
listTransactions->setSizeAdjustPolicy(QAbstractScrollAr
^
Makefile:2313: recipe for target 'build/overviewpage.o' failed
make: *** [build/overviewpage.o] Error 1

User avatar
zettelkasten
Site Admin
Posts: 124
Joined: Sun Jun 10, 2018 2:17 pm
Location: Inside the ZettelKasten
Contact:

Re: Compiling for ARMv8 devices

Post by zettelkasten » Thu Sep 20, 2018 3:57 pm

burgerhash wrote:
Thu Sep 20, 2018 3:41 pm
Need some help for installing burgerhash-qt with Qt5:

In file included from src/qt/overviewpage.cpp:2:0:
build/ui_overviewpage.h: In member function ‘void Ui_OverviewPage::setupUi(QWidget*)’:
build/ui_overviewpage.h:322:27: error: ‘class QListView’ has no member named ‘setSizeAdjustPolicy’
listTransactions->setSizeAdjustPolicy(QAbstractScrollAr
^
build/ui_overviewpage.h:322:47: error: ‘AdjustIgnored’ is not a member of ‘QAbstractScrollArea’
listTransactions->setSizeAdjustPolicy(QAbstractScrollAr
^
Makefile:2313: recipe for target 'build/overviewpage.o' failed
make: *** [build/overviewpage.o] Error 1
What Qt Version are you compiling with?

Try 5.4, or maximum 5.6.3
Dev Fund - ZetterxMoFb2crhpMgRCHkivyrbapnQpzJ

burgerhash
Posts: 22
Joined: Sun Sep 16, 2018 1:45 pm

Re: Compiling for ARMv8 devices

Post by burgerhash » Mon Sep 24, 2018 4:59 pm

Installing burgerhash-qt gui:
I dont know how to install version Qt5.4 or Qt5.6.4 on raspberry pi based rasbian strech or ubuntu mate 16.04.2

burgerhash
Posts: 22
Joined: Sun Sep 16, 2018 1:45 pm

Re: Compiling for ARMv8 devices

Post by burgerhash » Fri Oct 19, 2018 4:03 pm

I have tried to install the new burgerhash version wallet without succes:
On compiling i have got this error:

aes_helper.c:46:27: fatal error: pow/sph_types.h: No such file or directory
#include "pow/sph_types.h"
^
compilation terminated.
/home/pi/burgerhash/src/makefile.unix:190: recipe for target 'obj/aes_helper.o' failed
make: *** [obj/aes_helper.o] Error 1

User avatar
zettelkasten
Site Admin
Posts: 124
Joined: Sun Jun 10, 2018 2:17 pm
Location: Inside the ZettelKasten
Contact:

Re: Compiling for ARMv8 devices

Post by zettelkasten » Fri Oct 19, 2018 4:34 pm

burgerhash wrote:
Fri Oct 19, 2018 4:03 pm
I have tried to install the new burgerhash version wallet without succes:
On compiling i have got this error:

aes_helper.c:46:27: fatal error: pow/sph_types.h: No such file or directory
#include "pow/sph_types.h"
^
compilation terminated.
/home/pi/burgerhash/src/makefile.unix:190: recipe for target 'obj/aes_helper.o' failed
make: *** [obj/aes_helper.o] Error 1
we don't need aes.helper,

I updated the makefile.

Try again compiling it
Dev Fund - ZetterxMoFb2crhpMgRCHkivyrbapnQpzJ

burgerhash
Posts: 22
Joined: Sun Sep 16, 2018 1:45 pm

Re: Compiling for ARMv8 devices

Post by burgerhash » Fri Oct 19, 2018 4:38 pm

Compiled burgerhash-cli v0.9.19.1 on raspberrypi 3B+ with operating system rasbian strech.

Post Reply