Bitcoin Forum
July 30, 2024, 02:32:31 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compile questions  (Read 547 times)
RJX (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1003


View Profile
November 15, 2015, 03:22:03 PM
 #1

A while ago I managed to compile an altcoin wallet. Recently I've been trying to clone the same altcoin trying to understand how that works. Since the clone is a fork from abovementioned altcoin, I assumed that all dependendcies were in place to succesfully compile Qt especially (?) after d compile went fine first whirl.

But something is wrong. I've tried a couple times now and I keep ending up with this:

Code:
ORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT
_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I'../Qt/4.8.6/include/QtCore' -I'../Q
t/4.8.6/include/QtNetwork' -I'../Qt/4.8.6/include/QtGui' -I'../Qt/4.8.6/include'
 -I'src' -I'src/json' -I'src/qt' -I'../deps' -I'src/leveldb/include' -I'src/leve
ldb/helpers' -I'../deps/boost_1_55_0' -I'../deps/db-4.8.30.NC/build_unix' -I'../
deps/openssl-1.0.1j/include' -I'../Qt/4.8.6/include/ActiveQt' -I'build' -I'build
' -I'../Qt/4.8.6/mkspecs/default' -D__GNUC__ -DWIN32 src/qt/rpcconsole.h -o buil
d/moc_rpcconsole.cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT
 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -
DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I'../Qt/4.8.6/includ
e/QtCore' -I'../Qt/4.8.6/include/QtNetwork' -I'../Qt/4.8.6/include/QtGui' -I'../
Qt/4.8.6/include' -I'src' -I'src/json' -I'src/qt' -I'../deps' -I'src/leveldb/inc
lude' -I'src/leveldb/helpers' -I'../deps/boost_1_55_0' -I'../deps/db-4.8.30.NC/b
uild_unix' -I'../deps/openssl-1.0.1j/include' -I'../Qt/4.8.6/include/ActiveQt' -
I'build' -I'build' -I'../Qt/4.8.6/mkspecs/default' -o build/moc_rpcconsole.o bui
ld/moc_rpcconsole.cpp
C:/Qt/4.8.6/bin/moc.exe -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT
_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPP
ORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT
_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I'../Qt/4.8.6/include/QtCore' -I'../Q
t/4.8.6/include/QtNetwork' -I'../Qt/4.8.6/include/QtGui' -I'../Qt/4.8.6/include'
 -I'src' -I'src/json' -I'src/qt' -I'../deps' -I'src/leveldb/include' -I'src/leve
ldb/helpers' -I'../deps/boost_1_55_0' -I'../deps/db-4.8.30.NC/build_unix' -I'../
deps/openssl-1.0.1j/include' -I'../Qt/4.8.6/include/ActiveQt' -I'build' -I'build
' -I'../Qt/4.8.6/mkspecs/default' -D__GNUC__ -DWIN32 src/qt/macnotificationhandl
er.h -o build/moc_macnotificationhandler.cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT
 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -
DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I'../Qt/4.8.6/includ
e/QtCore' -I'../Qt/4.8.6/include/QtNetwork' -I'../Qt/4.8.6/include/QtGui' -I'../
Qt/4.8.6/include' -I'src' -I'src/json' -I'src/qt' -I'../deps' -I'src/leveldb/inc
lude' -I'src/leveldb/helpers' -I'../deps/boost_1_55_0' -I'../deps/db-4.8.30.NC/b
uild_unix' -I'../deps/openssl-1.0.1j/include' -I'../Qt/4.8.6/include/ActiveQt' -
I'build' -I'build' -I'../Qt/4.8.6/mkspecs/default' -o build/moc_macnotificationh
andler.o build/moc_macnotificationhandler.cpp
C:/Qt/4.8.6/bin/moc.exe -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT
_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPP
ORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT
_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I'../Qt/4.8.6/include/QtCore' -I'../Q
t/4.8.6/include/QtNetwork' -I'../Qt/4.8.6/include/QtGui' -I'../Qt/4.8.6/include'
 -I'src' -I'src/json' -I'src/qt' -I'../deps' -I'src/leveldb/include' -I'src/leve
ldb/helpers' -I'../deps/boost_1_55_0' -I'../deps/db-4.8.30.NC/build_unix' -I'../
deps/openssl-1.0.1j/include' -I'../Qt/4.8.6/include/ActiveQt' -I'build' -I'build
' -I'../Qt/4.8.6/mkspecs/default' -D__GNUC__ -DWIN32 src/qt/splashscreen.h -o bu
ild/moc_splashscreen.cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT
 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -
DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I'../Qt/4.8.6/includ
e/QtCore' -I'../Qt/4.8.6/include/QtNetwork' -I'../Qt/4.8.6/include/QtGui' -I'../
Qt/4.8.6/include' -I'src' -I'src/json' -I'src/qt' -I'../deps' -I'src/leveldb/inc
lude' -I'src/leveldb/helpers' -I'../deps/boost_1_55_0' -I'../deps/db-4.8.30.NC/b
uild_unix' -I'../deps/openssl-1.0.1j/include' -I'../Qt/4.8.6/include/ActiveQt' -
I'build' -I'build' -I'../Qt/4.8.6/mkspecs/default' -o build/moc_splashscreen.o b
uild/moc_splashscreen.cpp
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_fr.ts -qm src/qt/locale/bitco
in_fr.qm
Updating 'src/qt/locale/bitcoin_fr.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_sk.ts -qm src/qt/locale/bitco
in_sk.qm
Updating 'src/qt/locale/bitcoin_sk.qm'...
    Generated 329 translation(s) (329 finished and 0 unfinished)
    Ignored 224 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_sr.ts -qm src/qt/locale/bitco
in_sr.qm
Updating 'src/qt/locale/bitcoin_sr.qm'...
    Generated 195 translation(s) (195 finished and 0 unfinished)
    Ignored 358 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_sv.ts -qm src/qt/locale/bitco
in_sv.qm
Updating 'src/qt/locale/bitcoin_sv.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_pt_BR.ts -qm src/qt/locale/bi
tcoin_pt_BR.qm
Updating 'src/qt/locale/bitcoin_pt_BR.qm'...
    Generated 542 translation(s) (542 finished and 0 unfinished)
    Ignored 11 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_da.ts -qm src/qt/locale/bitco
in_da.qm
Updating 'src/qt/locale/bitcoin_da.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_zh_CN.ts -qm src/qt/locale/bi
tcoin_zh_CN.qm
Updating 'src/qt/locale/bitcoin_zh_CN.qm'...
    Generated 542 translation(s) (542 finished and 0 unfinished)
    Ignored 11 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_he.ts -qm src/qt/locale/bitco
in_he.qm
Updating 'src/qt/locale/bitcoin_he.qm'...
    Generated 538 translation(s) (538 finished and 0 unfinished)
    Ignored 15 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_pl.ts -qm src/qt/locale/bitco
in_pl.qm
Updating 'src/qt/locale/bitcoin_pl.qm'...
    Generated 528 translation(s) (528 finished and 0 unfinished)
    Ignored 25 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_cs.ts -qm src/qt/locale/bitco
in_cs.qm
Updating 'src/qt/locale/bitcoin_cs.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_de.ts -qm src/qt/locale/bitco
in_de.qm
Updating 'src/qt/locale/bitcoin_de.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_tr.ts -qm src/qt/locale/bitco
in_tr.qm
Updating 'src/qt/locale/bitcoin_tr.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_eu_ES.ts -qm src/qt/locale/bi
tcoin_eu_ES.qm
Updating 'src/qt/locale/bitcoin_eu_ES.qm'...
    Generated 169 translation(s) (169 finished and 0 unfinished)
    Ignored 384 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_fr_CA.ts -qm src/qt/locale/bi
tcoin_fr_CA.qm
Updating 'src/qt/locale/bitcoin_fr_CA.qm'...
    Generated 11 translation(s) (11 finished and 0 unfinished)
    Ignored 542 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_ca_ES.ts -qm src/qt/locale/bi
tcoin_ca_ES.qm
Updating 'src/qt/locale/bitcoin_ca_ES.qm'...
    Generated 535 translation(s) (535 finished and 0 unfinished)
    Ignored 18 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_lt.ts -qm src/qt/locale/bitco
in_lt.qm
Updating 'src/qt/locale/bitcoin_lt.qm'...
    Generated 391 translation(s) (391 finished and 0 unfinished)
    Ignored 162 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_zh_TW.ts -qm src/qt/locale/bi
tcoin_zh_TW.qm
Updating 'src/qt/locale/bitcoin_zh_TW.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_hr.ts -qm src/qt/locale/bitco
in_hr.qm
Updating 'src/qt/locale/bitcoin_hr.qm'...
    Generated 330 translation(s) (330 finished and 0 unfinished)
    Ignored 223 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_uk.ts -qm src/qt/locale/bitco
in_uk.qm
Updating 'src/qt/locale/bitcoin_uk.qm'...
    Generated 442 translation(s) (442 finished and 0 unfinished)
    Ignored 111 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_hu.ts -qm src/qt/locale/bitco
in_hu.qm
Updating 'src/qt/locale/bitcoin_hu.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 377 translation(s) (377 finished and 0 unfinished)
    Ignored 176 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_af_ZA.ts -qm src/qt/locale/bi
tcoin_af_ZA.qm
Updating 'src/qt/locale/bitcoin_af_ZA.qm'...
    Generated 117 translation(s) (117 finished and 0 unfinished)
    Ignored 436 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_es_CL.ts -qm src/qt/locale/bi
tcoin_es_CL.qm
Updating 'src/qt/locale/bitcoin_es_CL.qm'...
    Generated 320 translation(s) (320 finished and 0 unfinished)
    Ignored 233 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_pt_PT.ts -qm src/qt/locale/bi
tcoin_pt_PT.qm
Updating 'src/qt/locale/bitcoin_pt_PT.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_ro_RO.ts -qm src/qt/locale/bi
tcoin_ro_RO.qm
Updating 'src/qt/locale/bitcoin_ro_RO.qm'...
    Generated 416 translation(s) (416 finished and 0 unfinished)
    Ignored 137 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_nb.ts -qm src/qt/locale/bitco
in_nb.qm
Updating 'src/qt/locale/bitcoin_nb.qm'...
    Generated 484 translation(s) (484 finished and 0 unfinished)
    Ignored 69 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_el_GR.ts -qm src/qt/locale/bi
tcoin_el_GR.qm
Updating 'src/qt/locale/bitcoin_el_GR.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_en.ts -qm src/qt/locale/bitco
in_en.qm
Updating 'src/qt/locale/bitcoin_en.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_it.ts -qm src/qt/locale/bitco
in_it.qm
Updating 'src/qt/locale/bitcoin_it.qm'...
    Generated 517 translation(s) (517 finished and 0 unfinished)
    Ignored 36 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_fa.ts -qm src/qt/locale/bitco
in_fa.qm
Updating 'src/qt/locale/bitcoin_fa.qm'...
    Generated 448 translation(s) (448 finished and 0 unfinished)
    Ignored 105 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_es.ts -qm src/qt/locale/bitco
in_es.qm
Updating 'src/qt/locale/bitcoin_es.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_et.ts -qm src/qt/locale/bitco
in_et.qm
Updating 'src/qt/locale/bitcoin_et.qm'...
    Generated 534 translation(s) (534 finished and 0 unfinished)
    Ignored 19 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_ar.ts -qm src/qt/locale/bitco
in_ar.qm
Updating 'src/qt/locale/bitcoin_ar.qm'...
    Generated 7 translation(s) (7 finished and 0 unfinished)
    Ignored 546 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_nl.ts -qm src/qt/locale/bitco
in_nl.qm
Updating 'src/qt/locale/bitcoin_nl.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_fa_IR.ts -qm src/qt/locale/bi
tcoin_fa_IR.qm
Updating 'src/qt/locale/bitcoin_fa_IR.qm'...
    Generated 269 translation(s) (269 finished and 0 unfinished)
    Ignored 284 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_fi.ts -qm src/qt/locale/bitco
in_fi.qm
Updating 'src/qt/locale/bitcoin_fi.qm'...
    Generated 479 translation(s) (479 finished and 0 unfinished)
    Ignored 74 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_bg.ts -qm src/qt/locale/bitco
in_bg.qm
Updating 'src/qt/locale/bitcoin_bg.qm'...
    Generated 277 translation(s) (277 finished and 0 unfinished)
    Ignored 276 untranslated source text(s)
c:/Qt/4.8.6/bin/lrelease.exe src/qt/locale/bitcoin_ru.ts -qm src/qt/locale/bitco
in_ru.qm
Updating 'src/qt/locale/bitcoin_ru.qm'...
    Generated 553 translation(s) (553 finished and 0 unfinished)
c:/Qt/4.8.6/bin/rcc.exe -name bitcoin src/qt/bitcoin.qrc -o release/qrc_bitcoin.
cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT
 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -
DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I'../Qt/4.8.6/includ
e/QtCore' -I'../Qt/4.8.6/include/QtNetwork' -I'../Qt/4.8.6/include/QtGui' -I'../
Qt/4.8.6/include' -I'src' -I'src/json' -I'src/qt' -I'../deps' -I'src/leveldb/inc
lude' -I'src/leveldb/helpers' -I'../deps/boost_1_55_0' -I'../deps/db-4.8.30.NC/b
uild_unix' -I'../deps/openssl-1.0.1j/include' -I'../Qt/4.8.6/include/ActiveQt' -
I'build' -I'build' -I'../Qt/4.8.6/mkspecs/default' -o build/qrc_bitcoin.o releas
e/qrc_bitcoin.cpp
windres -i src/qt/res/bitcoin-qt.rc -o build/bitcoin-qt_res.o --include-dir=./sr
c/qt/res -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DU
SE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_NO_DEB
UG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_
HAVE_MMXEXT -DQT_HAVE_SSE2
g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static -static-l
ibgcc -static-libstdc++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release/Winne
rCoin-qt.exe object_script.WinnerCoin-qt.Release  -L'c:/Qt/4.8.6/lib' -lmingwthr
d -lmingw32 -lqtmain build/bitcoin-qt_res.o -LC:/deps/miniupnpc -lminiupnpc -lip
hlpapi C:/winnercoin-master/src/leveldb/libleveldb.a C:/winnercoin-master/src/le
veldb/libmemenv.a -lshlwapi -LC:/deps/boost_1_55_0/stage/lib -LC:/deps/db-4.8.30
.NC/build_unix -LC:/deps/openssl-1.0.1j -lssl -lcrypto -ldb_cxx -lshlwapi -lmsws
ock -lboost_system-mgw49-mt-s-1_55 -lboost_filesystem-mgw49-mt-s-1_55 -lboost_pr
ogram_options-mgw49-mt-s-1_55 -lboost_thread-mgw49-mt-s-1_55 -lboost_chrono-mgw4
9-mt-s-1_55 -lQtGui -lQtNetwork -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -l
winspool -lmsimg32 -lQtCore -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser3
2 -lkernel32
./build/net.o:net.cpp:(.text+0x8983): undefined reference to `_imp__upnpDiscover
'
./build/net.o:net.cpp:(.text+0x89ba): undefined reference to `_imp__UPNP_GetVali
dIGD'
./build/net.o:net.cpp:(.text+0x89fb): undefined reference to `_imp__UPNP_GetExte
rnalIPAddress'
./build/net.o:net.cpp:(.text+0x8a77): undefined reference to `_imp__freeUPNPDevl
ist'
./build/net.o:net.cpp:(.text+0x8a8a): undefined reference to `_imp__FreeUPNPUrls
'
./build/net.o:net.cpp:(.text+0x8b77): undefined reference to `_imp__strupnperror
'
./build/net.o:net.cpp:(.text+0x8c03): undefined reference to `_imp__UPNP_AddPort
Mapping'
./build/net.o:net.cpp:(.text+0x8c8b): undefined reference to `_imp__UPNP_DeleteP
ortMapping'
./build/net.o:net.cpp:(.text+0x8caa): undefined reference to `_imp__freeUPNPDevl
ist'
./build/net.o:net.cpp:(.text+0x8cb9): undefined reference to `_imp__FreeUPNPUrls
'
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: ./build/net.o: bad reloc address 0x20 in section `.data'
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
Makefile.Release:307: recipe for target 'release/WinnerCoin-qt.exe' failed
mingw32-make: *** [release/WinnerCoin-qt.exe] Error 1

C:\winnercoin-master>

I've tried compiling with and without CONFIG += static, do a make clean after every fail, rebuild liblevedb, qmake and again make.

From the text above I think I can make up it  has something to do with UPNP. But here is where my knowledge ends: UPNP is in the .pro file, I try to build qt with upnp=1. Haven't tried upnp=- tho but =1 used to work for the orginal alt, so why not for this guy?

Then the 'bad reloc adress 0x20'. Can someone tell me in laymans terms where this comes from? I've found info on the net sure enough but that's all Chinese to me. Or should i understand the fail as " bad reloc in section because of hoopty UPNP situation' ? then I still dont know what to do.

Im using these:
mingw 4.9.2
qt 4.8.6   ( mw4.9.2 + qt4.8.2 is the cause of all this maybe? wrong toolchain?)
boost 155
miniunpc
openssl J


Any advice greatly is apreciated.

RJX (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1003


View Profile
November 15, 2015, 04:03:35 PM
 #2

Hm, not too sure what happened here but right after posting this I set up to build without upnp nor qren and sure enough now i'm looking at my first altcoin creation.

yea.

would still like insight on abovementioned situation.

billotronic
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000


Crackpot Idealist


View Profile
November 16, 2015, 02:20:33 AM
 #3

I do not know much about windoze cookin, but just as a guess, did you go through and do a find and replace for the new name of your coin? you might of bonkered something in that makefile that is complaining.

Start by looking what is at the source of the error Makefile.Release:307

This post sums up why all this bullshit is a scam
Read It. Hate It. Change the facts that it represents.
https://bitcointalk.org/index.php?topic=1606638.msg16139644#msg16139644
iGotSpots
Legendary
*
Offline Offline

Activity: 2548
Merit: 1054


CPU Web Mining 🕸️ on webmining.io


View Profile WWW
November 16, 2015, 04:16:45 AM
 #4

You most likely need to clean up your pro and qrc files

RJX (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1003


View Profile
November 16, 2015, 11:14:24 AM
 #5

I do not know much about windoze cookin, but just as a guess, did you go through and do a find and replace for the new name of your coin? you might of bonkered something in that makefile that is complaining.

Start by looking what is at the source of the error Makefile.Release:307

I think it may have to do the tide or something but it all works.

Honestly it was not following the guides structure and thinking 'oh I get it so lets skip this' that got me into trouble in the first place.

But thanks for your suggestion.
RJX (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1003


View Profile
November 16, 2015, 11:17:12 AM
 #6

You most likely need to clean up your pro and qrc files

I think it was exactly this what made me start this topic.

Doing so after posting this topic resulted in a working build and now I'm on level 1.2 of this adventure.

cheers
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!