Advertisement
Guest User

Untitled

a guest
Oct 8th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.53 KB | None | 0 0
  1. OpenTTD-release-1.1 zip file compile ......
  2. testbed OpenTTD-release-1.1 # sudo ./configure
  3. checking awk... awk
  4. detecting OS... UNIX
  5. checking build system type... x86_64-linux-gnu
  6. checking host system type... x86_64-linux-gnu
  7. checking universal build... no
  8. checking build cc... gcc
  9. checking host cc... gcc
  10. checking build c++... g++
  11. checking host c++... g++
  12. checking strip... disabled
  13. checking builtin depend... yes
  14. checking makedepend... disabled
  15. detecting cpu-type... 64 bits
  16. checking static... no
  17. checking unicode... no
  18. using debug level... no
  19. using desync debug level... no
  20. using link time optimization... no
  21. checking OSX sysroot... not OSX, skipping
  22. checking Allegro... not found
  23. checking SDL... found
  24. checking COCOA... not OSX, skipping
  25. checking GDI video driver... not Windows, skipping
  26. checking dedicated... not selected
  27. checking console application... not Windows, skipping
  28. checking network... found
  29. checking ai... found
  30. checking translator... no
  31. checking assert... enabled
  32. checking zlib... found
  33. checking liblzma... found
  34. checking lzo2... found
  35. checking libpng... found
  36. checking libfreetype... found
  37. checking libfontconfig... needs at least version 2.3.0, fontconfig NOT enabled
  38. ./configure: 2824: [: Illegal number: 5.
  39. checking libicu... found
  40. checking psp-config... not PSP, skipping
  41. checking libtimidity... not found
  42. checking direct-music... not Windows, skipping
  43. checking sort... sort
  44. checking endianess... AUTO
  45. suppress language errors... no
  46. checking stripping... skipped
  47. checking distcc... no (only used when forced)
  48. checking ccache... no (only used when forced)
  49. checking OSX application bundle... not OSX, skipping
  50. checking revision... no detection
  51. WARNING: there is no means to determine the version.
  52. WARNING: please use a subversion, mercurial, or git checkout of OpenTTD.
  53. WARNING: you can only join game servers that have been compiled without
  54. WARNING: version detection.
  55. WARNING: there is a great chance you desync.
  56. WARNING: USE WITH CAUTION!
  57. checking iconv... not OSX, skipping
  58. personal home directory... .openttd
  59. shared data directory... none
  60. installation directory... /
  61. icon theme directory... share/icons/hicolor
  62. manual page directory... share/man/man6
  63. menu item directory... share/applications
  64. 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\"
  65. using CXXFLAGS... -std=gnu++0x -Wno-narrowing
  66. 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
  67. Generating Makefile...
  68. Generating menu item...
  69. Generating lang/Makefile...
  70. Generating grf/Makefile...
  71. Generating objs/Makefile...
  72. testbed OpenTTD-release-1.1 # sudo make
  73. make[1]: Entering directory '/home/william/Downloads/OpenTTD-release-1.1/objs/lang'
  74. [LANG] Compiling and Linking endian_check
  75. [LANG] Testing endianness for host
  76. [LANG] Compiling core/alloc_func.cpp
  77. [LANG] Compiling string.cpp
  78. In file included from /home/william/Downloads/OpenTTD-release-1.1/src/string.cpp:12:0:
  79. /home/william/Downloads/OpenTTD-release-1.1/src/core/math_func.hpp: In function ‘T* AlignPtr(T*, uint)’:
  80. /home/william/Downloads/OpenTTD-release-1.1/src/stdafx.h:333:43: warning: typedef ‘__ct_assert__’ locally defined but not used [-Wunused-local-typedefs]
  81. #define assert_compile(expr) typedef int __ct_assert__[1 - 2 * !(expr)]
  82. ^
  83. /home/william/Downloads/OpenTTD-release-1.1/src/core/math_func.hpp:129:2: note: in expansion of macro ‘assert_compile’
  84. assert_compile(sizeof(size_t) == sizeof(void *));
  85. ^
  86. [LANG] Compiling strgen/strgen.cpp
  87. In file included from /home/william/Downloads/OpenTTD-release-1.1/src/strgen/strgen.cpp:12:0:
  88. /home/william/Downloads/OpenTTD-release-1.1/src/strgen/../core/math_func.hpp: In function ‘T* AlignPtr(T*, uint)’:
  89. /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]
  90. #define assert_compile(expr) typedef int __ct_assert__[1 - 2 * !(expr)]
  91. ^
  92. /home/william/Downloads/OpenTTD-release-1.1/src/strgen/../core/math_func.hpp:129:2: note: in expansion of macro ‘assert_compile’
  93. assert_compile(sizeof(size_t) == sizeof(void *));
  94. ^
  95. [LANG] Compiling and Linking strgen
  96. [LANG] Generating table/strings.h
  97. [LANG] Compiling language afrikaans
  98. [LANG] Compiling language arabic_egypt
  99. [LANG] Compiling language belarusian
  100. [LANG] Compiling language brazilian_portuguese
  101. [LANG] Compiling language bulgarian
  102. [LANG] Compiling language catalan
  103. [LANG] Compiling language croatian
  104. [LANG] Compiling language czech
  105. [LANG] Compiling language danish
  106. [LANG] Compiling language dutch
  107. [LANG] Compiling language english
  108. [LANG] Compiling language english_US
  109. [LANG] Compiling language esperanto
  110. [LANG] Compiling language estonian
  111. [LANG] Compiling language finnish
  112. [LANG] Compiling language french
  113. [LANG] Compiling language galician
  114. [LANG] Compiling language german
  115. [LANG] Compiling language greek
  116. [LANG] Compiling language hebrew
  117. [LANG] Compiling language hungarian
  118. [LANG] Compiling language icelandic
  119. [LANG] Compiling language indonesian
  120. [LANG] Compiling language irish
  121. [LANG] Compiling language italian
  122. [LANG] Compiling language japanese
  123. [LANG] Compiling language korean
  124. [LANG] Compiling language latvian
  125. [LANG] Compiling language lithuanian
  126. [LANG] Compiling language luxembourgish
  127. [LANG] Compiling language malay
  128. [LANG] Compiling language norwegian_bokmal
  129. [LANG] Compiling language norwegian_nynorsk
  130. [LANG] Compiling language polish
  131. [LANG] Compiling language portuguese
  132. [LANG] Compiling language romanian
  133. [LANG] Compiling language russian
  134. [LANG] Compiling language serbian
  135. [LANG] Compiling language simplified_chinese
  136. [LANG] Compiling language slovak
  137. [LANG] Compiling language slovenian
  138. [LANG] Compiling language spanish
  139. [LANG] Compiling language swedish
  140. [LANG] Compiling language traditional_chinese
  141. [LANG] Compiling language turkish
  142. [LANG] Compiling language ukrainian
  143. [LANG] Compiling language vietnamese
  144. [LANG] Compiling language welsh
  145. make[1]: Leaving directory '/home/william/Downloads/OpenTTD-release-1.1/objs/lang'
  146. make[1]: Entering directory '/home/william/Downloads/OpenTTD-release-1.1/objs/extra_grf'
  147. no NFORenum and GRFCodec found, skipping rebuild of openttd.grf...
  148. make[1]: Leaving directory '/home/william/Downloads/OpenTTD-release-1.1/objs/extra_grf'
  149. make[1]: Entering directory '/home/william/Downloads/OpenTTD-release-1.1/objs/release'
  150. [SRC] Compiling and Linking endian_check
  151. [SRC] Testing endianness for target
  152. [SRC] Compiling and linking depend
  153. /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp: In function ‘void ScanFile(const char*, const char*, bool, bool)’:
  154. /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]
  155. free((void*)h);
  156. ^
  157. /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]
  158. free((void*)*it);
  159. ^
  160. /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]
  161. free((void*)*it);
  162. ^
  163. /home/william/Downloads/OpenTTD-release-1.1/src/depend/depend.cpp: In function ‘int main(int, char**)’:
  164. /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]
  165. free((void*)*h);
  166. ^
  167. /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]
  168. free((void*)it->first);
  169. ^
  170. /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]
  171. free((void*)*h);
  172. ^
  173. /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]
  174. free((void*)it->first);
  175. ^
  176. /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]
  177. free((void*)*it);
  178. ^
  179. /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]
  180. free((void*)*it);
  181. ^
  182. [SRC] DEP CHECK (all files)
  183. [SRC] Compiling 3rdparty/md5/md5.cpp
  184. [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdaux.cpp
  185. [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdmath.cpp
  186. [SRC] Compiling 3rdparty/squirrel/squirrel/sqapi.cpp
  187. In file included from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqobject.h:5:0,
  188. from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:16,
  189. from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
  190. /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of ‘sqvector<T>::~sqvector() [with T = long int]’:
  191. /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqclosure.h:83:52: required from here
  192. /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]
  193. #define SQ_FREE(__ptr,__size) sq_vm_free((__ptr),(__size));
  194. ^
  195. /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h:38:4: note: in expansion of macro ‘SQ_FREE’
  196. SQ_FREE(_vals, (_allocated * sizeof(T)));
  197. ^
  198. In file included from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:17:0,
  199. from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
  200. /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
  201. void sq_vm_free(void *p,SQUnsignedInteger size);
  202. ^
  203. In file included from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqobject.h:5:0,
  204. from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:16,
  205. from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
  206. /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]’:
  207. /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]’
  208. /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqfuncstate.h:25:68: required from here
  209. /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]
  210. #define SQ_REALLOC(__ptr,__oldsize,__size) sq_vm_realloc((__ptr),(__oldsize),(_
  211. ^
  212. /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/squtils.h:97:15: note: in expansion of macro ‘SQ_REALLOC’
  213. _vals = (T*)SQ_REALLOC(_vals, _allocated * sizeof(T), newsize * sizeof(T));
  214. ^
  215. In file included from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:17:0,
  216. from /home/william/Downloads/OpenTTD-release-1.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:5:
  217. /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
  218. void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size);
  219. ^
  220. Makefile:240: recipe for target '3rdparty/squirrel/squirrel/sqapi.o' failed
  221. make[1]: *** [3rdparty/squirrel/squirrel/sqapi.o] Error 1
  222. make[1]: Leaving directory '/home/william/Downloads/OpenTTD-release-1.1/objs/release'
  223. Makefile:57: recipe for target 'all' failed
  224. make: *** [all] Error 1
  225. testbed OpenTTD-release-1.1 #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement