Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chillpp-h122e7a62 zip file compile .....
- testbed openttd-chillpp-h122e7a62 # 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: 2815: [: 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... source tarball
- 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 -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\"
- using CXXFLAGS... -std=gnu++0x
- 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-chillpp-h122e7a62 # sudo make
- make[1]: Entering directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/lang'
- make[1]: Nothing to be done for 'all'.
- make[1]: Leaving directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/lang'
- make[1]: Entering directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/extra_grf'
- make[1]: Nothing to be done for 'all'.
- make[1]: Leaving directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/extra_grf'
- make[1]: Entering directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/release'
- [SRC] Compiling fileio.cpp
- In file included from /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:17:0:
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/tar_type.h: In destructor ‘TarListEntry::~TarListEntry()’:
- /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]
- ~TarListEntry() { free((void*)this->filename); free((void*)this->dirname); }
- ^
- /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]
- ~TarListEntry() { free((void*)this->filename); free((void*)this->dirname); }
- ^
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp: In function ‘bool FileExists(const char*)’:
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:282:36: error: ‘access’ was not declared in this scope
- return access(OTTD2FS(filename), 0) == 0;
- ^
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp: In function ‘char* BuildWithFullPath(const char*)’:
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:514:28: error: ‘getcwd’ was not declared in this scope
- if (getcwd(dest, MAX_PATH) == NULL) *dest = '\0';
- ^
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp: In function ‘bool ChangeWorkingDirectoryToExecutable(const char*)’:
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:905:16: error: ‘chdir’ was not declared in this scope
- if (chdir(exe) != 0) {
- ^
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp: In function ‘void DetermineBasePaths(const char*)’:
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:963:45: error: ‘getuid’ was not declared in this scope
- const struct passwd *pw = getpwuid(getuid());
- ^
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:985:26: error: ‘getcwd’ was not declared in this scope
- if (getcwd(tmp, MAX_PATH) == NULL) *tmp = '\0';
- ^
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:994:27: error: ‘getcwd’ was not declared in this scope
- if (getcwd(tmp, MAX_PATH) == NULL) *tmp = '\0';
- ^
- /home/william/Downloads/openttd-chillpp-h122e7a62/src/fileio.cpp:1003:41: error: ‘chdir’ was not declared in this scope
- if (chdir(_searchpaths[SP_WORKING_DIR]) != 0) {
- ^
- Makefile:240: recipe for target 'fileio.o' failed
- make[1]: *** [fileio.o] Error 1
- make[1]: Leaving directory '/home/william/Downloads/openttd-chillpp-h122e7a62/objs/release'
- Makefile:57: recipe for target 'all' failed
- make: *** [all] Error 1
- testbed openttd-chillpp-h122e7a62 #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement