Emulator Issues #8612closed
compile failure for git version on linux: enet_socket_get_address: not declared
Running on a gentoo box, with enet-1.3.7 installed
/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999/Source/Core/Common/ENetUtil.cpp: In function 'void ENetUtil::WakeupThread(ENetHost*)':
/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999/Source/Core/Common/ENetUtil.cpp:21:49: error: 'enet_socket_get_address' was not declared in this scope
Culprit is the logic in CMakeList.txt
message("Using shared enet")
message("Using static enet from Externals")
But latest version of enet doesn't declare "enet_socket_get_address"
Should replace ENET_FOUND with something like: "ENET_FOUND AND ENET_VERSION < 1.3.0"
Updated by comexk over 7 years ago
- Status changed from New to Accepted
Yuck. At this point a PR to customize enet - in a protocol compatible way, but for somewhat significant efficiency improvements - is literally in the queue (not up to date though), and I am not super hopeful about upstreaming going quickly once it's all finished (although I could be wrong), so I'm not a big fan of using shared enet in the first place...
Anyway, I'll fix the build script.
Updated by JosJuice over 7 years ago
- Status changed from Accepted to Fixed
This was fixed in 4.0-6659 according to comex. https://dolphin-emu.org/download/dev/49a0adb2e92c87a8d22797e0f9a3354ff5d19429/