MantisBT

View Revisions: Issue #441 All Revisions ] Back to Issue ]
Summary 0000441: compile fails for revision 1541.
Revision 2010-03-14 01:43 by Zamolxis
Description I followed the linux instructions for building the game found in the forum.

ok here's the console output for mostly everything.



qwerty@Workstation:~/vmci/vcmi$ sh bootstrap.sh

libtoolize: putting auxiliary files in `.'.

libtoolize: copying file `./ltmain.sh'

libtoolize: putting macros in `aclocal/m4'.

libtoolize: copying file `aclocal/m4/libtool.m4'

libtoolize: copying file `aclocal/m4/ltoptions.m4'

libtoolize: copying file `aclocal/m4/ltsugar.m4'

libtoolize: copying file `aclocal/m4/ltversion.m4'

libtoolize: copying file `aclocal/m4/lt~obsolete.m4'

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and

libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and

libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.

qwerty@Workstation:~/vmci/vcmi$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for g++... g++

checking for C++ compiler default output file name... a.out

checking whether the C++ compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for style of include used by make... GNU

checking dependency style of g++... gcc3

checking whether we are using the GNU C++ compiler... (cached) yes

checking whether g++ accepts -g... (cached) yes

checking dependency style of g++... (cached) gcc3

checking for gcc... gcc

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking for boostlib >= 1.37... yes

checking build system type... x86_64-unknown-linux-gnu

checking whether the Boost::System library is available... yes

checking for exit in -lboost_system-mt... yes

checking whether the Boost::Filesystem library is available... yes

checking for exit in -lboost_filesystem-mt... yes

checking whether the Boost::Thread library is available... yes

checking for exit in -lboost_thread-mt... yes

checking how to run the C preprocessor... gcc -E

checking host system type... x86_64-unknown-linux-gnu

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for fgrep... /bin/grep -F

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

checking the name lister (/usr/bin/nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking for /usr/bin/ld option to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... pass_all

checking for ar... ar

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm -B output from gcc object... ok

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking whether we are using the GNU C++ compiler... (cached) yes

checking whether g++ accepts -g... (cached) yes

checking dependency style of g++... (cached) gcc3

checking how to run the C++ preprocessor... g++ -E

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking for ld used by g++... /usr/bin/ld -m elf_x86_64

checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking for g++ option to produce PIC... -fPIC -DPIC

checking if g++ PIC flag -fPIC -DPIC works... yes

checking if g++ static flag -static works... yes

checking if g++ supports -c -o file.o... yes

checking if g++ supports -c -o file.o... (cached) yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for main in -lstdc++... yes

checking for sdl-config... yes

checking for SDL_Init in -lSDL... yes

checking for main in -lSDL_mixer... yes

checking for IMG_Load in -lSDL_image... yes

checking for main in -lSDL_ttf... yes

checking for ANSI C header files... (cached) yes

checking fcntl.h usability... yes

checking fcntl.h presence... yes

checking for fcntl.h... yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking boost/filesystem.hpp usability... yes

checking boost/filesystem.hpp presence... yes

checking for boost/filesystem.hpp... yes

checking boost/algorithm/string.hpp usability... yes

checking boost/algorithm/string.hpp presence... yes

checking for boost/algorithm/string.hpp... yes

checking boost/algorithm/string/replace.hpp usability... yes

checking boost/algorithm/string/replace.hpp presence... yes

checking for boost/algorithm/string/replace.hpp... yes

checking boost/filesystem/operations.hpp usability... yes

checking boost/filesystem/operations.hpp presence... yes

checking for boost/filesystem/operations.hpp... yes

checking boost/assign/std/vector.hpp usability... yes

checking boost/assign/std/vector.hpp presence... yes

checking for boost/assign/std/vector.hpp... yes

checking boost/algorithm/string/find.hpp usability... yes

checking boost/algorithm/string/find.hpp presence... yes

checking for boost/algorithm/string/find.hpp... yes

checking boost/function.hpp usability... yes

checking boost/function.hpp presence... yes

checking for boost/function.hpp... yes

checking boost/bind.hpp usability... yes

checking boost/bind.hpp presence... yes

checking for boost/bind.hpp... yes

checking for stdbool.h that conforms to C99... yes

checking for _Bool... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for working alloca.h... yes

checking for alloca... yes

checking for stdlib.h... (cached) yes

checking for GNU libc compatible malloc... yes

checking sys/select.h usability... yes

checking sys/select.h presence... yes

checking for sys/select.h... yes

checking sys/socket.h usability... yes

checking sys/socket.h presence... yes

checking for sys/socket.h... yes

checking types of arguments for select... int,fd_set *,struct timeval *

checking for atexit... yes

checking for memset... yes

checking for pow... yes

checking for select... yes

checking for sqrt... yes

configure: creating ./config.status

config.status: creating Makefile

config.status: creating lib/Makefile

config.status: creating client/Makefile

config.status: creating server/Makefile

config.status: creating config.h

config.status: executing depfiles commands

config.status: executing libtool commands

qwerty@Workstation:~/vmci/vcmi$ make

make all-recursive

make[1]: Entering directory `/home/qwerty/vmci/vcmi'

Making all in lib

make[2]: Entering directory `/home/qwerty/vmci/vcmi/lib'

/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include @SDL_CXXFLAGS@ -g -MT libvcmi_la-CConsoleHandler.lo -MD -MP -MF .deps/libvcmi_la-CConsoleHandler.Tpo -c -o libvcmi_la-CConsoleHandler.lo `test -f '../CConsoleHandler.cpp' || echo './'`../CConsoleHandler.cpp

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include @SDL_CXXFLAGS@ -g -MT libvcmi_la-CConsoleHandler.lo -MD -MP -MF .deps/libvcmi_la-CConsoleHandler.Tpo -c ../CConsoleHandler.cpp -fPIC -DPIC -o .libs/libvcmi_la-CConsoleHandler.o

g++: @SDL_CXXFLAGS@: No such file or directory

In file included from ../stdafx.h:21,

                 from ../CConsoleHandler.cpp:2:

../global.h:43:2: error: #error DATA_DIR undefined.

../global.h:46:2: error: #error BIN_DIR undefined.

../global.h:49:2: error: #error LIB_DIR undefined.

make[2]: *** [libvcmi_la-CConsoleHandler.lo] Error 1

make[2]: Leaving directory `/home/qwerty/vmci/vcmi/lib'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/qwerty/vmci/vcmi'

make: *** [all] Error 2

Revision 2010-03-14 00:43 by Zamolxis
Description I followed the linux instructions for building the game found in the forum.
ok here's the console output for mostly everything.

qwerty@Workstation:~/vmci/vcmi$ sh bootstrap.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in `aclocal/m4'.
libtoolize: copying file `aclocal/m4/libtool.m4'
libtoolize: copying file `aclocal/m4/ltoptions.m4'
libtoolize: copying file `aclocal/m4/ltsugar.m4'
libtoolize: copying file `aclocal/m4/ltversion.m4'
libtoolize: copying file `aclocal/m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
qwerty@Workstation:~/vmci/vcmi$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for boostlib >= 1.37... yes
checking build system type... x86_64-unknown-linux-gnu
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system-mt... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem-mt... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread-mt... yes
checking how to run the C preprocessor... gcc -E
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for main in -lstdc++... yes
checking for sdl-config... yes
checking for SDL_Init in -lSDL... yes
checking for main in -lSDL_mixer... yes
checking for IMG_Load in -lSDL_image... yes
checking for main in -lSDL_ttf... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking boost/filesystem.hpp usability... yes
checking boost/filesystem.hpp presence... yes
checking for boost/filesystem.hpp... yes
checking boost/algorithm/string.hpp usability... yes
checking boost/algorithm/string.hpp presence... yes
checking for boost/algorithm/string.hpp... yes
checking boost/algorithm/string/replace.hpp usability... yes
checking boost/algorithm/string/replace.hpp presence... yes
checking for boost/algorithm/string/replace.hpp... yes
checking boost/filesystem/operations.hpp usability... yes
checking boost/filesystem/operations.hpp presence... yes
checking for boost/filesystem/operations.hpp... yes
checking boost/assign/std/vector.hpp usability... yes
checking boost/assign/std/vector.hpp presence... yes
checking for boost/assign/std/vector.hpp... yes
checking boost/algorithm/string/find.hpp usability... yes
checking boost/algorithm/string/find.hpp presence... yes
checking for boost/algorithm/string/find.hpp... yes
checking boost/function.hpp usability... yes
checking boost/function.hpp presence... yes
checking for boost/function.hpp... yes
checking boost/bind.hpp usability... yes
checking boost/bind.hpp presence... yes
checking for boost/bind.hpp... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for atexit... yes
checking for memset... yes
checking for pow... yes
checking for select... yes
checking for sqrt... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating client/Makefile
config.status: creating server/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
qwerty@Workstation:~/vmci/vcmi$ make
make all-recursive
make[1]: Entering directory `/home/qwerty/vmci/vcmi'
Making all in lib
make[2]: Entering directory `/home/qwerty/vmci/vcmi/lib'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include @SDL_CXXFLAGS@ -g -MT libvcmi_la-CConsoleHandler.lo -MD -MP -MF .deps/libvcmi_la-CConsoleHandler.Tpo -c -o libvcmi_la-CConsoleHandler.lo `test -f '../CConsoleHandler.cpp' || echo './'`../CConsoleHandler.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include @SDL_CXXFLAGS@ -g -MT libvcmi_la-CConsoleHandler.lo -MD -MP -MF .deps/libvcmi_la-CConsoleHandler.Tpo -c ../CConsoleHandler.cpp -fPIC -DPIC -o .libs/libvcmi_la-CConsoleHandler.o
g++: @SDL_CXXFLAGS@: No such file or directory
In file included from ../stdafx.h:21,
                 from ../CConsoleHandler.cpp:2:
../global.h:43:2: error: #error DATA_DIR undefined.
../global.h:46:2: error: #error BIN_DIR undefined.
../global.h:49:2: error: #error LIB_DIR undefined.
make[2]: *** [libvcmi_la-CConsoleHandler.lo] Error 1
make[2]: Leaving directory `/home/qwerty/vmci/vcmi/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/qwerty/vmci/vcmi'
make: *** [all] Error 2

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean