https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98318
--- Comment #2 from Rimvydas (RJ) <rimvydas.jas at gmail dot com> --- With configure fixed in g:6d972f5183d8d476cfb008b85e224aa9b90e628d only missing <netinet/in.h> header issue remains in netclient.cc and netserver.cc: g++ -std=c++11 -g -fno-enforce-eh-specs -fno-stack-protector -fno-threadsafe-statics -fno-exceptions -fno-rtti -fdebug-prefix-map=/data/gg/libcody/= -W -Wall -include config.h -I/data/gg/libcody \ -MMD -MP -MF netclient.d -c -o netclient.o /data/gg/libcody/netclient.cc /data/gg/libcody/netclient.cc: In function 'int Cody::OpenInet6(const char**, const char*, int)': /data/gg/libcody/netclient.cc:114:3: error: 'sockaddr_in6' was not declared in this scope sockaddr_in6 addr; ^~~~~~~~~~~~ /data/gg/libcody/netclient.cc:114:3: note: suggested alternative: 'sockaddr_un' sockaddr_in6 addr; ^~~~~~~~~~~~ sockaddr_un /data/gg/libcody/netclient.cc:115:12: error: 'addr' was not declared in this scope memset (&addr, 0, sizeof (addr));