Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OpenTTD-release-1.1 zip file compile ......
- testbed OpenTTD-release-1.1 # sudo ./configure
- checking awk... awk
- detecting OS... UNIX
- checking build system type... x86_64-linux-gnu
- checking host system type... x86_64-linux-gnu
- checking universal build... no
- checking build cc... gcc
- checking host cc... gcc
- checking build c++... g++
- checking host c++... g++
- checking strip... disabled
- checking builtin depend... yes
- checking makedepend... disabled
- detecting cpu-type... 64 bits
- checking static... no
- checking unicode... no
- 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... found
- checking COCOA... not OSX, skipping
- checking GDI video driver... not Windows, skipping
- checking dedicated... not selected
- checking console application... not Windows, skipping
- checking network... found
- checking ai... found
- checking translator... no
- checking assert... enabled
- checking zlib... found
- checking liblzma... found
- checking lzo2... found
- checking libpng... found
- checking libfreetype... found
- checking libfontconfig... needs at least version 2.3.0, fontconfig NOT enabled
- ./configure: 2824: [: Illegal number: 5.
- checking libicu... found
- checking psp-config... not PSP, skipping
- checking libtimidity... not found
- checking direct-music... not Windows, skipping
- checking sort... sort
- checking endianess... AUTO
- suppress language errors... no
- checking stripping... skipped
- checking distcc... no (only used when forced)
- checking ccache... no (only used when forced)
- checking OSX application bundle... not OSX, skipping
- checking revision... no detection
- WARNING: there is no means to determine the version.
- WARNING: please use a subversion, mercurial, or git checkout of OpenTTD.
- WARNING: you can only join game servers that have been compiled without
- WARNING: version detection.
- WARNING: there is a great chance you desync.
- WARNING: USE WITH CAUTION!
- checking iconv... not OSX, skipping
- personal home directory... .openttd
- shared data directory... none
- installation directory... /
- icon theme directory... share/icons/hicolor
- manual page directory... share/man/man6
- menu item directory... share/applications
- using CFLAGS... -O2 -fomit-frame-pointer -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wformat=2 -Wredundant-decls -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wno-free-nonheap-object -rdynamic -DUNIX -DWITH_SDL -I/usr/include/SDL -D_REENTRANT -DWITH_ZLIB -DWITH_LZMA -DWITH_LZO -D_SQ64 -I/home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/include -DENABLE_AI -DWITH_PNG -I/usr/include/libpng12 -DWITH_FREETYPE -I/usr/include/freetype2 -DWITH_ICU -I/usr/include -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++ -lpthread -lc -L/usr/lib/x86_64-linux-gnu -lSDL -lz -llzma -llzo2 -lpng12 -lfreetype -L/usr/lib/x86_64-linux-gnu -licui18n -licuuc -licudata -rdynamic
- Generating Makefile...
- Generating menu item...
- Generating lang/Makefile...
- Generating grf/Makefile...
- Generating objs/Makefile...
- testbed OpenTTD-release-1.1 # sudo make
- make[1]: Entering directory '/home/william/Downloads/OpenTTD-release-1.1/objs/lang'
- [LANG] Compiling and Linking endian_check
- [LANG] Testing endianness for host
- [LANG] Compiling core/alloc_func.cpp
- [LANG] Compiling string.cpp
- In file included from /home/william/Downloads/OpenTTD-release-1.1/src/string.cpp:12:0:
- /home/william/Downloads/OpenTTD-release-1.1/src/core/math_func.hpp: In function ‘T* AlignPtr(T*, uint)’:
- /home/william/Downloads/OpenTTD-release-1.1/src/stdafx.h:333:43: warning: typedef ‘__ct_assert__’ locally defined but not used [-Wunused-local-typedefs]
- #define assert_compile(expr) typedef int __ct_assert__[1 - 2 * !(expr)]
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/core/math_func.hpp:129:2: note: in expansion of macro ‘assert_compile’
- assert_compile(sizeof(size_t) == sizeof(void *));
- ^
- [LANG] Compiling strgen/strgen.cpp
- In file included from /home/william/Downloads/OpenTTD-release-1.1/src/strgen/strgen.cpp:12:0:
- /home/william/Downloads/OpenTTD-release-1.1/src/strgen/../core/math_func.hpp: In function ‘T* AlignPtr(T*, uint)’:
- /home/william/Downloads/OpenTTD-release-1.1/src/strgen/../stdafx.h:333:43: warning: typedef ‘__ct_assert__’ locally defined but not used [-Wunused-local-typedefs]
- #define assert_compile(expr) typedef int __ct_assert__[1 - 2 * !(expr)]
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/strgen/../core/math_func.hpp:129:2: note: in expansion of macro ‘assert_compile’
- assert_compile(sizeof(size_t) == sizeof(void *));
- ^
- [LANG] Compiling and Linking strgen
- [LANG] Generating table/strings.h
- [LANG] Compiling language afrikaans
- [LANG] Compiling language arabic_egypt
- [LANG] Compiling language belarusian
- [LANG] Compiling language brazilian_portuguese
- [LANG] Compiling language bulgarian
- [LANG] Compiling language catalan
- [LANG] Compiling language croatian
- [LANG] Compiling language czech
- [LANG] Compiling language danish
- [LANG] Compiling language dutch
- [LANG] Compiling language english
- [LANG] Compiling language english_US
- [LANG] Compiling language esperanto
- [LANG] Compiling language estonian
- [LANG] Compiling language finnish
- [LANG] Compiling language french
- [LANG] Compiling language galician
- [LANG] Compiling language german
- [LANG] Compiling language greek
- [LANG] Compiling language hebrew
- [LANG] Compiling language hungarian
- [LANG] Compiling language icelandic
- [LANG] Compiling language indonesian
- [LANG] Compiling language irish
- [LANG] Compiling language italian
- [LANG] Compiling language japanese
- [LANG] Compiling language korean
- [LANG] Compiling language latvian
- [LANG] Compiling language lithuanian
- [LANG] Compiling language luxembourgish
- [LANG] Compiling language malay
- [LANG] Compiling language norwegian_bokmal
- [LANG] Compiling language norwegian_nynorsk
- [LANG] Compiling language polish
- [LANG] Compiling language portuguese
- [LANG] Compiling language romanian
- [LANG] Compiling language russian
- [LANG] Compiling language serbian
- [LANG] Compiling language simplified_chinese
- [LANG] Compiling language slovak
- [LANG] Compiling language slovenian
- [LANG] Compiling language spanish
- [LANG] Compiling language swedish
- [LANG] Compiling language traditional_chinese
- [LANG] Compiling language turkish
- [LANG] Compiling language ukrainian
- [LANG] Compiling language vietnamese
- [LANG] Compiling language welsh
- make[1]: Leaving directory '/home/william/Downloads/OpenTTD-release-1.1/objs/lang'
- make[1]: Entering directory '/home/william/Downloads/OpenTTD-release-1.1/objs/extra_grf'
- no NFORenum and GRFCodec found, skipping rebuild of openttd.grf...
- make[1]: Leaving directory '/home/william/Downloads/OpenTTD-release-1.1/objs/extra_grf'
- make[1]: Entering directory '/home/william/Downloads/OpenTTD-release-1.1/objs/release'
- [SRC] Compiling and Linking endian_check
- [SRC] Testing endianness for target
- [SRC] Compiling and linking depend
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp: In function ‘void ScanFile(const char*, const char*, bool, bool)’:
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp:674:22: warning: cast from type ‘const char*’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
- free((void*)h);
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp:707:22: warning: cast from type ‘const char* const’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
- free((void*)*it);
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp:810:17: warning: cast from type ‘const char* const’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
- free((void*)*it);
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp: In function ‘int main(int, char**)’:
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp:942:17: warning: cast from type ‘const char* const’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
- free((void*)*h);
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp:946:19: warning: cast from type ‘const char* const’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
- free((void*)it->first);
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp:952:17: warning: cast from type ‘const char* const’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
- free((void*)*h);
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp:956:19: warning: cast from type ‘const char* const’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
- free((void*)it->first);
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp:961:16: warning: cast from type ‘const char* const’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
- free((void*)*it);
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp:966:16: warning: cast from type ‘const char* const’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
- free((void*)*it);
- ^
- [SRC] DEP CHECK (all files)
- [SRC] Compiling 3rdparty/md5/md5.cpp
- [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdaux.cpp
- [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdmath.cpp
- [SRC] Compiling 3rdparty/squirrel/squirrel/sqapi.cpp
- In file included from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqobject.h:5:0,
- from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:16,
- from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of ‘sqvector<T>::~sqvector() [with T = long int]’:
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqclosure.h:83:52: required from here
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h:8:41: error: ‘sq_vm_free’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
- #define SQ_FREE(__ptr,__size) sq_vm_free((__ptr),(__size));
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h:38:4: note: in expansion of macro ‘SQ_FREE’
- SQ_FREE(_vals, (_allocated * sizeof(T)));
- ^
- In file included from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:17:0,
- from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqstate.h:142:6: note: ‘void sq_vm_free(void*, SQUnsignedInteger)’ declared here, later in the translation unit
- void sq_vm_free(void *p,SQUnsignedInteger size);
- ^
- In file included from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqobject.h:5:0,
- from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:16,
- from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of ‘void sqvector<T>::_realloc(SQUnsignedInteger) [with T = long int; SQUnsignedInteger = long unsigned int]’:
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h:66:12: required from ‘T& sqvector<T>::push_back(const T&) [with T = long int]’
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqfuncstate.h:25:68: required from here
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h:9:57: error: ‘sq_vm_realloc’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
- #define SQ_REALLOC(__ptr,__oldsize,__size) sq_vm_realloc((__ptr),(__oldsize),(_
- ^
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h:97:15: note: in expansion of macro ‘SQ_REALLOC’
- _vals = (T*)SQ_REALLOC(_vals, _allocated * sizeof(T), newsize * sizeof(T));
- ^
- In file included from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:17:0,
- from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
- /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqstate.h:141:7: note: ‘void* sq_vm_realloc(void*, SQUnsignedInteger, SQUnsignedInteger)’ declared here, later in the translation unit
- void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size);
- ^
- Makefile:240: recipe for target '3rdparty/squirrel/squirrel/sqapi.o' failed
- make[1]: *** [3rdparty/squirrel/squirrel/sqapi.o] Error 1
- make[1]: Leaving directory '/home/william/Downloads/OpenTTD-release-1.1/objs/release'
- Makefile:57: recipe for target 'all' failed
- make: *** [all] Error 1
- testbed OpenTTD-release-1.1 #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement