1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
robert@robert-ThinkPad-R500:/tmp/warmux$ rm -r *
robert@robert-ThinkPad-R500:/tmp/warmux$ cmake ~/Programme/warmux/
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Warning (dev) at CMakeLists.txt:70 (INCLUDE):
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    /home/robert/Programme/warmux/build/cmake/CPackConfig.cmake

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found LibXml2: /usr/lib/libxml2.so 
-- Looking for fribidi_utf8_to_unicode
-- Looking for fribidi_utf8_to_unicode - found
-- Found FriBiDi: /usr/lib/libfribidi.so
-- Found CURL: /usr/lib/libcurl.so 
-- Found ZLIB: /usr/include (found version "1.2.3.4")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so 
-- Looking for include files HAVE_LIBINTL_H
-- Looking for include files HAVE_LIBINTL_H - found
-- Looking for dgettext
-- Looking for dgettext - found
-- Performing Test COMPILER_SUPPORTS_WEXTRA
-- Performing Test COMPILER_SUPPORTS_WEXTRA - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/warmux
robert@robert-ThinkPad-R500:/tmp/warmux$ make -j4
Scanning dependencies of target libfixedpoint
Scanning dependencies of target libwarmux
Scanning dependencies of target translations
Scanning dependencies of target warmux-server
[  0%] [  0%] [  0%] Building CXX object lib/warmux-server/CMakeFiles/warmux-server.dir/src/clock.o
Generating warmux.pot
[  0%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/maths/euler_vector.o
Building CXX object lib/fixedpoint/CMakeFiles/libfixedpoint.dir/fixed_func.o
[  1%] Building CXX object lib/warmux-server/CMakeFiles/warmux-server.dir/src/logfile.o
[  1%] Generating sk.gmo
[  1%] Generating it.gmo
[  1%] Building CXX object lib/warmux-server/CMakeFiles/warmux-server.dir/src/config.o
[  2%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/net/index_server.o
[  2%] Generating sv.gmo
[  2%] Generating de.gmo
[  2%] Generating cpf.gmo
Linking CXX static library libfixedpoint.a
[  2%] Generating zh_CN.gmo
[  2%] Built target libfixedpoint
[  2%] Generating sl.gmo
[  2%] Generating nl.gmo
[  2%] Generating et.gmo
[  2%] Generating fa.gmo
[  2%] Generating pt_BR.gmo
[  2%] Generating gl.gmo
[  2%] Generating cs.gmo
[  2%] Generating zh_TW.gmo
[  2%] Generating es.gmo
[  2%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/net/network.o
[  2%] Generating fr.gmo
[  2%] [  3%] Generating da.gmo
Building CXX object lib/warmux-server/CMakeFiles/warmux-server.dir/src/env.o
[  3%] [  3%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/net/extSDL_net.o
Generating he.gmo
[  3%] Generating ca.gmo
[  3%] Generating el.gmo
[  4%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/net/player.o
[  4%] Generating ro.gmo
Linking CXX static library libwarmux-server.a
[  4%] Built target warmux-server
[  4%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/net/socket.o
[  4%] Generating fi.gmo
[  5%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/net/download.o
[  5%] Generating bs.gmo
[  5%] Generating nn.gmo
[  5%] Generating hu.gmo
[  5%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/net/distant_cpu.o
[  5%] Generating bg.gmo
[  5%] Generating pl.gmo
[  5%] Generating ja_JP.gmo
[  5%] Generating lv.gmo
[  5%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/action/action_handler.o
[  6%] [  6%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/action/action.o
Generating nb.gmo
[  6%] Generating eo.gmo
[  6%] Generating kw.gmo
[  6%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/base/error.o
[  6%] Generating ru.gmo
[  6%] Generating tr.gmo
[  6%] Generating pt.gmo
[  7%] [  7%] [  7%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/base/i18n.o
Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/base/singleton.o
Generating uk.gmo
[  7%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/tools/debug.o
[ 21%] Built target translations
[ 22%] Building CXX object lib/warmux/CMakeFiles/libwarmux.dir/tools/random.o
/home/robert/Programme/warmux/lib/warmux/base/i18n.cpp: In function ‘char* localization(const char*)’:
/home/robert/Programme/warmux/lib/warmux/base/i18n.cpp:39:31: error: ‘strlen’ was not declared in this scope
make[2]: *** [lib/warmux/CMakeFiles/libwarmux.dir/base/i18n.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[1]: *** [lib/warmux/CMakeFiles/libwarmux.dir/all] Fehler 2
make: *** [all] Fehler 2
robert@robert-ThinkPad-R500:/tmp/warmux$