SunOS: the socket API (socket, getaddrinfo, gai_strerror) is in libsocket and libnsl on illumos (Solaris 11.4 has them in libc, the libraries are filters there), so linking ioquake3 and ioq3ded fails on gai_strerror. The old Makefile build linked -lsocket -lnsl for sunos; the CMake build lost it. Upstream: not submitted yet; no issue or pull request about it at https://github.com/ioquake/ioq3 (checked 2026-11-10). --- ioq3-87a99d18206e878a20289f05ac3c16005dcae5c3/cmake/platforms/unix.cmake.orig +++ ioq3-87a99d18206e878a20289f05ac3c16005dcae5c3/cmake/platforms/unix.cmake @@ -20,3 +20,8 @@ ${CMAKE_DL_LIBS} # Dynamic loader m # Math library ) + +if(CMAKE_SYSTEM_NAME STREQUAL "SunOS") + # getaddrinfo, gai_strerror, socket: libsocket and libnsl on illumos + list(APPEND COMMON_LIBRARIES socket nsl) +endif()