thirtygreen Posted March 24 Share Posted March 24 While trying to build my project. I get an ERROR message as follows... platformNet.cpp.o -c /home/thirtygreen/Install2/Torque3D-4.0.3/Engine/source/platform/platformNet.cpp /home/thirtygreen/Install2/Torque3D-4.0.3/Engine/source/platform/platformNet.cpp: In function ‘PlatformNetState::addrinfo* PlatformNetState::pickAddressByProtocol(addrinfo*, int)’: /home/thirtygreen/Install2/Torque3D-4.0.3/Engine/source/platform/platformNet.cpp:218:39: error: invalid use of incomplete type ‘struct PlatformNetState::addrinfo’ 218 | for (; addr != NULL; addr = addr->ai_next) | ^~ compilation terminated due to -Wfatal-errors. The smallest error in the code "->" addr->ai_next .. I haven't edited the source code at all. Quote Link to comment Share on other sites More sharing options...
thirtygreen Posted March 24 Author Share Posted March 24 I fixed it. Header file netdb.h needed to be reinstalled from package libc6-dev. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.