Code Monkey home page Code Monkey logo

defi-node-for-raspberry-pi's People

Contributors

martin8617 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

definode

defi-node-for-raspberry-pi's Issues

Undefined reference

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.