Compile error

es@es-desktop:~/trunk$ make
Making all in lib
make[1]: Вход в каталог `/home/es/trunk/lib'
  CXX    libvcmi_la-CBuildingHandler.lo
In file included from CBuildingHandler.h:9,
                 from CBuildingHandler.cpp:3:
ResourceSet.h: In member function ‘int Res::ResourceSet::operator/(const Res::ResourceSet&)’:
ResourceSet.h:72: error: ‘INT_MAX’ was not declared in this scope
make[1]: *** [libvcmi_la-CBuildingHandler.lo] Ошибка 1
make[1]: Выход из каталога `/home/es/trunk/lib'
make: *** [all-recursive] Error 1

vcmi.bugs.vcmi.eu/view.php?id=780
same error but my VCMI SVC “uptodate” and my file is ok
Line 140 of Connection.cpp

:socket(Socket),io_service(&Socket->get_io_service()), name(Name)

Does adding #include at the beginning of file solves this error?

Which version of Boost libraries are you using?

Dont know where to find boost version
and
adding #include at the begging of lib/CBuildingHandler.cpp gave out

es@es-desktop:~/trunk$ make
Making all in lib
make[1]: Вход в каталог `/home/es/trunk/lib'
  CXX    libvcmi_la-CBuildingHandler.lo
  CXX    libvcmi_la-CCampaignHandler.lo
CCampaignHandler.cpp: In member function ‘void CCampaignScenario::prepareCrossoverHeroes(std::vector<CGHeroInstance*, std::allocator<CGHeroInstance*> >)’:
CCampaignHandler.cpp:527: warning: unused variable ‘cgh’
  CXX    libvcmi_la-CCreatureHandler.lo
CCreatureHandler.cpp: In static member function ‘static int CCreature::estimateCreatureCount(int)’:
CCreatureHandler.cpp:105: warning: control reaches end of non-void function
  CXX    libvcmi_la-CCreatureSet.lo
  CXX    libvcmi_la-CDefObjInfoHandler.lo
  CXX    libvcmi_la-CFileUtility.lo
  CXX    libvcmi_la-CGameInterface.lo
  CXX    libvcmi_la-CGameState.lo
  CXX    libvcmi_la-CGeneralTextHandler.lo
  CXX    libvcmi_la-CHeroHandler.lo
  CXX    libvcmi_la-CLodHandler.lo
  CXX    libvcmi_la-CMapInfo.lo
  CXX    libvcmi_la-CObjectHandler.lo
CObjectHandler.cpp: In member function ‘void CGCreature::fight(const CGHeroInstance*) const’:
CObjectHandler.cpp:3168: warning: unused variable ‘totalCount’
  CXX    libvcmi_la-CSpellHandler.lo
  CXX    libvcmi_la-CTownHandler.lo
  CXX    libvcmi_la-Connection.lo
  CXX    libvcmi_la-HeroBonus.lo
HeroBonus.cpp:23: warning: ‘visibility’ attribute ignored
  CXX    libvcmi_la-IGameCallback.lo
  CXX    libvcmi_la-JsonNode.lo
  CXX    libvcmi_la-NetPacksLib.lo
  CXX    libvcmi_la-ResourceSet.lo
In file included from ResourceSet.cpp:2:
ResourceSet.h: In member function ‘int Res::ResourceSet::operator/(const Res::ResourceSet&)’:
ResourceSet.h:72: error: ‘INT_MAX’ was not declared in this scope
make[1]: *** [libvcmi_la-ResourceSet.lo] Error 1
make[1]: Выход из каталога `/home/es/trunk/lib'
make: *** [all-recursive] Error 1
es@es-desktop:~/trunk$ 

maby config.log helps

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by vcmi configure 0.84b, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  $ ./configure --no-create --no-recursion

## --------- ##
## Platform. ##
## --------- ##

hostname = es-desktop
uname -m = i686
uname -r = 2.6.32-33-generic
uname -s = Linux
uname -v = #72-Ubuntu SMP Fri Jul 29 21:08:37 UTC 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2635: checking for a BSD-compatible install
configure:2703: result: /usr/bin/install -c
configure:2714: checking whether build environment is sane
configure:2764: result: yes
configure:2905: checking for a thread-safe mkdir -p
configure:2944: result: /bin/mkdir -p
configure:2957: checking for gawk
configure:2973: found /usr/bin/gawk
configure:2984: result: gawk
configure:2995: checking whether make sets $(MAKE)
configure:3017: result: yes
configure:3164: checking for g++
configure:3180: found /usr/bin/g++
configure:3191: result: g++
configure:3218: checking for C++ compiler version
configure:3227: g++ --version >&5
g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3238: $? = 0
configure:3227: g++ -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
configure:3238: $? = 0
configure:3227: g++ -V >&5
g++: '-V' option must have argument
configure:3238: $? = 1
configure:3227: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:3238: $? = 1
configure:3258: checking whether the C++ compiler works
configure:3280: g++    conftest.cpp  >&5
configure:3284: $? = 0
configure:3333: result: yes
configure:3336: checking for C++ compiler default output file name
configure:3338: result: a.out
configure:3344: checking for suffix of executables
configure:3351: g++ -o conftest    conftest.cpp  >&5
configure:3355: $? = 0
configure:3377: result: 
configure:3399: checking whether we are cross compiling
configure:3407: g++ -o conftest    conftest.cpp  >&5
configure:3411: $? = 0
configure:3418: ./conftest
configure:3422: $? = 0
configure:3437: result: no
configure:3442: checking for suffix of object files
configure:3464: g++ -c   conftest.cpp >&5
configure:3468: $? = 0
configure:3489: result: o
configure:3493: checking whether we are using the GNU C++ compiler
configure:3512: g++ -c   conftest.cpp >&5
configure:3512: $? = 0
configure:3521: result: yes
configure:3530: checking whether g++ accepts -g
configure:3550: g++ -c -g  conftest.cpp >&5
configure:3550: $? = 0
configure:3591: result: yes
configure:3625: checking for style of include used by make
configure:3653: result: GNU
configure:3678: checking dependency style of g++
configure:3788: result: gcc3
configure:3894: checking build system type
configure:3908: result: i686-pc-linux-gnu
configure:3928: checking host system type
configure:3941: result: i686-pc-linux-gnu
configure:4009: checking for gcc
configure:4025: found /usr/bin/gcc
configure:4036: result: gcc
configure:4265: checking for C compiler version
configure:4274: gcc --version >&5
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4285: $? = 0
configure:4274: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
configure:4285: $? = 0
configure:4274: gcc -V >&5
gcc: '-V' option must have argument
configure:4285: $? = 1
configure:4274: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:4285: $? = 1
configure:4289: checking whether we are using the GNU C compiler
configure:4308: gcc -c   conftest.c >&5
configure:4308: $? = 0
configure:4317: result: yes
configure:4326: checking whether gcc accepts -g
configure:4346: gcc -c -g  conftest.c >&5
configure:4346: $? = 0
configure:4387: result: yes
configure:4404: checking for gcc option to accept ISO C89
configure:4468: gcc  -c -g -O2  conftest.c >&5
configure:4468: $? = 0
configure:4481: result: none needed
configure:4503: checking dependency style of gcc
configure:4613: result: gcc3
configure:4628: checking for a sed that does not truncate output
configure:4692: result: /bin/sed
configure:4710: checking for grep that handles long lines and -e
configure:4768: result: /bin/grep
configure:4773: checking for egrep
configure:4835: result: /bin/grep -E
configure:4840: checking for fgrep
configure:4902: result: /bin/grep -F
configure:4937: checking for ld used by gcc
configure:5004: result: /usr/bin/ld
configure:5011: checking if the linker (/usr/bin/ld) is GNU ld
configure:5026: result: yes
configure:5038: checking for BSD- or MS-compatible name lister (nm)
configure:5087: result: /usr/bin/nm -B
configure:5205: checking the name lister (/usr/bin/nm -B) interface
configure:5212: g++ -c -g -O2  conftest.cpp >&5
configure:5215: /usr/bin/nm -B "conftest.o"
configure:5218: output
00000000 B some_variable
configure:5225: result: BSD nm
configure:5228: checking whether ln -s works
configure:5232: result: yes
configure:5240: checking the maximum length of command line arguments
configure:5360: result: 805306365
configure:5377: checking whether the shell understands some XSI constructs
configure:5387: result: yes
configure:5391: checking whether the shell understands "+="
configure:5397: result: yes
configure:5432: checking for /usr/bin/ld option to reload object files
configure:5439: result: -r
configure:5508: checking for objdump
configure:5524: found /usr/bin/objdump
configure:5535: result: objdump
configure:5567: checking how to recognize dependent libraries
configure:5763: result: pass_all
configure:5823: checking for ar
configure:5839: found /usr/bin/ar
configure:5850: result: ar
configure:5928: checking for strip
configure:5944: found /usr/bin/strip
configure:5955: result: strip
configure:6027: checking for ranlib
configure:6043: found /usr/bin/ranlib
configure:6054: result: ranlib
configure:6144: checking command to parse /usr/bin/nm -B output from gcc object
configure:6262: g++ -c -g -O2  conftest.cpp >&5
configure:6265: $? = 0
configure:6269: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)	 ]	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:6272: $? = 0
configure:6326: g++ -o conftest -g -O2   conftest.cpp conftstm.o >&5
configure:6329: $? = 0
configure:6367: result: ok
configure:7176: checking how to run the C preprocessor
configure:7207: gcc -E  conftest.c
configure:7207: $? = 0
configure:7221: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:7221: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7246: result: gcc -E
configure:7266: gcc -E  conftest.c
configure:7266: $? = 0
configure:7280: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:7280: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7309: checking for ANSI C header files
configure:7329: gcc -c -g -O2  conftest.c >&5
configure:7329: $? = 0
configure:7402: gcc -o conftest -g -O2   conftest.c  >&5
configure:7402: $? = 0
configure:7402: ./conftest
configure:7402: $? = 0
configure:7413: result: yes
configure:7426: checking for sys/types.h
configure:7426: gcc -c -g -O2  conftest.c >&5
configure:7426: $? = 0
configure:7426: result: yes
configure:7426: checking for sys/stat.h
configure:7426: gcc -c -g -O2  conftest.c >&5
configure:7426: $? = 0
configure:7426: result: yes
configure:7426: checking for stdlib.h
configure:7426: gcc -c -g -O2  conftest.c >&5
configure:7426: $? = 0
configure:7426: result: yes
configure:7426: checking for string.h
configure:7426: gcc -c -g -O2  conftest.c >&5
configure:7426: $? = 0
configure:7426: result: yes
configure:7426: checking for memory.h
configure:7426: gcc -c -g -O2  conftest.c >&5
configure:7426: $? = 0
configure:7426: result: yes
configure:7426: checking for strings.h
configure:7426: gcc -c -g -O2  conftest.c >&5
configure:7426: $? = 0
configure:7426: result: yes
configure:7426: checking for inttypes.h
configure:7426: gcc -c -g -O2  conftest.c >&5
configure:7426: $? = 0
configure:7426: result: yes
configure:7426: checking for stdint.h
configure:7426: gcc -c -g -O2  conftest.c >&5
configure:7426: $? = 0
configure:7426: result: yes
configure:7426: checking for unistd.h
configure:7426: gcc -c -g -O2  conftest.c >&5
configure:7426: $? = 0
configure:7426: result: yes
configure:7441: checking for dlfcn.h
configure:7441: gcc -c -g -O2  conftest.c >&5
configure:7441: $? = 0
configure:7441: result: yes
configure:7566: checking for C++ compiler version
configure:7575: g++ --version >&5
g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:7586: $? = 0
configure:7575: g++ -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
configure:7586: $? = 0
configure:7575: g++ -V >&5
g++: '-V' option must have argument
configure:7586: $? = 1
configure:7575: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:7586: $? = 1
configure:7590: checking whether we are using the GNU C++ compiler
configure:7618: result: yes
configure:7627: checking whether g++ accepts -g
configure:7688: result: yes
configure:7713: checking dependency style of g++
configure:7823: result: gcc3
configure:7846: checking how to run the C++ preprocessor
configure:7873: g++ -E  conftest.cpp
configure:7873: $? = 0
configure:7887: g++ -E  conftest.cpp
conftest.cpp:22:28: error: ac_nonexistent.h: No such file or directory
configure:7887: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7912: result: g++ -E
configure:7932: g++ -E  conftest.cpp
configure:7932: $? = 0
configure:7946: g++ -E  conftest.cpp
conftest.cpp:22:28: error: ac_nonexistent.h: No such file or directory
configure:7946: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:8092: checking for objdir
configure:8107: result: .libs
configure:8403: checking if gcc supports -fno-rtti -fno-exceptions
configure:8421: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:8425: $? = 0
configure:8438: result: no
configure:8458: checking for gcc option to produce PIC
configure:8730: result: -fPIC -DPIC
configure:8742: checking if gcc PIC flag -fPIC -DPIC works
configure:8760: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:8764: $? = 0
configure:8777: result: yes
configure:8801: checking if gcc static flag -static works
configure:8829: result: yes
configure:8844: checking if gcc supports -c -o file.o
configure:8865: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:8869: $? = 0
configure:8891: result: yes
configure:8899: checking if gcc supports -c -o file.o
configure:8946: result: yes
configure:8979: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:9966: result: yes
configure:10003: checking whether -lc should be explicitly linked in
configure:10008: gcc -c -g -O2  conftest.c >&5
configure:10011: $? = 0
configure:10026: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:10029: $? = 0
configure:10041: result: no
configure:10205: checking dynamic linker characteristics
configure:10638: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:10638: $? = 0
configure:10868: result: GNU/Linux ld.so
configure:10970: checking how to hardcode library paths into programs
configure:10995: result: immediate
configure:11515: checking whether stripping libraries is possible
configure:11520: result: yes
configure:11555: checking if libtool supports shared libraries
configure:11557: result: yes
configure:11560: checking whether to build shared libraries
configure:11581: result: yes
configure:11584: checking whether to build static libraries
configure:11588: result: no
configure:11738: checking for ld used by g++
configure:11805: result: /usr/bin/ld
configure:11812: checking if the linker (/usr/bin/ld) is GNU ld
configure:11827: result: yes
configure:11882: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:12795: result: yes
configure:12823: g++ -c -g -O2  conftest.cpp >&5
configure:12826: $? = 0
configure:13008: checking for g++ option to produce PIC
configure:13325: result: -fPIC -DPIC
configure:13334: checking if g++ PIC flag -fPIC -DPIC works
configure:13352: g++ -c -g -O2  -fPIC -DPIC -DPIC conftest.cpp >&5
configure:13356: $? = 0
configure:13369: result: yes
configure:13390: checking if g++ static flag -static works
configure:13418: result: yes
configure:13430: checking if g++ supports -c -o file.o
configure:13451: g++ -c -g -O2  -o out/conftest2.o conftest.cpp >&5
configure:13455: $? = 0
configure:13477: result: yes
configure:13482: checking if g++ supports -c -o file.o
configure:13529: result: yes
configure:13559: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:13588: result: yes
configure:13725: checking dynamic linker characteristics
configure:14106: g++ -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.cpp  >&5
configure:14106: $? = 0
configure:14336: result: GNU/Linux ld.so
configure:14387: checking how to hardcode library paths into programs
configure:14412: result: immediate
configure:14471: checking for C++ compiler vendor
configure:14495: g++ -c -g -O2  conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:29: error: 'thisisanerror' was not declared in this scope
configure:14495: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
| #if !(defined(__ICC) || defined(__ECC) || defined(__INTEL_COMPILER))
|       thisisanerror;
| #endif
| 
|   ;
|   return 0;
| }
configure:14495: g++ -c -g -O2  conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:29: error: 'thisisanerror' was not declared in this scope
configure:14495: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
| #if !(defined(__xlc__) || defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__))
|       thisisanerror;
| #endif
| 
|   ;
|   return 0;
| }
configure:14495: g++ -c -g -O2  conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:29: error: 'thisisanerror' was not declared in this scope
configure:14495: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
| #if !(defined(__PATHCC__) || defined(__PATHSCALE__))
|       thisisanerror;
| #endif
| 
|   ;
|   return 0;
| }
configure:14495: g++ -c -g -O2  conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:29: error: 'thisisanerror' was not declared in this scope
configure:14495: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
| #if !(defined(__clang__))
|       thisisanerror;
| #endif
| 
|   ;
|   return 0;
| }
configure:14495: g++ -c -g -O2  conftest.cpp >&5
configure:14495: $? = 0
configure:14502: result: gnu
configure:14600: checking for boostlib >= 1.36
configure:14669: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -I/usr/include conftest.cpp >&5
configure:14669: $? = 0
configure:14671: result: yes
configure:14849: checking whether the Boost::System library is available
configure:14873: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -I/usr/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:29: warning: statement has no effect
configure:14873: $? = 0
configure:14888: result: yes
configure:14903: checking for exit in -lboost_system-mt
configure:14928: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -I/usr/include  -L/usr/lib conftest.cpp -lboost_system-mt   >&5
configure:14928: $? = 0
configure:14938: result: yes
configure:15096: checking whether the Boost::Filesystem library is available
configure:15120: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -I/usr/include conftest.cpp >&5
configure:15120: $? = 0
configure:15134: result: yes
configure:15145: checking for exit in -lboost_filesystem-mt
configure:15170: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -I/usr/include  -L/usr/lib conftest.cpp -lboost_filesystem-mt   -lboost_system-mt >&5
configure:15170: $? = 0
configure:15180: result: yes
configure:15335: checking whether the Boost::Thread library is available
configure:15367: g++ -c -pthread -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -I/usr/include conftest.cpp >&5
configure:15367: $? = 0
configure:15382: result: yes
configure:15411: checking for exit in -lboost_thread-mt
configure:15436: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -I/usr/include  -L/usr/lib conftest.cpp -lboost_thread-mt   >&5
configure:15436: $? = 0
configure:15446: result: yes
configure:15608: checking whether the Boost::IOStreams library is available
configure:15636: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:15636: $? = 0
configure:15650: result: yes
configure:15661: checking for exit in -lboost_iostreams-mt
configure:15686: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include  -L/usr/lib conftest.cpp -lboost_iostreams-mt   >&5
configure:15686: $? = 0
configure:15696: result: yes
configure:15843: checking whether the Boost::Program_Options library is available
configure:15867: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:15867: $? = 0
configure:15881: result: yes
configure:15892: checking for exit in -lboost_program_options-mt
configure:15917: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include  -L/usr/lib conftest.cpp -lboost_program_options-mt   >&5
configure:15917: $? = 0
configure:15927: result: yes
configure:16048: checking for sdl-config
configure:16064: found /usr/bin/sdl-config
configure:16076: result: yes
configure:16097: checking SDL/SDL.h usability
configure:16097: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  conftest.cpp >&5
configure:16097: $? = 0
configure:16097: result: yes
configure:16097: checking SDL/SDL.h presence
configure:16097: g++ -E  conftest.cpp
configure:16097: $? = 0
configure:16097: result: yes
configure:16097: checking for SDL/SDL.h
configure:16097: result: yes
configure:16097: checking SDL/SDL_mixer.h usability
configure:16097: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  conftest.cpp >&5
configure:16097: $? = 0
configure:16097: result: yes
configure:16097: checking SDL/SDL_mixer.h presence
configure:16097: g++ -E  conftest.cpp
configure:16097: $? = 0
configure:16097: result: yes
configure:16097: checking for SDL/SDL_mixer.h
configure:16097: result: yes
configure:16097: checking SDL/SDL_image.h usability
configure:16097: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  conftest.cpp >&5
configure:16097: $? = 0
configure:16097: result: yes
configure:16097: checking SDL/SDL_image.h presence
configure:16097: g++ -E  conftest.cpp
configure:16097: $? = 0
configure:16097: result: yes
configure:16097: checking for SDL/SDL_image.h
configure:16097: result: yes
configure:16097: checking SDL/SDL_ttf.h usability
configure:16097: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  conftest.cpp >&5
configure:16097: $? = 0
configure:16097: result: yes
configure:16097: checking SDL/SDL_ttf.h presence
configure:16097: g++ -E  conftest.cpp
configure:16097: $? = 0
configure:16097: result: yes
configure:16097: checking for SDL/SDL_ttf.h
configure:16097: result: yes
configure:16111: checking for SDL_Init in -lSDL
configure:16136: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas   conftest.cpp -lSDL   -L/usr/lib -lSDL >&5
configure:16136: $? = 0
configure:16145: result: yes
configure:16158: checking for main in -lSDL_mixer
configure:16177: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas   conftest.cpp -lSDL_mixer  -lSDL  -L/usr/lib -lSDL >&5
configure:16177: $? = 0
configure:16186: result: yes
configure:16199: checking for IMG_Load in -lSDL_image
configure:16224: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas   conftest.cpp -lSDL_image  -lSDL_mixer -lSDL  -L/usr/lib -lSDL >&5
configure:16224: $? = 0
configure:16233: result: yes
configure:16246: checking for main in -lSDL_ttf
configure:16265: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas   conftest.cpp -lSDL_ttf  -lSDL_image -lSDL_mixer -lSDL  -L/usr/lib -lSDL >&5
configure:16265: $? = 0
configure:16274: result: yes
configure:16303: checking for av_open_input_file in -lavformat
configure:16328: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas   conftest.cpp -lavformat   -lavformat -lswscale   >&5
configure:16328: $? = 0
configure:16337: result: yes
configure:16350: checking for sws_getContext in -lswscale
configure:16375: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas   conftest.cpp -lswscale  -lavformat  -lavformat -lswscale   >&5
configure:16375: $? = 0
configure:16384: result: yes
configure:16397: checking for avcodec_decode_video2 in -lavcodec
configure:16422: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas   conftest.cpp -lavcodec  -lswscale -lavformat  -lavformat -lswscale   >&5
/tmp/ccMZPZp1.o: In function `main':
/home/es/Загрузки/trunk/conftest.cpp:50: undefined reference to `avcodec_decode_video2'
collect2: ld returned 1 exit status
configure:16422: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_BOOST /**/
| #define HAVE_BOOST_SYSTEM /**/
| #define HAVE_BOOST_FILESYSTEM /**/
| #define HAVE_BOOST_THREAD /**/
| #define HAVE_BOOST_IOSTREAMS /**/
| #define HAVE_BOOST_PROGRAM_OPTIONS /**/
| #define HAVE_SDL_SDL_H 1
| #define HAVE_SDL_SDL_MIXER_H 1
| #define HAVE_SDL_SDL_IMAGE_H 1
| #define HAVE_SDL_SDL_TTF_H 1
| #define HAVE_LIBSDL 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_TTF 1
| #define HAVE_LIBAVFORMAT 1
| #define HAVE_LIBSWSCALE 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char avcodec_decode_video2 ();
| int
| main ()
| {
| return avcodec_decode_video2 ();
|   ;
|   return 0;
| }
configure:16431: result: no
configure:16437: checking for av_register_protocol2 in -lavcodec
configure:16462: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas   conftest.cpp -lavcodec  -lswscale -lavformat  -lavformat -lswscale   >&5
/tmp/ccSe85R6.o: In function `main':
/home/es/Загрузки/trunk/conftest.cpp:50: undefined reference to `av_register_protocol2'
collect2: ld returned 1 exit status
configure:16462: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vcmi"
| #define PACKAGE_TARNAME "vcmi"
| #define PACKAGE_VERSION "0.84b"
| #define PACKAGE_STRING "vcmi 0.84b"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vcmi"
| #define VERSION "0.84b"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_BOOST /**/
| #define HAVE_BOOST_SYSTEM /**/
| #define HAVE_BOOST_FILESYSTEM /**/
| #define HAVE_BOOST_THREAD /**/
| #define HAVE_BOOST_IOSTREAMS /**/
| #define HAVE_BOOST_PROGRAM_OPTIONS /**/
| #define HAVE_SDL_SDL_H 1
| #define HAVE_SDL_SDL_MIXER_H 1
| #define HAVE_SDL_SDL_IMAGE_H 1
| #define HAVE_SDL_SDL_TTF_H 1
| #define HAVE_LIBSDL 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_TTF 1
| #define HAVE_LIBAVFORMAT 1
| #define HAVE_LIBSWSCALE 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char av_register_protocol2 ();
| int
| main ()
| {
| return av_register_protocol2 ();
|   ;
|   return 0;
| }
configure:16471: result: no
configure:16485: checking for ANSI C header files
configure:16589: result: yes
configure:16600: checking fcntl.h usability
configure:16600: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  conftest.cpp >&5
configure:16600: $? = 0
configure:16600: result: yes
configure:16600: checking fcntl.h presence
configure:16600: g++ -E  conftest.cpp
configure:16600: $? = 0
configure:16600: result: yes
configure:16600: checking for fcntl.h
configure:16600: result: yes
configure:16600: checking for stdlib.h
configure:16600: result: yes
configure:16600: checking for string.h
configure:16600: result: yes
configure:16615: checking boost/filesystem.hpp usability
configure:16615: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking boost/filesystem.hpp presence
configure:16615: g++ -E  -pthread -I/usr/include conftest.cpp
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking for boost/filesystem.hpp
configure:16615: result: yes
configure:16615: checking boost/algorithm/string.hpp usability
configure:16615: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking boost/algorithm/string.hpp presence
configure:16615: g++ -E  -pthread -I/usr/include conftest.cpp
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking for boost/algorithm/string.hpp
configure:16615: result: yes
configure:16615: checking boost/algorithm/string/replace.hpp usability
configure:16615: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking boost/algorithm/string/replace.hpp presence
configure:16615: g++ -E  -pthread -I/usr/include conftest.cpp
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking for boost/algorithm/string/replace.hpp
configure:16615: result: yes
configure:16615: checking boost/filesystem/operations.hpp usability
configure:16615: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking boost/filesystem/operations.hpp presence
configure:16615: g++ -E  -pthread -I/usr/include conftest.cpp
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking for boost/filesystem/operations.hpp
configure:16615: result: yes
configure:16615: checking boost/assign/std/vector.hpp usability
configure:16615: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking boost/assign/std/vector.hpp presence
configure:16615: g++ -E  -pthread -I/usr/include conftest.cpp
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking for boost/assign/std/vector.hpp
configure:16615: result: yes
configure:16615: checking boost/algorithm/string/find.hpp usability
configure:16615: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking boost/algorithm/string/find.hpp presence
configure:16615: g++ -E  -pthread -I/usr/include conftest.cpp
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking for boost/algorithm/string/find.hpp
configure:16615: result: yes
configure:16615: checking boost/function.hpp usability
configure:16615: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking boost/function.hpp presence
configure:16615: g++ -E  -pthread -I/usr/include conftest.cpp
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking for boost/function.hpp
configure:16615: result: yes
configure:16615: checking boost/bind.hpp usability
configure:16615: g++ -c -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include conftest.cpp >&5
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking boost/bind.hpp presence
configure:16615: g++ -E  -pthread -I/usr/include conftest.cpp
configure:16615: $? = 0
configure:16615: result: yes
configure:16615: checking for boost/bind.hpp
configure:16615: result: yes
configure:16633: checking for atexit
configure:16633: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include  conftest.cpp  >&5
configure:16633: $? = 0
configure:16633: result: yes
configure:16633: checking for memset
configure:16633: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include  conftest.cpp  >&5
configure:16633: $? = 0
configure:16633: result: yes
configure:16633: checking for pow
configure:16633: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include  conftest.cpp  >&5
configure:16633: $? = 0
configure:16633: result: yes
configure:16633: checking for select
configure:16633: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include  conftest.cpp  >&5
configure:16633: $? = 0
configure:16633: result: yes
configure:16633: checking for sqrt
configure:16633: g++ -o conftest -g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas  -pthread -I/usr/include  conftest.cpp  >&5
configure:16633: $? = 0
configure:16633: result: yes
configure:16821: creating ./config.status

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_atexit=yes
ac_cv_func_memset=yes
ac_cv_func_pow=yes
ac_cv_func_select=yes
ac_cv_func_sqrt=yes
ac_cv_header_SDL_SDL_h=yes
ac_cv_header_SDL_SDL_image_h=yes
ac_cv_header_SDL_SDL_mixer_h=yes
ac_cv_header_SDL_SDL_ttf_h=yes
ac_cv_header_boost_algorithm_string_find_hpp=yes
ac_cv_header_boost_algorithm_string_hpp=yes
ac_cv_header_boost_algorithm_string_replace_hpp=yes
ac_cv_header_boost_assign_std_vector_hpp=yes
ac_cv_header_boost_bind_hpp=yes
ac_cv_header_boost_filesystem_hpp=yes
ac_cv_header_boost_filesystem_operations_hpp=yes
ac_cv_header_boost_function_hpp=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_SDL_SDL_Init=yes
ac_cv_lib_SDL_image_IMG_Load=yes
ac_cv_lib_SDL_mixer_main=yes
ac_cv_lib_SDL_ttf_main=yes
ac_cv_lib_avcodec_av_register_protocol2=no
ac_cv_lib_avcodec_avcodec_decode_video2=no
ac_cv_lib_avformat_av_open_input_file=yes
ac_cv_lib_boost_filesystem_mt___exit=yes
ac_cv_lib_boost_iostreams_mt___exit=yes
ac_cv_lib_boost_program_options_mt___exit=yes
ac_cv_lib_boost_system_mt___exit=yes
ac_cv_lib_boost_thread_mt___exit=yes
ac_cv_lib_swscale_sws_getContext=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_HAVE_SDL_CONFIG=yes
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
ax_cv_boost_filesystem=yes
ax_cv_boost_iostreams=yes
ax_cv_boost_program_options=yes
ax_cv_boost_system=yes
ax_cv_boost_thread=yes
ax_cv_cxx_compiler_vendor=gnu
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)	 ]	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \(^ ]*\) \(^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \(^ ]*\) \(lib^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \(^ ]*\) \(^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=805306365

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/es/Загрузки/trunk/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/es/Загрузки/trunk/missing --run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='0'
AR='ar'
AUTOCONF='${SHELL} /home/es/Загрузки/trunk/missing --run autoconf'
AUTOHEADER='${SHELL} /home/es/Загрузки/trunk/missing --run autoheader'
AUTOMAKE='${SHELL} /home/es/Загрузки/trunk/missing --run automake-1.11'
AWK='gawk'
BOOST_CPPFLAGS='-pthread -I/usr/include'
BOOST_FILESYSTEM_LIB='-lboost_filesystem-mt'
BOOST_IOSTREAMS_LIB='-lboost_iostreams-mt'
BOOST_LDFLAGS='-L/usr/lib'
BOOST_PROGRAM_OPTIONS_LIB='-lboost_program_options-mt'
BOOST_SYSTEM_LIB='-lboost_system-mt'
BOOST_THREAD_LIB='-lboost_thread-mt'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=' -pthread -I/usr/include'
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2 -O0 -ggdb -Wall -Wno-switch -Wno-sign-compare -Wcast-align -Wpointer-arith -Wno-unknown-pragmas -DDATA_DIR=\"$(pkgdatadir)\" -DBIN_DIR=\"$(bindir)\" -DLIB_DIR=\"$(pkglibdir)\"'
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"vcmi\" -DPACKAGE_TARNAME=\"vcmi\" -DPACKAGE_VERSION=\"0.84b\" -DPACKAGE_STRING=\"vcmi\ 0.84b\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"vcmi\" -DVERSION=\"0.84b\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_BOOST_PROGRAM_OPTIONS=/\*\*/ -DHAVE_SDL_SDL_H=1 -DHAVE_SDL_SDL_MIXER_H=1 -DHAVE_SDL_SDL_IMAGE_H=1 -DHAVE_SDL_SDL_TTF_H=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBAVFORMAT=1 -DHAVE_LIBSWSCALE=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_BOOST_FILESYSTEM_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_REPLACE_HPP=1 -DHAVE_BOOST_FILESYSTEM_OPERATIONS_HPP=1 -DHAVE_BOOST_ASSIGN_STD_VECTOR_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_FIND_HPP=1 -DHAVE_BOOST_FUNCTION_HPP=1 -DHAVE_BOOST_BIND_HPP=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_POW=1 -DHAVE_SELECT=1 -DHAVE_SQRT=1'
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FFMPEG_CXXFLAGS='-g -O2    '
FFMPEG_LIBS='-lswscale -lavformat  -lavformat -lswscale  '
FGREP='/bin/grep -F'
GREP='/bin/grep'
HAVE_SDL_CONFIG='yes'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/es/Загрузки/trunk/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='vcmi'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='vcmi'
PACKAGE_STRING='vcmi 0.84b'
PACKAGE_TARNAME='vcmi'
PACKAGE_URL=''
PACKAGE_VERSION='0.84b'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SDL_CXXFLAGS='-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT'
SDL_LIBS='-lSDL_ttf -lSDL_image -lSDL_mixer -lSDL  -L/usr/lib -lSDL'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
VCMI_AI_LIBS_DIR='${exec_prefix}/lib/vcmi/AI'
VCMI_SCRIPTING_LIBS_DIR='${exec_prefix}/lib/vcmi/Scripting'
VERSION='0.84b'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/es/Загрузки/trunk/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "vcmi"
#define PACKAGE_TARNAME "vcmi"
#define PACKAGE_VERSION "0.84b"
#define PACKAGE_STRING "vcmi 0.84b"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "vcmi"
#define VERSION "0.84b"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_BOOST /**/
#define HAVE_BOOST_SYSTEM /**/
#define HAVE_BOOST_FILESYSTEM /**/
#define HAVE_BOOST_THREAD /**/
#define HAVE_BOOST_IOSTREAMS /**/
#define HAVE_BOOST_PROGRAM_OPTIONS /**/
#define HAVE_SDL_SDL_H 1
#define HAVE_SDL_SDL_MIXER_H 1
#define HAVE_SDL_SDL_IMAGE_H 1
#define HAVE_SDL_SDL_TTF_H 1
#define HAVE_LIBSDL 1
#define HAVE_LIBSDL_MIXER 1
#define HAVE_LIBSDL_IMAGE 1
#define HAVE_LIBSDL_TTF 1
#define HAVE_LIBAVFORMAT 1
#define HAVE_LIBSWSCALE 1
#define STDC_HEADERS 1
#define HAVE_FCNTL_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_BOOST_FILESYSTEM_HPP 1
#define HAVE_BOOST_ALGORITHM_STRING_HPP 1
#define HAVE_BOOST_ALGORITHM_STRING_REPLACE_HPP 1
#define HAVE_BOOST_FILESYSTEM_OPERATIONS_HPP 1
#define HAVE_BOOST_ASSIGN_STD_VECTOR_HPP 1
#define HAVE_BOOST_ALGORITHM_STRING_FIND_HPP 1
#define HAVE_BOOST_FUNCTION_HPP 1
#define HAVE_BOOST_BIND_HPP 1
#define HAVE_ATEXIT 1
#define HAVE_MEMSET 1
#define HAVE_POW 1
#define HAVE_SELECT 1
#define HAVE_SQRT 1

configure: exit 0

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by vcmi config.status 0.84b, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on es-desktop

config.status:1077: creating Makefile
config.status:1077: creating lib/Makefile
config.status:1077: creating client/Makefile
config.status:1077: creating server/Makefile
config.status:1077: creating AI/Makefile
config.status:1077: creating AI/StupidAI/Makefile
config.status:1077: creating AI/GeniusAI/Makefile
config.status:1077: creating AI/EmptyAI/Makefile
config.status:1077: creating Scripting/ERM/Makefile
config.status:1240: executing depfiles commands
config.status:1240: executing libtool commands

Directory revision: 2322 (of 2322)

What’s the name and version of your distribution ?

Ubuntu 10.04 Lucid Lynx

I have 10.04.3.
I fixed the 1st error, but I don’t see the second.
What’s the version of boost in /usr/include/boost/version.hpp ?
And what’s the exact error you’re seeing ?

#define BOOST_VERSION 104000
#define BOOST_LIB_VERSION “1_40”

moreover ill try to install ubuntu 10.4.3

installed Ubuntu 10.4.3
and installed Directory revision: 2327 (of 2327)
sh configure
make
make check
sudo make install
no error… on this part

openSUSE 12.2 x86_64
g++: error: @BOOST_IOSTREAMS_LIB@: No such file or directory

ilya@ILYA:/tmp/vcmi> ./configure --prefix=/usr --libdir=/usr/lib64 CFLAGS="-march=native -msse3 -O3 -fomit-frame-pointer -pipe" CXXFLAGS="-march=native -msse3 -O3 -fomit-frame-pointer -pipe"
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
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 a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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 how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 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... no
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/x86_64-suse-linux/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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/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... no
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/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for C++ compiler vendor... gnu
checking whether make supports nested variables... yes
checking for boostlib >= 1.36... yes
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 whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options-mt... yes
checking for shm_open in -lrt... yes
checking for dlopen in -ldl... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL/SDL.h usability... yes
checking SDL/SDL.h presence... yes
checking for SDL/SDL.h... yes
checking SDL/SDL_mixer.h usability... yes
checking SDL/SDL_mixer.h presence... yes
checking for SDL/SDL_mixer.h... yes
checking SDL/SDL_image.h usability... yes
checking SDL/SDL_image.h presence... yes
checking for SDL/SDL_image.h... yes
checking SDL/SDL_ttf.h usability... yes
checking SDL/SDL_ttf.h presence... yes
checking for SDL/SDL_ttf.h... 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 av_register_all in -lavformat... yes
checking for sws_getContext in -lswscale... 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 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 AI/FuzzyLite/Makefile
config.status: creating AI/Makefile
config.status: creating AI/StupidAI/Makefile
config.status: creating AI/BattleAI/Makefile
config.status: creating AI/EmptyAI/Makefile
config.status: creating AI/VCAI/Makefile
config.status: creating Scripting/ERM/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
make
Making all in lib
make[1]: Вход в каталог `/tmp/vcmi/lib'
g++ -DPACKAGE_NAME=\"vcmi\" -DPACKAGE_TARNAME=\"vcmi\" -DPACKAGE_VERSION=\"0.90\" -DPACKAGE_STRING=\"vcmi\ 0.90\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"vcmi\" -DVERSION=\"0.90\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_PROGRAM_OPTIONS=/\*\*/ -DHAVE_LIBRT=1 -DHAVE_LIBDL=1 -DHAVE_SDL_SDL_H=1 -DHAVE_SDL_SDL_MIXER_H=1 -DHAVE_SDL_SDL_IMAGE_H=1 -DHAVE_SDL_SDL_TTF_H=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBAVFORMAT=1 -DHAVE_LIBSWSCALE=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_BOOST_FILESYSTEM_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_REPLACE_HPP=1 -DHAVE_BOOST_FILESYSTEM_OPERATIONS_HPP=1 -DHAVE_BOOST_ASSIGN_STD_VECTOR_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_FIND_HPP=1 -DHAVE_BOOST_FUNCTION_HPP=1 -DHAVE_BOOST_BIND_HPP=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_POW=1 -DHAVE_SELECT=1 -DHAVE_SQRT=1 -I.   -pthread -I/usr/include  -march=native -msse3 -O3 -fomit-frame-pointer -pipe -O0 -ggdb -std=c++0x -Wall -Wextra -Wcast-align -Wpointer-arith -Wno-switch -Wno-sign-compare -Wno-unused-parameter -DM_DATA_DIR=\"/usr/share/vcmi\" -DM_BIN_DIR=\"/usr/bin\" -DM_LIB_DIR=\"/usr/lib64/vcmi\" -DVCMI_DLL -fPIC -c StdInc.h
StdInc.h:1:9: warning: #pragma once in main file [enabled by default]
make  all-am
make[2]: Вход в каталог `/tmp/vcmi/lib'
  CXX    libvcmi_la-CBinaryReader.lo
  CXX    libvcmi_la-CCompressedStream.lo
  CXX    libvcmi_la-CFileInfo.lo
  CXX    libvcmi_la-CFileInputStream.lo
  CXX    libvcmi_la-CFilesystemLoader.lo
  CXX    libvcmi_la-CLodArchiveLoader.lo
  CXX    libvcmi_la-CMemoryStream.lo
  CXX    libvcmi_la-CResourceLoader.lo
  CXX    libvcmi_la-BattleAction.lo
  CXX    libvcmi_la-BattleState.lo
  CXX    libvcmi_la-CArtHandler.lo
  CXX    libvcmi_la-CBattleCallback.lo
  CXX    libvcmi_la-CBuildingHandler.lo
  CXX    libvcmi_la-CCampaignHandler.lo
  CXX    libvcmi_la-CConfigHandler.lo
  CXX    libvcmi_la-CConsoleHandler.lo
  CXX    libvcmi_la-CCreatureHandler.lo
  CXX    libvcmi_la-CCreatureSet.lo
  CXX    libvcmi_la-CDefObjInfoHandler.lo
  CXX    libvcmi_la-CGameInterface.lo
  CXX    libvcmi_la-CGameState.lo
  CXX    libvcmi_la-CGeneralTextHandler.lo
  CXX    libvcmi_la-CHeroHandler.lo
  CXX    libvcmi_la-CLogger.lo
  CXX    libvcmi_la-CMapInfo.lo
  CXX    libvcmi_la-CModHandler.lo
  CXX    libvcmi_la-CObjectHandler.lo
  CXX    libvcmi_la-CObstacleInstance.lo
  CXX    libvcmi_la-CSpellHandler.lo
  CXX    libvcmi_la-CTownHandler.lo
  CXX    libvcmi_la-CThreadHelper.lo
  CXX    libvcmi_la-Connection.lo
  CXX    libvcmi_la-HeroBonus.lo
  CXX    libvcmi_la-IGameCallback.lo
  CXX    libvcmi_la-JsonNode.lo
  CXX    libvcmi_la-NetPacksLib.lo
  CXX    libvcmi_la-ResourceSet.lo
  CXX    libvcmi_la-BattleHex.lo
  CXX    libvcmi_la-VCMI_Lib.lo
  CXX    libvcmi_la-map.lo
  CXXLD  libvcmi.la
g++: error: @BOOST_IOSTREAMS_LIB@: No such file or directory
make[2]: *** [libvcmi.la] Ошибка 1
make[2]: Выход из каталога `/tmp/vcmi/lib'
make[1]: *** [all] Ошибка 2
make[1]: Выход из каталога `/tmp/vcmi/lib'
make: *** [all-recursive] Ошибка 1
zypper se -i iostreams
С | Имя                            | Заключение                                     | Тип  
--+--------------------------------+------------------------------------------------+------
i | libboost_iostreams1_49_0       | Библиотеки времени выполнения Boost::IOStreams | пакет
zypper if libboost_iostreams1_49_0
Сведения — пакет libboost_iostreams1_49_0:

Репозиторий: Oss
Имя: libboost_iostreams1_49_0
Версия: 1.49.0-6.1.2
Архитектура: x86_64
Производитель: openSUSE
Установлен: Да
Состояние: актуален
Размер после установки: 103,3 KiB
Сводка: Библиотеки времени выполнения Boost::IOStreams
Описание: 
This package contains the Boost::IOStreams Runtime libraries.

Some remains of recently removed iostreams?

Try running “autoreconf” before ./configure
OR use CMake instead

svn co https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk /tmp/vcmi && cd /tmp/vcmi && cmake -LA -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE:STRING="-march=native -msse3 -O3 -fomit-frame-pointer -pipe -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr && make -j4 && sudo make install && .. && rm -rf vcmi

Now compile is fine, but problem with run. After compilation and instalation I’am download this file wog.zip and unziping in /usr/share/vcmi.
After I’am installing throw wine SoD, after updating to WoG. All files from WoG coping to /usr/share/vcmi
and launch vcmiclient


1 No music, but Mp3 in /usr/share/vcmi/Mp3 is set.
2 When i launch Game New Game -> Compign -> WoG/RoE/AB -> Start
Client is droped :frowning:

  1. Probably SDL_Mixer was compiled without MP3 support.
    Check last paragraph in “preparing data” section here: wiki.vcmi.eu/index.php?title=Ins … n_on_Linux

  2. I remember such behavior when port used by VCMI (3030) was blocked.
    vcmiserver should be able to connect to this port.

If this won’t fix the problem - upload sever logs from ~/.vcmi directory.

Yes it’s. OpenSUSE as and Fedora not played mp3 throw SDL, and when convert by SoundKonverter in ogg quality 4 music playing good.
But can do anything with the video to play sound?

Yes it’s. EiskaltDC++ using 3030-3032 TCP port by default.
But nowhere in the documentation on installing and running were not told that the client uses TCP port 3030, and even more so when you start and drop the client does not say that he is trying to connect to TCP port 3030.
As for me - it’s wrong.

vcmi_logs.7z
Despite the fact that the music came the game starts, the problem still remained.
1 Don’t played music in video on startup. (3DO,WoG)
2 If set resolution better as 800600 (for exemple 12801024) game crashed when i want begin game (New Game -> Campagn -> Start), and for a minute crush, when i changed resolution durring game.
3 Even if the resolution 800*600 vcmi_client crush in different places in game.(For exemple stable crash when i’am level up and truing take “Wisdom”, click and crush).
Konsole log is too large and i take it in archive vcmi_logs.7z as Konsole_log.txt, but last messege when crush when take Wisdom is

Player 0 ends turn
Player 0 ended turn
System message: Game has been saved as Saves/Autosave_1
Error: Failed to find file CommWin2.pcx
Connection has been requested to be closed.
Sent closing signal to the server
Segmentation Fault

I’am nowhere can’t find file CommWin2.pcx, but truing other difrent versions of game.
If the problem is caused by the fact that I do not use the correct version of the game, then give me a link to download the correct version.
4 Russian version of the game contains unreadable text in some places, although most readable text.
http://i39.fastpic.ru/big/2012/1007/1e/3c4217339d00a1456e04cbed3fcec41e.png
http://i25.fastpic.ru/big/2012/1007/a3/9ae25b8cc4f5ae0afec8fafcd8c175a3.png

  1. dl.dropbox.com/u/22372764/vcmi/mods/core.zip
    Package with some graphics used by VCMI, including CommWin2

  2. dl.dropbox.com/u/22372764/vcmi/ … %20WoG.zip
    Russian localization for WoG
    Problem on your screenshot comes from English-only fonts in WoG package

Both should be unpacked into /usr/share/vcmi (or similar).

  • 3030 port should be noted somewhere, I agree.
  • no sound in videos - bug in VCMI.

Client does print the list of found endpoints that includes the port number… if setting up the server succeeds. I’ll correct this.

The port used can be changes by editing settings.txt — just add in the “server” section the following line:

		"port" : 3039

Just checked and it apparently still works. :slight_smile:
I guess this should be documented alongside with the default port number.

Thank you for this files, problems with high resolution, russian localisation and crush on level up is missed.
But a new problem when I try to attack any unit, the client crashed with diferent messeges.

Trying connection to 127.0.0.1:3030  (0)
Established connection with VCMI 0.9 (server)
Server opened savegame properly.
Sent info to server: 0
Opening VCAI
Loaded VCAI
Opening StupidAI
Loaded Stupid AI 0.1
CStupidAI [0x7f1ef0f8a730]: created
CStupidAI [0x7f1ef0f8a730]: init called, saving ptr to IBattleCallback
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
terminate called after throwing an instance of 'std::out_of_range'
  what():  array::at
sh: line 1: 19021 Аварийный останов         /usr/bin/vcmiserver 3030 > /home/.vcmi/server_log.txt
Error: server failed to close correctly or crashed!
Lost connection to server, ending listening thread!
read: End of file
Something wrong, lost connection while game is still ongoing...
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  read: End of file

Аварийный останов

Player 0 ends turn
Player 0 ended turn
System message: Game has been saved as Saves/Autosave_3
Warning: empty path found...
Warning: empty path found...
System message: Game has been saved as Saves/ILYA
terminate called after throwing an instance of 'std::out_of_range'
  what():  array::at
sh: line 1: 19291 Аварийный останов         /usr/bin/vcmiserver 3030 > /home/.vcmi/server_log.txt
Error: server failed to close correctly or crashed!
Lost connection to server, ending listening thread!
read: End of file
Something wrong, lost connection while game is still ongoing...
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  read: End of file

Аварийный останов

File is settings.json actually :slight_smile:
On Linux you can find it into ~/.vcmi/config/ directory

Yeah but I’m not sure that everyone would read that documentation…
Right now in case of error server will correctly quit (returns 0). And as result client prints “Server shut down correctly” :slight_smile:
Some error message should be more easy to notice.

Ok port successfully changed in ~/.vcmi/settings.json

{
	"adventure" : {
		"heroSpeed" : 8,
		"scrollSpeed" : 2
	},
	"battle" : {
	},
	"general" : {
		"music" : 99,
		"sound" : 99
	},
	"server" : {
		"port" : 3039
	},
	"video" : {
		"fullscreen" : true,
		"screenRes" : {
			"height" : 1024,
			"width" : 1280
		}
	}
}

Argh. Crashes on server are hard to debug.

Can you upload your save? May not be reproducible but this is easier than debugging via forums…