Bitcoin Forum
May 08, 2024, 07:24:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: DOGECOIN does not build on Linux  (Read 1198 times)
zerodrama (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
December 09, 2013, 01:11:59 AM
 #1

Dogecoin build dies here:
g++ -c -m64 -pipe -fstack-protector -O2 -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -D_REENTRANT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DUSE_UPNP=1 -DSTATICLIB -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ic:/deps -IC:/deps/boost -Ic:/deps/db/build_unix -Ic:/deps/ssl/include -Ibuild -Ibuild -o build/main.o src/main.cpp
src/main.cpp: In function ‘bool ProcessMessages(CNode*)’:
src/main.cpp:3111:79: error: no matching function for call to ‘CDataStream::insert(CDataStream::iterator, std::vector<char>::iterator, std::vector<char>::iterator)’
             vRecv.insert(vRecv.begin(), vHeaderSave.begin(), vHeaderSave.end());
                                                                               ^
src/main.cpp:3111:79: note: candidates are:
In file included from src/netbase.h:11:0,
                 from src/util.h:31,
                 from src/bignum.h:13,
                 from src/main.h:10,
                 from src/db.h:9,
                 from src/main.cpp:9:
src/serialize.h:808:14: note: CDataStream::iterator CDataStream::insert(CDataStream::iterator, const char&)
     iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); }
              ^
src/serialize.h:808:14: note:   candidate expects 2 arguments, 3 provided
src/serialize.h:809:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::size_type, const char&)
     void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); }
          ^
src/serialize.h:809:10: note:   no known conversion for argument 2 from ‘std::vector<char>::iterator {aka __gnu_cxx::__normal_iterator<char*, std::vector<char> >}’ to ‘CDataStream::size_type {aka long unsigned int}’
src/serialize.h:811:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::const_iterator, CDataStream::const_iterator)
     void insert(iterator it, const_iterator first, const_iterator last)
          ^
src/serialize.h:811:10: note:   no known conversion for argument 2 from ‘std::vector<char>::iterator {aka __gnu_cxx::__normal_iterator<char*, std::vector<char> >}’ to ‘CDataStream::const_iterator {aka __gnu_cxx::__normal_iterator<const char*, std::vector<char, zero_after_free_allocator<char> > >}’
src/serialize.h:825:10: note: void CDataStream::insert(CDataStream::iterator, const char*, const char*)
     void insert(iterator it, const char* first, const char* last)
          ^
src/serialize.h:825:10: note:   no known conversion for argument 2 from ‘std::vector<char>::iterator {aka __gnu_cxx::__normal_iterator<char*, std::vector<char> >}’ to ‘const char*’
src/main.cpp: At global scope:
src/main.cpp:3394:21: warning: ‘unsigned int ScanHash_CryptoPP(char*, char*, char*, char*, unsigned int&)’ defined but not used [-Wunused-function]
 unsigned int static ScanHash_CryptoPP(char* pmidstate, char* pdata, char* phash1, char* phash, unsigned int& nHashesDone)
                     ^
make: *** [build/main.o] Error 1

much problem
so confus
HALP

EASY CALCULATION FOR TRADES: 1 Million is 1x10e6. 1 Satoshi is 1x10e-8. 1 M sat is 1x10e-2. 100 M sat is 1. If 1 herpcoin = 100 derptoshi then
1 M herpcoin @ 001 derptoshi = 0.01 derpcoin, 1 M herpcoin @ 100 derptoshi = 1.00 derpcoin
Post Scarcity Economics thread https://bitcointalk.org/index.php?topic=3773185
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715153040
Hero Member
*
Offline Offline

Posts: 1715153040

View Profile Personal Message (Offline)

Ignore
1715153040
Reply with quote  #2

1715153040
Report to moderator
Dogecoin
Full Member
***
Offline Offline

Activity: 141
Merit: 231


View Profile
December 09, 2013, 01:13:27 AM
 #2

Sorry, I brought in a bad pull request. I just fixed it, please reclone from git and try again Smiley

Dogecoin developer comments

PMs are not read, please message individuals directly if needed.
zerodrama (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
December 09, 2013, 02:29:16 AM
 #3

Sorry, I brought in a bad pull request. I just fixed it, please reclone from git and try again Smiley

WOW NEW PROBLEM

wants mgw64 boost libs. on linux? i think that's a problem.

EASY CALCULATION FOR TRADES: 1 Million is 1x10e6. 1 Satoshi is 1x10e-8. 1 M sat is 1x10e-2. 100 M sat is 1. If 1 herpcoin = 100 derptoshi then
1 M herpcoin @ 001 derptoshi = 0.01 derpcoin, 1 M herpcoin @ 100 derptoshi = 1.00 derpcoin
Post Scarcity Economics thread https://bitcointalk.org/index.php?topic=3773185
Dogecoin
Full Member
***
Offline Offline

Activity: 141
Merit: 231


View Profile
December 09, 2013, 02:34:29 AM
 #4

Are you building the qt? Probably need to comment out the windows stuff from the .pro file

Dogecoin developer comments

PMs are not read, please message individuals directly if needed.
zerodrama (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
December 09, 2013, 02:52:06 AM
 #5

Are you building the qt? Probably need to comment out the windows stuff from the .pro file

I have boost 1.54.
these are the offending lines
LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
BOOST_LIB_SUFFIX=-mgw46-mt-sd-1_53

EASY CALCULATION FOR TRADES: 1 Million is 1x10e6. 1 Satoshi is 1x10e-8. 1 M sat is 1x10e-2. 100 M sat is 1. If 1 herpcoin = 100 derptoshi then
1 M herpcoin @ 001 derptoshi = 0.01 derpcoin, 1 M herpcoin @ 100 derptoshi = 1.00 derpcoin
Post Scarcity Economics thread https://bitcointalk.org/index.php?topic=3773185
grex
Full Member
***
Offline Offline

Activity: 179
Merit: 100


View Profile
December 11, 2013, 08:03:42 PM
 #6

Are you building the qt? Probably need to comment out the windows stuff from the .pro file

I have boost 1.54.
these are the offending lines
LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
BOOST_LIB_SUFFIX=-mgw46-mt-sd-1_53

Thx! After commenting out these lines and using 'qmake "USE_UPNP=-"' it works with ubuntu.

WOW so much wallet!
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!