./configure
Code: Select all
./configure
checking awk... awk
detecting OS... MINGW
checking build system type... x86_64-pc-msys
checking host system type... x86_64-pc-msys
checking universal build... no
checking build cc... gcc
checking host cc... gcc
checking build c++... g++
checking host c++... g++
checking host windres... windres
checking strip... disabled
checking builtin depend... yes
checking makedepend... disabled
detecting cpu-type... 64 bits
detecting SSE... found
checking static... yes
checking unicode... yes
using debug level... no
using desync debug level... no
using link time optimization... no
checking OSX sysroot... not OSX, skipping
checking allegro... not found
checking sdl... not found
checking COCOA... not OSX, skipping
checking GDI video driver... found
checking dedicated... not selected
checking console application... disabled (only used when forced)
checking network... found
checking squirrel... found
checking translator... no
checking assert... enabled
checking zlib... found
checking liblzma... found
checking lzo2... found
checking libxdg-basedir... not found
checking libpng... found
checking freetype2... not found
checking libfontconfig... WIN32, skipping
checking icu-lx... found
checking icu-i18n... found
checking psp-config... not PSP, skipping
checking libtimidity... not found
checking direct-music... not found
checking sort... sort
checking endianness... AUTO
suppress language errors... no
checking stripping... skipped
checking distcc... no (only used when forced)
checking ccache... no (only used when forced)
checking grfcodec... not found
checking nforenum... not found
checking OSX application bundle... not OSX, skipping
checking revision... git detection
checking iconv... not OSX, skipping
personal home directory... OpenTTD
shared data directory... none
installation directory... /
icon theme directory... none
manual page directory... none
menu item directory... none
checking dbghelp... found
checking libbfd... found
checking abi::__cxa_demangle... found
using CFLAGS_BUILD... -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DMINGW
using CXXFLAGS_BUILD... -std=gnu++0x -Wno-narrowing
using LDFLAGS_BUILD... -rdynamic -static-libgcc -static-libstdc++
using CFLAGS... -O2 -fomit-frame-pointer -DCUSTOM_ALLOCATOR -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DMINGW -DWITH_SSE -mno-ms-bitfields -DWITH_DBGHELP -DWITH_BFD -g1 -DWITH_DEMANGLE -DWIN -DWITH_ZLIB -I/mingw64/include -DWITH_LZMA -I/mingw64/include -DLZMA_API_STATIC -DWITH_LZO -D_SQ64 -IC:/msys64/home/Founder/OpenTTD-patches/src/3rdparty/squirrel/include -DWITH_PNG -I/mingw64/include/libpng16 -DWITH_ICU_LAYOUT -I/mingw64/include -DWITH_ICU_SORT -I/mingw64/include -DUNICODE -D_UNICODE -DENABLE_NETWORK -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\\"OpenTTD\\" -DGLOBAL_DATA_DIR=\\"/usr/local/share/games/openttd\\"
using CXXFLAGS... -std=gnu++0x -Wno-narrowing
using LDFLAGS... -lstdc++ -lws2_32 -lwinmm -lgdi32 -ldxguid -lole32 -limm32 -lbfd -liberty -lintl -lz -L/mingw64/lib -lz -L/mingw64/lib -llzma /usr/lib/liblzo2.a -L/mingw64/lib -lpng16 -lz -L/mingw64/lib -liculx -licule -licuuc -licudt -lpthread -lm -L/mingw64/lib -licuin -licuuc -licudt -lpthread -lm -rdynamic -Wl,--subsystem,windows -static
Generating Makefile...
Generating lang/Makefile...
Generating setting/Makefile...
Generating grf/Makefile...
Generating objs/Makefile...
make
Code: Select all
make[1]: Entering directory '/home/Founder/OpenTTD-patches/objs/lang'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/Founder/OpenTTD-patches/objs/lang'
make[1]: Entering directory '/home/Founder/OpenTTD-patches/objs/setting'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/Founder/OpenTTD-patches/objs/setting'
make[1]: Entering directory '/home/Founder/OpenTTD-patches/objs/extra_grf'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/Founder/OpenTTD-patches/objs/extra_grf'
make[1]: Entering directory '/home/Founder/OpenTTD-patches/objs/release'
[SRC] Compiling ai/ai_gui.cpp
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:17:0,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:314:35: error: ‘SetNonBlocking’ declared as an ‘inline’ variable
static inline bool SetNonBlocking(SOCKET d)
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:314:35: error: ‘SOCKET’ was not declared in this scope
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:315:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:333:31: error: ‘SetNoDelay’ declared as an ‘inline’ variable
static inline bool SetNoDelay(SOCKET d)
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:333:31: error: ‘SOCKET’ was not declared in this scope
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:334:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:12:0:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:346:23: error: ‘in_addr’ was not declared in this scope
assert_compile(sizeof(in_addr) == 4); ///< IPv4 addresses should be 4 bytes.
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../stdafx.h:369:45: note: in definition of macro ‘assert_compile’
#define assert_compile(expr) static_assert(expr, #expr )
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:347:23: error: ‘in6_addr’ was not declared in this scope
assert_compile(sizeof(in6_addr) == 16); ///< IPv6 addresses should be 16 bytes.
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../stdafx.h:369:45: note: in definition of macro ‘assert_compile’
#define assert_compile(expr) static_assert(expr, #expr )
^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:17:0,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:18,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:24:34: error: ‘SOCKET’ was not declared in this scope
typedef SmallMap<NetworkAddress, SOCKET, 4> SocketList; ///< Type for a mapping between address and socket.
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:24:43: error: template argument 2 is invalid
typedef SmallMap<NetworkAddress, SOCKET, 4> SocketList; ///< Type for a mapping between address and socket.
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:24:55: error: invalid type in declaration before ‘;’ token
typedef SmallMap<NetworkAddress, SOCKET, 4> SocketList; ///< Type for a mapping between address and socket.
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:35:2: error: ‘sockaddr_storage’ does not name a type
sockaddr_storage address; ///< The resolved address
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:43:18: error: expected identifier before ‘*’ token
typedef SOCKET (*LoopProc)(addrinfo *runp);
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:43:29: error: ‘addrinfo’ has not been declared
typedef SOCKET (*LoopProc)(addrinfo *runp);
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:43:43: error: ‘SOCKET’ declared as function returning a function
typedef SOCKET (*LoopProc)(addrinfo *runp);
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:45:2: error: ‘SOCKET’ does not name a type
SOCKET Resolve(int family, int socktype, int flags, SocketList *sockets, LoopProc func);
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:65:26: error: expected ‘)’ before ‘*’ token
NetworkAddress(sockaddr *address, int address_length) :
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:188:2: error: ‘SOCKET’ does not name a type
SOCKET Connect();
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:80:74: error: ‘AF_UNSPEC’ was not declared in this scope
NetworkAddress(const char *hostname = "", uint16 port = 0, int family = AF_UNSPEC) :
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h: In constructor ‘NetworkAddress::NetworkAddress(sockaddr_storage&, int)’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:54:3: error: class ‘NetworkAddress’ does not have any field named ‘address’
address(address),
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h: In constructor ‘NetworkAddress::NetworkAddress(const char*, uint16, int)’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:91:17: error: ‘class NetworkAddress’ has no member named ‘address’
memset(&this->address, 0, sizeof(this->address));
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:91:42: error: ‘class NetworkAddress’ has no member named ‘address’
memset(&this->address, 0, sizeof(this->address));
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:92:9: error: ‘class NetworkAddress’ has no member named ‘address’
this->address.ss_family = family;
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h: In member function ‘int NetworkAddress::CompareTo(NetworkAddress&)’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:144:25: error: ‘class NetworkAddress’ has no member named ‘address’
if (r == 0) r = this->address.ss_family - address.address.ss_family;
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:144:53: error: ‘class NetworkAddress’ has no member named ‘address’
if (r == 0) r = this->address.ss_family - address.address.ss_family;
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:145:33: error: ‘class NetworkAddress’ has no member named ‘address’
if (r == 0) r = memcmp(&this->address, &address.address, this->address_length);
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:145:51: error: ‘class NetworkAddress’ has no member named ‘address’
if (r == 0) r = memcmp(&this->address, &address.address, this->address_length);
^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:18:0,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h: At global scope:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:36:2: error: ‘SOCKET’ does not name a type
SOCKET sock; ///< The socket currently connected to
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:59:33: error: expected ‘)’ before ‘s’
NetworkTCPSocketHandler(SOCKET s = INVALID_SOCKET);
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h: In member function ‘bool NetworkTCPSocketHandler::IsConnected() const’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:43:42: error: ‘const class NetworkTCPSocketHandler’ has no member named ‘sock’
bool IsConnected() const { return this->sock != INVALID_SOCKET; }
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:43:50: error: ‘INVALID_SOCKET’ was not declared in this scope
bool IsConnected() const { return this->sock != INVALID_SOCKET; }
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h: At global scope:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:72:2: error: ‘SOCKET’ does not name a type
SOCKET sock; ///< The socket we're connecting with
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:91:25: error: ‘SOCKET’ has not been declared
virtual void OnConnect(SOCKET s) {}
^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15:0,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:200:37: error: expected ‘)’ before ‘s’
NetworkContentSocketHandler(SOCKET s = INVALID_SOCKET, const NetworkAddress &address = NetworkAddress()) :
^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:16:0,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:54:2: error: ‘SOCKET’ does not name a type
SOCKET sock; ///< The socket currently connected to
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:67:34: error: expected ‘)’ before ‘sock’
NetworkHTTPSocketHandler(SOCKET sock, HTTPCallback *callback,
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h: In member function ‘bool NetworkHTTPSocketHandler::IsConnected() const’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:62:16: error: ‘const class NetworkHTTPSocketHandler’ has no member named ‘sock’
return this->sock != INVALID_SOCKET;
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:62:24: error: ‘INVALID_SOCKET’ was not declared in this scope
return this->sock != INVALID_SOCKET;
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h: At global scope:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:117:25: error: ‘SOCKET’ has not been declared
virtual void OnConnect(SOCKET s)
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h: In member function ‘virtual void NetworkHTTPContentConnecter::OnConnect(int)’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:119:114: error: no matching function for call to ‘NetworkHTTPSocketHandler::NetworkHTTPSocketHandler(int&, HTTPCallback*&, const char*, const char*&, const char*&, int&)’
new NetworkHTTPSocketHandler(s, this->callback, this->address.GetHostname(), this->url, this->data, this->depth);
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:119:114: note: candidates are:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:42:7: note: NetworkHTTPSocketHandler::NetworkHTTPSocketHandler()
class NetworkHTTPSocketHandler : public NetworkSocketHandler {
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:42:7: note: candidate expects 0 arguments, 6 provided
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:42:7: note: constexpr NetworkHTTPSocketHandler::NetworkHTTPSocketHandler(const NetworkHTTPSocketHandler&)
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:42:7: note: candidate expects 1 argument, 6 provided
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:17:0,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15,
from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h: At global scope:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:314:20: warning: ‘SetNonBlocking’ defined but not used [-Wunused-variable]
static inline bool SetNonBlocking(SOCKET d)
^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:333:20: warning: ‘SetNoDelay’ defined but not used [-Wunused-variable]
static inline bool SetNoDelay(SOCKET d)
^
Makefile:234: recipe for target 'ai/ai_gui.o' failed
make[1]: *** [ai/ai_gui.o] Error 1
make[1]: Leaving directory '/home/Founder/OpenTTD-patches/objs/release'
Makefile:57: recipe for target 'all' failed
make: *** [all] Error 1