Author

Topic: Litecoind in Raspberry pi (Read 1513 times)

member
Activity: 98
Merit: 10
I do not sell Bitcoins. I sell SHA256(SHA256()).
January 21, 2013, 10:18:44 AM
#3
Hi, i'm trying to get litecoin to work in a Raspberry pi without any success. I clone the git folder, browse to the /litecoin/src folder, and run "make USE_UPNP= -f makefile.unix litecoind" but then it gets stuck at this:

Code:
make USE_UPNP= -f makefile.unix litecoind
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/pi/litecoin/src -I/home/pi/litecoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/net.d -o obj/net.o net.cpp
/tmp/cc7fVCSM.s: Assembler messages:
/tmp/cc7fVCSM.s:14706: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7fVCSM.s:14735: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7fVCSM.s:14771: Warning: swp{b} use is deprecated for this architecture
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/pi/litecoin/src -I/home/pi/litecoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/protocol.d -o obj/protocol.o protocol.cpp
/tmp/cc7ivn1X.s: Assembler messages:
/tmp/cc7ivn1X.s:1879: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:1896: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:1933: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:2103: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:2130: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:2166: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3629: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3646: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3682: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3843: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3870: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3906: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:5468: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:5485: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:5521: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6259: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6284: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6320: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6943: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6960: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6996: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:7734: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:7759: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:7795: Warning: swp{b} use is deprecated for this architecture
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/pi/litecoin/src -I/home/pi/litecoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/bitcoinrpc.d -o obj/bitcoinrpc.o bitcoinrpc.cpp
In file included from bitcoinrpc.h:15:0,
                 from bitcoinrpc.cpp:15:
json/json_spirit_writer_template.h: In function âString_type json_spirit::add_esc_chars(const String_type&) [with String_type = std::basic_string]â:
json/json_spirit_writer_template.h:168:13:   instantiated from âvoid json_spirit::Generator::output(const String_type&) [with Value_type = json_spirit::Value_impl > >, Ostream_type = std::basic_ostringstream, json_spirit::Generator::String_type = std::basic_string
json/json_spirit_writer_template.h:124:34:   instantiated from âvoid json_spirit::Generator::output(const Value_type&) [with Value_type = json_spirit::Value_impl > >, Ostream_type = std::basic_ostringstream
json/json_spirit_writer_template.h:113:13:   instantiated from âjson_spirit::Generator::Generator(const Value_type&, Ostream_type&, bool) [with Value_type = json_spirit::Value_impl > >, Ostream_type = std::basic_ostringstream
json/json_spirit_writer_template.h:232:9:   instantiated from âvoid json_spirit::write_stream(const Value_type&, Ostream_type&, bool) [with Value_type = json_spirit::Value_impl > >, Ostream_type = std::basic_ostringstream
json/json_spirit_writer_template.h:242:9:   instantiated from âtypename Value_type::String_type json_spirit::write_string(const Value_type&, bool) [with Value_type = json_spirit::Value_impl > >, typename Value_type::String_type = std::basic_string
bitcoinrpc.cpp:2516:46:   instantiated from here
json/json_spirit_writer_template.h:78:63: warning: comparison is always true due to limited range of data type [-Wtype-limits]

Then it just shuts down putty, or i receive a message saying that it's inactive. I've been able to compile bitcoind but can't do it for Litecoin.
My goal was to make a private ltc pool, so i need the litecoind running on the Pi. If anyone can give me some help...

Thanks.


Did you ever get this resolved. Currently compiling litecoin on RPI with Arch. So will post if I find a resolution, I've not hit this bit yet though.
member
Activity: 70
Merit: 10
Litecoin Core Developer
January 09, 2013, 07:09:56 PM
#2
Check which version of boost you have installed.  This was fixed in 1.50.0+ on arm I think
member
Activity: 66
Merit: 10
December 05, 2012, 06:24:17 AM
#1
Hi, i'm trying to get litecoin to work in a Raspberry pi without any success. I clone the git folder, browse to the /litecoin/src folder, and run "make USE_UPNP= -f makefile.unix litecoind" but then it gets stuck at this:

Code:
make USE_UPNP= -f makefile.unix litecoind
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/pi/litecoin/src -I/home/pi/litecoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/net.d -o obj/net.o net.cpp
/tmp/cc7fVCSM.s: Assembler messages:
/tmp/cc7fVCSM.s:14706: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7fVCSM.s:14735: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7fVCSM.s:14771: Warning: swp{b} use is deprecated for this architecture
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/pi/litecoin/src -I/home/pi/litecoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/protocol.d -o obj/protocol.o protocol.cpp
/tmp/cc7ivn1X.s: Assembler messages:
/tmp/cc7ivn1X.s:1879: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:1896: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:1933: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:2103: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:2130: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:2166: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3629: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3646: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3682: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3843: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3870: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:3906: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:5468: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:5485: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:5521: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6259: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6284: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6320: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6943: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6960: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:6996: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:7734: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:7759: Warning: swp{b} use is deprecated for this architecture
/tmp/cc7ivn1X.s:7795: Warning: swp{b} use is deprecated for this architecture
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/pi/litecoin/src -I/home/pi/litecoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/bitcoinrpc.d -o obj/bitcoinrpc.o bitcoinrpc.cpp
In file included from bitcoinrpc.h:15:0,
                 from bitcoinrpc.cpp:15:
json/json_spirit_writer_template.h: In function âString_type json_spirit::add_esc_chars(const String_type&) [with String_type = std::basic_string]â:
json/json_spirit_writer_template.h:168:13:   instantiated from âvoid json_spirit::Generator::output(const String_type&) [with Value_type = json_spirit::Value_impl > >, Ostream_type = std::basic_ostringstream, json_spirit::Generator::String_type = std::basic_string
json/json_spirit_writer_template.h:124:34:   instantiated from âvoid json_spirit::Generator::output(const Value_type&) [with Value_type = json_spirit::Value_impl > >, Ostream_type = std::basic_ostringstream
json/json_spirit_writer_template.h:113:13:   instantiated from âjson_spirit::Generator::Generator(const Value_type&, Ostream_type&, bool) [with Value_type = json_spirit::Value_impl > >, Ostream_type = std::basic_ostringstream
json/json_spirit_writer_template.h:232:9:   instantiated from âvoid json_spirit::write_stream(const Value_type&, Ostream_type&, bool) [with Value_type = json_spirit::Value_impl > >, Ostream_type = std::basic_ostringstream
json/json_spirit_writer_template.h:242:9:   instantiated from âtypename Value_type::String_type json_spirit::write_string(const Value_type&, bool) [with Value_type = json_spirit::Value_impl > >, typename Value_type::String_type = std::basic_string
bitcoinrpc.cpp:2516:46:   instantiated from here
json/json_spirit_writer_template.h:78:63: warning: comparison is always true due to limited range of data type [-Wtype-limits]

Then it just shuts down putty, or i receive a message saying that it's inactive. I've been able to compile bitcoind but can't do it for Litecoin.
My goal was to make a private ltc pool, so i need the litecoind running on the Pi. If anyone can give me some help...

Thanks.
Jump to: