Bitcoin Forum
May 28, 2024, 07:48:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Litecoind in Raspberry pi  (Read 1479 times)
tvasconcelos (OP)
Member
**
Offline Offline

Activity: 66
Merit: 10


View Profile
December 05, 2012, 11: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<char>]â:
json/json_spirit_writer_template.h:168:13:   instantiated from âvoid json_spirit::Generator<Value_type, Ostream_type>::output(const String_type&) [with Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string<char> > >, Ostream_type = std::basic_ostringstream<char>, json_spirit::Generator<Value_type, Ostream_type>::String_type = std::basic_string<char>]â
json/json_spirit_writer_template.h:124:34:   instantiated from âvoid json_spirit::Generator<Value_type, Ostream_type>::output(const Value_type&) [with Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string<char> > >, Ostream_type = std::basic_ostringstream<char>]â
json/json_spirit_writer_template.h:113:13:   instantiated from âjson_spirit::Generator<Value_type, Ostream_type>::Generator(const Value_type&, Ostream_type&, bool) [with Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string<char> > >, Ostream_type = std::basic_ostringstream<char>]â
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<json_spirit::Config_vector<std::basic_string<char> > >, Ostream_type = std::basic_ostringstream<char>]â
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<json_spirit::Config_vector<std::basic_string<char> > >, typename Value_type::String_type = std::basic_string<char>]â
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.
laSeek
Member
**
Offline Offline

Activity: 70
Merit: 10


Litecoin Core Developer


View Profile WWW
January 10, 2013, 12:09:56 AM
 #2

Check which version of boost you have installed.  This was fixed in 1.50.0+ on arm I think

Litecoin Core Developer
 - Dev Repo - https://github.com/dasher/litecoin.git
Donations:  LTC LX2aYdR8jPiHUHVmegBiK1DBGa2fusz1fx  BTC 1PnAbtTnQJTiZ1N1RVHLq2vop77PWwsCoC
narayan
Member
**
Offline Offline

Activity: 98
Merit: 10


I do not sell Bitcoins. I sell SHA256(SHA256()).


View Profile
January 21, 2013, 03:18:44 PM
 #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<char>]â:
json/json_spirit_writer_template.h:168:13:   instantiated from âvoid json_spirit::Generator<Value_type, Ostream_type>::output(const String_type&) [with Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string<char> > >, Ostream_type = std::basic_ostringstream<char>, json_spirit::Generator<Value_type, Ostream_type>::String_type = std::basic_string<char>]â
json/json_spirit_writer_template.h:124:34:   instantiated from âvoid json_spirit::Generator<Value_type, Ostream_type>::output(const Value_type&) [with Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string<char> > >, Ostream_type = std::basic_ostringstream<char>]â
json/json_spirit_writer_template.h:113:13:   instantiated from âjson_spirit::Generator<Value_type, Ostream_type>::Generator(const Value_type&, Ostream_type&, bool) [with Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string<char> > >, Ostream_type = std::basic_ostringstream<char>]â
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<json_spirit::Config_vector<std::basic_string<char> > >, Ostream_type = std::basic_ostringstream<char>]â
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<json_spirit::Config_vector<std::basic_string<char> > >, typename Value_type::String_type = std::basic_string<char>]â
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.

BTC: 1PiPooLvcEoBLuXBHbwUnN5rShs2nas223
LTC: LRq7YPMDoERSZcte9ZPNHQkUbfiPsY55VM
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!