TrinityCore/TrinityCore — Issue #4893: FreeBSD compile error
Author: kdulep
Created: 2012-01-19 21:27:22+00:00
State: open

[ 8%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Utilities/Util.cpp.o
/opt/TrinityCore/src/server/shared/Utilities/Util.cpp: In function 'bool IsIPAddress(const char*)':
/opt/TrinityCore/src/server/shared/Utilities/Util.cpp:243: error: 'inet_addr' was not declared in this scope
compilation terminated due to -Wfatal-errors.

gmake[2]: *** [src/server/shared/CMakeFiles/shared.dir/Utilities/Util.cpp.o] Error 1
gmake[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2
gmake: *** [all] Error 2