make all-am
make[1]: Entering directory `/home/user/Source3.0'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT otserv.o -MD -MP -MF .deps/otserv.Tpo -c -o otserv.o otserv.cpp
make[1]: Leaving directory `/home/user/Source3.0'
MF .deps/otserv.Tpo -c -o otserv.o otserv.cpp
otserv.cpp: In function ‘std::string getGlobalIP()’:
otserv.cpp:252: error: ‘WSADATA’ was not declared in this scope
otserv.cpp:252: error: expected ‘;’ before ‘wsaData’
otserv.cpp:254: error: ‘MAKEWORD’ was not declared in this scope
otserv.cpp:254: error: ‘wsaData’ was not declared in this scope
otserv.cpp:254: error: ‘WSAStartup’ was not declared in this scope
otserv.cpp:257: error: ‘SOCKET’ was not declared in this scope
otserv.cpp:257: error: expected ‘;’ before ‘s’
otserv.cpp:258: error: ‘HOSTENT’ was not declared in this scope
otserv.cpp:258: error: ‘host’ was not declared in this scope
otserv.cpp:260: error: ‘SOCKADDR_IN’ was not declared in this scope
otserv.cpp:260: error: expected ‘;’ before ‘sin’
otserv.cpp:261: error: ISO C++ forbids applying ‘sizeof’ to an expression of function type
otserv.cpp:261: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘void*’
otserv.cpp:261: error: initializing argument 1 of ‘void* memset(void*, int, size_t)’
otserv.cpp:263: error: request for member ‘sin_family’ in ‘sin’, which is of non-class type ‘double(double)throw ()’
otserv.cpp:264: error: request for member ‘sin_addr’ in ‘sin’, which is of non-class type ‘double(double)throw ()’
otserv.cpp:265: error: request for member ‘sin_port’ in ‘sin’, which is of non-class type ‘double(double)throw ()’
otserv.cpp:267: error: ‘s’ was not declared in this scope
otserv.cpp:267: error: ISO C++ forbids applying ‘sizeof’ to an expression of function type
otserv.cpp:267: error: ‘SOCKET_ERROR’ was not declared in this scope
otserv.cpp:271: error: ‘WSAGetLastError’ was not declared in this scope
otserv.cpp:281: warning: comparison between signed and unsigned integer expressions
otserv.cpp:285: error: ‘closesocket’ was not declared in this scope
otserv.cpp:278: warning: unused variable ‘iplength’
otserv.cpp:290: error: ‘WSAGetLastError’ was not declared in this scope
make[1]: *** [otserv.o] Error 1
make[1]: Leaving directory `/home/user/Source3.0'
make: *** [all] Error 2