TrinityCore/TrinityCore — Issue #5599: Compil FreeBSD error
Author: cyberaven
Created: 2012-03-08 07:44:00+00:00
State: open

Use http://www.trinitycore.info/How-to:Linux

uname -a
FreeBSD USER 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

[ 8%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Logging/Log.cpp.o
[ 8%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Threading/DelayExecutor.cpp.o
[ 8%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Threading/Threading.cpp.o
[ 8%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Utilities/EventProcessor.cpp.o
[ 8%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Utilities/ServiceWin32.cpp.o
[ 8%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Utilities/Util.cpp.o
/usr/home/TrinityCore/src/server/shared/Utilities/Util.cpp: In function 'bool IsIPAddress(const char*)':
/usr/home/TrinityCore/src/server/shared/Utilities/Util.cpp:244: error: 'inet_addr' was not declared in this scope
*** Error code 1

Stop in /usr/home/TrinityCore/build.
*** Error code 1

Stop in /usr/home/TrinityCore/build.
*** Error code 1

Stop in /usr/home/TrinityCore/build.

Please help.