Hi all, I am trying to compile the qt wallet on Arch Linux but it seems I am missing something as the compile fails constantly here:
g++ -c -pipe -fstack-protector-all --param ssp-buffer-size=1 -msse2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -D_REENTRANT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ibuild -Ibuild -o build/net.o src/net.cpp
In file included from src/bignum.h:12:0,
from src/main.h:8,
from src/db.h:8,
from src/net.cpp:7:
src/util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
return strprintf("%"PRI64d, n);
^
In file included from src/main.h:10:0,
from src/db.h:8,
from src/net.cpp:7:
src/net.h:381:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
^
In file included from src/db.h:8:0,
from src/net.cpp:7:
src/main.h:644:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
^
src/main.h:644:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
^
src/main.h:934:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
^
src/main.h:1070:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
^
src/main.h:1333:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
return strprintf("CBlockIndex(nprev=%p, pnext=%p, nFile=%u, nBlockPos=%-6d nHeight=%d, nMint=%s, nMoneySupply=%s, nFlags=(%s)(%d)(%s), nStakeModifier=%016"PRI64x", nStakeModifierChecksum=%08x, hashProofOfStake=%s, prevoutStake=(%s), nStakeTime=%d merkle=%s, hashBlock=%s)",
^
src/net.cpp:1330:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
printf("Flushed %d addresses to peers.dat %"PRI64d"ms\n",
^
src/net.cpp:61:1: error: reference to ‘array’ is ambiguous
array vnThreadsRunning;
^~~~~
In file included from src/net.h:9:0,
from src/main.h:10,
from src/db.h:8,
from src/net.cpp:7:
/usr/include/boost/array.hpp:60:11: note: candidates are: template class boost::array
class array {
^~~~~
In file included from /usr/include/c++/6.2.1/tuple:39:0,
from /usr/include/c++/6.2.1/bits/stl_map.h:63,
from /usr/include/c++/6.2.1/map:61,
from src/util.h:17,
from src/bignum.h:12,
from src/main.h:8,
from src/db.h:8,
from src/net.cpp:7:
/usr/include/c++/6.2.1/array:90:12: note: template struct std::array
struct array
^~~~~
make: *** [Makefile:1362: build/net.o] Error 1
Thanks for any hint which could help resolving the problem.