martin8617 / defi-node-for-raspberry-pi Goto Github PK
View Code? Open in Web Editor NEWThis repository contains the Defi Node client for the Raspberry Pi 4B.
License: MIT License
This repository contains the Defi Node client for the Raspberry Pi 4B.
License: MIT License
Hello,
I tried compiling the source code but ended up with a lot of undefined references when executing the command:
make HOST=aarch64-linux-gnu -j4
The error:
CXXLD test/test_defi
/usr/bin/ld: defid-defid.o: in function AppInit(int, char**)': defid.cpp:(.text+0x1c8): undefined reference to
SetupServerArgs()'
/usr/bin/ld: defid.cpp:(.text+0x3cc): undefined reference to LicenseInfo[abi:cxx11]()' /usr/bin/ld: defid.cpp:(.text+0x5a8): undefined reference to
InitLogging()'
/usr/bin/ld: defid.cpp:(.text+0x5ac): undefined reference to InitParameterInteraction()' /usr/bin/ld: defid.cpp:(.text+0x5b0): undefined reference to
AppInitBasicSetup()'
/usr/bin/ld: defid.cpp:(.text+0x5c0): undefined reference to AppInitParameterInteraction()' /usr/bin/ld: defid.cpp:(.text+0x5d0): undefined reference to
AppInitSanityChecks()'
/usr/bin/ld: defid.cpp:(.text+0x648): undefined reference to AppInitLockDataDirectory()' /usr/bin/ld: defid.cpp:(.text+0x65c): undefined reference to
AppInitMain(InitInterfaces&)'
/usr/bin/ld: defid.cpp:(.text+0x668): undefined reference to Interrupt()' /usr/bin/ld: defid.cpp:(.text+0x670): undefined reference to
Shutdown(InitInterfaces&)'
I'm running a 64bit version of Bullseye
To install I created a bash script to install. (below)
Any help would be appreciated. Many thanks
(My source directory is different, but I don't believe that should make any difference)
cd /home/${USER}/Software
wget https://github.com/DeFiCh/ain/archive/refs/tags/v3.2.8.tar.gz
tar -xf v3.2.8.tar.gz
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 curl -y
sudo apt-get install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev -y
sudo apt-get install libminiupnpc-dev libzmq3-dev libsecp256k1-dev -y
sudo apt-get install g++-aarch64-linux-gnu -y
cd /home/${USER}/Software/ain-3.2.8/
./contrib/install_db4.sh /home/${USER}/Software/ain-3.2.8/
cd /home/${USER}/Software/ain-3.2.8/depends
make HOST=aarch64-linux-gnu NO_QT=1
cd ..
./autogen.sh
export BDB_PREFIX='/home/${USER}/Software/ain-3.2.8/db4'
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" CXXFLAGS="-march=armv8-a+crc+crypto" --prefix=$PWD/depends/aarch64-linux-gnu --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++
make HOST=aarch64-linux-gnu -j4
make install
Hi,
Thank you for doing this. The downloadable 2.7.0 arm64 version seems to be missing from the releases page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.