Advertisement
Guest User

Untitled

a guest
Oct 8th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.52 KB | None | 0 0
  1. chillpp-h122e7a62 zip file compile .....
  2. testbed openttd-chillpp-h122e7a62 # 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: 2815: [: 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... source tarball
  51. checking iconv... not OSX, skipping
  52. personal home directory... .openttd
  53. shared data directory... none
  54. installation directory... /
  55. icon theme directory... share/icons/hicolor
  56. manual page directory... share/man/man6
  57. menu item directory... share/applications
  58. 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 -rdynamic -DUNIX -DWITH_SDL -I/usr/include/SDL -D_REENTRANT -DWITH_ZLIB -DWITH_LZMA -DWITH_LZO -D_SQ64 -I/home/william/Downloads/openttd-chillpp-h122e7a62/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\"
  59. using CXXFLAGS... -std=gnu++0x
  60. 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
  61. Generating Makefile...
  62. Generating menu item...
  63. Generating lang/Makefile...
  64. Generating grf/Makefile...
  65. Generating objs/Makefile...
  66. testbed openttd-chillpp-h122e7a62 # sudo make
  67. make[1]: Entering directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/lang'
  68. make[1]: Nothing to be done for 'all'.
  69. make[1]: Leaving directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/lang'
  70. make[1]: Entering directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/extra_grf'
  71. make[1]: Nothing to be done for 'all'.
  72. make[1]: Leaving directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/extra_grf'
  73. make[1]: Entering directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/release'
  74. [SRC] Compiling fileio.cpp
  75. In file included from /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:17:0:
  76. /home/william/Downloads/openttd-chillpp-h122e7a62/src/tar_type.h: In destructor ‘TarListEntry::~TarListEntry()’:
  77. /home/william/Downloads/openttd-chillpp-h122e7a62/src/tar_type.h:27:38: warning: cast from type ‘const char*’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
  78. ~TarListEntry() { free((void*)this->filename); free((void*)this->dirname); }
  79. ^
  80. /home/william/Downloads/openttd-chillpp-h122e7a62/src/tar_type.h:27:67: warning: cast from type ‘const char*’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
  81. ~TarListEntry() { free((void*)this->filename); free((void*)this->dirname); }
  82. ^
  83. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp: In function ‘bool FileExists(const char*)’:
  84. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:282:36: error: ‘access’ was not declared in this scope
  85. return access(OTTD2FS(filename), 0) == 0;
  86. ^
  87. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp: In function ‘char* BuildWithFullPath(const char*)’:
  88. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:514:28: error: ‘getcwd’ was not declared in this scope
  89. if (getcwd(dest, MAX_PATH) == NULL) *dest = '\0';
  90. ^
  91. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp: In function ‘bool ChangeWorkingDirectoryToExecutable(const char*)’:
  92. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:905:16: error: ‘chdir’ was not declared in this scope
  93. if (chdir(exe) != 0) {
  94. ^
  95. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp: In function ‘void DetermineBasePaths(const char*)’:
  96. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:963:45: error: ‘getuid’ was not declared in this scope
  97. const struct passwd *pw = getpwuid(getuid());
  98. ^
  99. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:985:26: error: ‘getcwd’ was not declared in this scope
  100. if (getcwd(tmp, MAX_PATH) == NULL) *tmp = '\0';
  101. ^
  102. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:994:27: error: ‘getcwd’ was not declared in this scope
  103. if (getcwd(tmp, MAX_PATH) == NULL) *tmp = '\0';
  104. ^
  105. /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:1003:41: error: ‘chdir’ was not declared in this scope
  106. if (chdir(_searchpaths[SP_WORKING_DIR]) != 0) {
  107. ^
  108. Makefile:240: recipe for target 'fileio.o' failed
  109. make[1]: *** [fileio.o] Error 1
  110. make[1]: Leaving directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/release'
  111. Makefile:57: recipe for target 'all' failed
  112. make: *** [all] Error 1
  113. testbed openttd-chillpp-h122e7a62 #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement