Your UPNP deploy may not be correct, you don't really need it. You can use the argument USE_UPNP=- in the compile settings. Under projects/build/detail/additional arguments.
Hmm still not working. Tried on two different machine that both compile HBN using UPNP. But still doesn't work without UPNP. I tried both UPNP=0 and UPNP=-
Here is the full error
^
src/net.cpp: In function 'bool BindListenPort(const CService&, std::string&)':
src/net.cpp:1730:87: error: invalid conversion from 'void*' to 'const char*' [-f
permissive]
setsockopt(hListenSocket, IPPROTO_IPV6, IPV6_V6ONLY, (void*)&nOne, size
of(int));
^
In file included from src/compat.h:14:0,
from src/netbase.h:11,
from src/util.h:30,
from src/bignum.h:12,
from src/main.h:8,
from src/db.h:8,
from src/net.cpp:7:
C:/mingw32/i686-w64-mingw32/include/winsock2.h:999:34: error: initializing arg
ument 4 of 'int setsockopt(SOCKET, int, int, const char*, int)' [-fpermissive]
WINSOCK_API_LINKAGE int WSAAPI setsockopt(SOCKET s,int level,int optname,cons
t char *optval,int optlen);
^
In file included from ../../deps/boost_1_55_0/boost/system/system_error.hpp:14:0
,
from ../../deps/boost_1_55_0/boost/thread/exceptions.hpp:22,
from ../../deps/boost_1_55_0/boost/thread/win32/thread_primitiv
es.hpp:16,
from ../../deps/boost_1_55_0/boost/thread/win32/thread_data.hpp
:11,
from ../../deps/boost_1_55_0/boost/thread/thread_only.hpp:15,
from ../../deps/boost_1_55_0/boost/thread/thread.hpp:12,
from ../../deps/boost_1_55_0/boost/thread.hpp:13,
from src/util.h:21,
from src/bignum.h:12,
from src/main.h:8,
from src/db.h:8,
from src/net.cpp:7:
../../deps/boost_1_55_0/boost/system/error_code.hpp: At global scope:
../../deps/boost_1_55_0/boost/system/error_code.hpp:222:36: warning: 'boost::sys
tem::posix_category' defined but not used [-Wunused-variable]
static const error_category & posix_category = generic_category();
^
../../deps/boost_1_55_0/boost/system/error_code.hpp:223:36: warning: 'boost::sys
tem::errno_ecat' defined but not used [-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
../../deps/boost_1_55_0/boost/system/error_code.hpp:224:36: warning: 'boost::sys
tem::native_ecat' defined but not used [-Wunused-variable]
static const error_category & native_ecat = system_category();
^
Makefile.Release:1110: recipe for target 'build/net.o' failed
mingw32-make: *** [build/net.o] Error 1
Compared it to net.cpp on HoboNickels
The line causing the error on tek is 1730 and is not on the HBN net.h - so I commented it out and it gets passed that part of the build now.