Cant compile 0.8.0 on Debian #2346

issue Mysticsam opened this issue on March 6, 2013
  1. Mysticsam commented at 6:32 PM on March 6, 2013: none

    When i am trying to compile bitcoin-qt 0.8.0

    I am getting

    g++ -c -pipe -fstack-protector-all -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -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 -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/net.o src/net.cpp src/net.cpp:19:32: error: miniupnpc/miniwget.h: Filen eller katalogen finns inte src/net.cpp:20:33: error: miniupnpc/miniupnpc.h: Filen eller katalogen finns inte src/net.cpp:21:36: error: miniupnpc/upnpcommands.h: Filen eller katalogen finns inte src/net.cpp:22:34: error: miniupnpc/upnperrors.h: Filen eller katalogen finns inte src/net.cpp: In function ‘void ThreadMapPort2(void_)’: src/net.cpp:1030: error: ‘upnpDiscover’ was not declared in this scope src/net.cpp:1037: error: aggregate ‘UPNPUrls urls’ has incomplete type and cannot be defined src/net.cpp:1038: error: aggregate ‘IGDdatas data’ has incomplete type and cannot be defined src/net.cpp:1041: error: ‘UPNP_GetValidIGD’ was not declared in this scope src/net.cpp:1046: error: ‘UPNP_GetExternalIPAddress’ was not declared in this scope src/net.cpp:1047: error: ‘UPNPCOMMAND_SUCCESS’ was not declared in this scope src/net.cpp:1065: error: ‘UPNP_AddPortMapping’ was not declared in this scope src/net.cpp:1072: error: ‘UPNPCOMMAND_SUCCESS’ was not declared in this scope src/net.cpp:1074: error: ‘strupnperror’ was not declared in this scope src/net.cpp:1081: error: ‘UPNP_DeletePortMapping’ was not declared in this scope src/net.cpp:1083: error: ‘freeUPNPDevlist’ was not declared in this scope src/net.cpp:1084: error: ‘FreeUPNPUrls’ was not declared in this scope src/net.cpp:1099: error: ‘UPNPCOMMAND_SUCCESS’ was not declared in this scope src/net.cpp:1101: error: ‘strupnperror’ was not declared in this scope src/net.cpp:1110: error: ‘freeUPNPDevlist’ was not declared in this scope src/net.cpp:1112: error: ‘FreeUPNPUrls’ was not declared in this scope make: _\ [build/net.o] Fel 1

    This is on a Debian 6

    What is wrong?

  2. rdponticelli commented at 7:24 PM on March 6, 2013: contributor

    Install miniupnpc from source, or disable it with:

    qmake USE_UPNP=-

  3. Mysticsam commented at 9:20 PM on March 6, 2013: none

    When i get this:

    qmake USE_UPNP= Project MESSAGE: Building with UPNP support Project MESSAGE: Building with UPNP support Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized.

  4. rdponticelli commented at 9:38 PM on March 6, 2013: contributor

    You're lacking a dash there, at the end. Then the message will appear two times, and on one of them it will say without UPNP support. Then you can put make.

  5. Mysticsam commented at 10:13 PM on March 6, 2013: none

    Thanks that fixed it ,,closing now.

  6. Mysticsam closed this on Mar 6, 2013

  7. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-03 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me