dashpay / dash

Dash - Reinventing Cryptocurrency
https://www.dash.org
MIT License
1.49k stars 1.2k forks source link

[Raspberry] Undefined reference to `HelpMessage[abi:cxx11](HelpMessageMode) #4127

Closed php-wizard closed 3 years ago

php-wizard commented 3 years ago

Hello, i have compiled the depends, then sun autogen and ./configure --prefix=$(pwd)/depends/armv7l-unknown-linux-gnueabihf --without-wallet --disable-wallet --disable-zmq --disable-upnp --without-miniupnpc --disable-rust

But the make gives me these link errors:


/usr/bin/ld: dashd-dashd.o: in function `WaitForShutdown()':
/home/pi/dash/src/dashd.cpp:47: undefined reference to `ShutdownRequested()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:51: undefined reference to `Interrupt()'
/usr/bin/ld: dashd-dashd.o: in function `AppInit(int, char**)':
/home/pi/dash/src/dashd.cpp:87: undefined reference to `HelpMessage[abi:cxx11](HelpMessageMode)'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:133: undefined reference to `InitLogging()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:134: undefined reference to `InitParameterInteraction()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:135: undefined reference to `AppInitBasicSetup()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:140: undefined reference to `AppInitParameterInteraction()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:145: undefined reference to `AppInitSanityChecks()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:166: undefined reference to `AppInitLockDataDirectory()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:171: undefined reference to `AppInitMain()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:178: undefined reference to `Interrupt()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:182: undefined reference to `Shutdown()'
/usr/bin/ld: /home/pi/dash/src/dashd.cpp:80: undefined reference to `LicenseInfo[abi:cxx11]()'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:4765: dashd] Error 1
make[2]: Leaving directory '/home/pi/dash/src'
make[1]: *** [Makefile:12158: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/dash/src'
make: *** [Makefile:738: all-recursive] Error 1

This is my system

lscpu
Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
CPU max MHz:         1400.0000
CPU min MHz:         600.0000
BogoMIPS:            44.80
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

How can i solve this? Thanks

PastaPastaPasta commented 3 years ago

Did you figure it out? If so please comment what you did etc

php-wizard commented 3 years ago

Did you figure it out? If so please comment what you did etc

No i didn't. I successfully built Dash Core on x64 Ubuntu a few days ago. But this time i was trying on Raspberry armv71 and it gave me those errors.

Anyway i figured out i can work with Electrum Dash so i don't need the Core wallet.