Guys,
I've been trying to compile the CAP wallets on the new Rasberry PI 2 running the latest Rasbian OS, but I've failed miserably.
Here's what I did, following previous instructions found on the net:
For the QT-walletqmake "USE_UPNP=1"
edit makefile and remove the "-msse2" references
edit scrypt_mine.cpp and remove "#include <xmmintrin.h>"
make
End of log:
src/scrypt_mine.cpp: In function ‘void* scrypt_buffer_alloc()’:
src/scrypt_mine.cpp:65:19: error: ‘SCRYPT_BUFFER_SIZE’ was not declared in this scope
src/scrypt_mine.cpp: In function ‘void scrypt(const void*, size_t, uint32_t*, void*)’:
src/scrypt_mine.cpp:86:21: error: ‘scrypt_core’ was not declared in this scope
src/scrypt_mine.cpp: In function ‘void* scrypt_buffer_alloc()’:
src/scrypt_mine.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
Makefile:2017: recipe for target 'build/scrypt_mine.o' failed
make: *** [build/scrypt_mine.o] Error 1
For the headless walletedit makefile.unix and remove the "-msse2" references
edit scrypt_mine.cpp and remove "#include <xmmintrin.h>"
make -f makefile.unix USE_UPNP=1 -e PIE=1
End of log:
scrypt_mine.cpp: In function ‘void* scrypt_buffer_alloc()’:
scrypt_mine.cpp:65:19: error: ‘SCRYPT_BUFFER_SIZE’ was not declared in this scope
scrypt_mine.cpp: In function ‘void scrypt(const void*, size_t, uint32_t*, void*)’:
scrypt_mine.cpp:86:21: error: ‘scrypt_core’ was not declared in this scope
scrypt_mine.cpp: In function ‘void* scrypt_buffer_alloc()’:
scrypt_mine.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
makefile.unix:160: recipe for target 'obj/scrypt_mine.o' failed
make: *** [obj/scrypt_mine.o] Error 1
What am I doing wrong?

Any ideas?
Thanks!