I finally was able to build Armory on my Raspberry Pi.
First I was met with the error described in
this thread.
make[2]: Entering directory `/home/pi/Desktop/Armory/BitcoinArmory/cppForSwig/cryptopp'
g++ -DNDEBUG -O -g0 -native -template=no%extdef -c 3way.cpp
g++: error: unrecognized option ‘-native’
g++: error: unrecognized option ‘-template=no%extdef’
make[2]: *** [3way.o] Error 1
make[2]: Leaving directory `/home/pi/Desktop/Armory/BitcoinArmory/cppForSwig/cryptopp'
mv: cannot stat `libcryptopp.a': No such file or directory
make[1]: *** [libcryptopp.a] Error 1
make[1]: Leaving directory `/home/pi/Desktop/Armory/BitcoinArmory/cppForSwig'
make: *** [all] Error 2
Turns out that cryptopp 5.6.1 (which is included with Armory) has a bug in its Makefile that makes it detect the compiler on a Raspberry Pi as a CC Sun C++ compiler (I have no idea why that happens, but that's what seems to happen). Replacing the Makefile in cppForSwig/cryptopp with the GNUmakefile from cryptopp 5.6.2 fixes this issue.
Next I was getting strange assembler errors from g++ like:
{standard input}: Assembler messages:
{standard input}:30102: Error: undefined local label `.L4803'
{standard input}:30134: Error: undefined local label `.L4803'
{standard input}:30159: Error: undefined local label `.L4803'
{standard input}:30218: Error: undefined local label `.L4803'
{standard input}:30219: Error: undefined local label `.L4803'
{standard input}:30230: Error: undefined local label `.L4803'
{standard input}:30249: Error: undefined local label `.L4803'
g++: internal compiler error: Killed (program cc1plus)
and
{standard input}: Assembler messages:
{standard input}:125264: Warning: end of file not at end of a line; newline inserted
{standard input}:125645: Error: unknown pseudo-op: `.lpic43'
and it turns out this was caused by the Pi running out of memory. Creating a 500 MB file in my home dir and mounting it as swap fixed that issue, as described here:
http://www.roberteklund.org/projects/raspberry-pi#TOC-Installation1But now that I try to run Armory, I get the following error. Not sure how to deal with that.
(ERROR) Traceback (most recent call last):
File "BitcoinArmory/ArmoryQt.py", line 37, in
from armoryengine import *
File "/home/pi/BitcoinArmory/armoryengine.py", line 825, in
LOGINFO(' CPU ID string : ' + SystemSpecs.CpuStr)
AttributeError: 'DumbStruct' object has no attribute 'CpuStr'
Error in sys.excepthook:
Traceback (most recent call last):
File "/home/pi/BitcoinArmory/armoryengine.py", line 639, in logexcept_override
sys.__excepthook__(type, value, tback)
AttributeError: 'NoneType' object has no attribute '__excepthook__'
Original exception was:
Traceback (most recent call last):
File "BitcoinArmory/ArmoryQt.py", line 37, in
from armoryengine import *
File "/home/pi/BitcoinArmory/armoryengine.py", line 825, in
LOGINFO(' CPU ID string : ' + SystemSpecs.CpuStr)
AttributeError: 'DumbStruct' object has no attribute 'CpuStr'