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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190 | Preparing to pull vitetris-source
Pulling vitetris-source
Preparing to build vitetris-source
Building vitetris-source
./configure --prefix=
compiling test program... ok
operating system: unix
sed s/\$(MAKE) -C\([a-z/]*\)/cd ; $(MAKE)/ Makefile src/Makefile
checking for linux/joystick.h... yes
checking for linux/input.h... yes
checking for Xlib... no
checking for conio.h... no
checking for stdint.h... yes
checking for sys/types.h... no
checking for sys/select.h... no
checking for sys/un.h... no
updating src/config.h
updating config.mk
INSTALLATION DIRECTORIES:
prefix =
bindir = $(prefix)/bin
datarootdir = $(prefix)/share
docdir = $(datarootdir)/doc/vitetris
pixmapdir = $(datarootdir)/pixmaps
desktopdir = $(datarootdir)/applications
FEATURES:
2player joystick network term_resizing menu blockstyles
(If you wish to change anything, run "configure help" for options.)
Now run make
make -j8
generating src/src-conf.mk
./src-conf.sh 'cc' '' ''
./src-conf.sh def TWOPLAYER y
./src-conf.sh obj tetris2p y
./src-conf.sh def JOYSTICK y
./src-conf.sh obj joylinux y
./src-conf.sh obj select y
./src-conf.sh set BACKEND curses
./src-conf.sh def CURSES
./src-conf.sh set CURSES_INC ""
./src-conf.sh set BACKEND ansi -z
./src-conf.sh set BACKEND allegro
./src-conf.sh def ALLEGRO
./src-conf.sh def XLIB
./src-conf.sh def TERM_RESIZING y
./src-conf.sh def NO_MENU -z y
./src-conf.sh lib menuext y
./src-conf.sh def NO_BLOCKSTYLES -z y
./src-conf.sh lib netw y
./src-conf.sh def SOCKET y
./src-conf.sh def INET y
./src-conf.sh obj inet y
./src-conf.sh def TTY_SOCKET "y" -a
./src-conf.sh obj tty_socket "y" -a
./src-conf.sh set DHISCORE_FILENAME "-D'HISCORE_FILENAME=\"\"'"
./src-conf.sh def PCTIMER
./src-conf.sh obj pctimer
cd src; make tetris
make[1]: Entering directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src'
cc -O2 -I. -DTWOPLAYER=1 -DSOCKET=1 -DINET=1 -DTERM_RESIZING=1 -c main.c
cc -O2 -I. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -DINET=1 -c cmdline.c
cc -O2 -I. -DTWOPLAYER=1 -DJOYSTICK=1 -c cfgfile.c
cc -O2 -c options.c
cc -O2 -I. -c hiscore.c
cc -O2 -c lang.c
cc -O2 -c timer.c
cc -O2 -c focus.c
cd game; make
make[2]: Entering directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/game'
cc -O2 -I.. -c tetris.c
cfgfile.c: In function ‘printbtnmapping’:
cfgfile.c:303:15: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(fp, input_chr9[b-1]);
^
cfgfile.c: In function ‘printkeymapping’:
cfgfile.c:340:15: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(fp, input_chr9[s[0]-1]);
^
cmdline.c: In function ‘print_hiscorelist’:
cmdline.c:360:10: warning: format not a string literal and no format arguments [-Wformat-security]
printf(buf);
^
cd menu; make
make[2]: Entering directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/menu'
cc -O2 -c menucore.c
cd netw; make
cd input; make unixterm
make[2]: Entering directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/input'
cc -O2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -DTERM_RESIZING=1 -c input.c
make[2]: Entering directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/netw'
cc -O2 -I.. -c socket.c
cd draw; make
make[2]: Entering directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/draw'
cc -O2 -I.. -DTWOPLAYER=1 -DSOCKET=1 -c draw.c
cd textgfx; make
make[2]: Entering directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/textgfx'
cc -O2 -c block.c
cc -O2 -c dropdown.c
cc -O2 -DTWOPLAYER=1 -DJOYSTICK=1 -c inputset.c
cc -O2 -DTWOPLAYER=1 -c inputdev.c
cc -O2 -I.. -DTWOPLAYER=1 -c keyboard.c
cc -O2 -I.. -c comm.c
cc -O2 -I.. -DTWOPLAYER=1 -c win.c
cc -O2 -c print.c
cc -O2 -c ibmgfx.c
cc -O2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c gamemenu.c
cc -O2 -c joystick.c
cc -O2 -I.. -c ansi.c
cc -O2 -I.. -DTWOPLAYER=1 -c ansi_win.c
cc -O2 -I.. -c term.c
cc -O2 -c draw_menu.c
cc -O2 -c gm_2p.c
cc -O2 -I.. -DTWOPLAYER=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.c
cc -O2 -I.. -c inet.c
cc -O2 -I.. -c draw2p.c
cc -O2 -I.. -c comm_inet.c
cc -O2 -c draw2p_menu.c
rm -f textgfx.a
cc -O2 -I.. -c gm_sock.c
ar rcs textgfx.a block.o win.o print.o ibmgfx.o ansi.o ansi_win.o term.o resize.o
cc -O2 -I.. -DSOCKET=1 -c tetris2p.c
make[2]: Leaving directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/textgfx'
cc -O2 -c playerin.c
cc -O2 -DJOYSTICK=1 -DSOCKET=1 -c inp_unixterm.c
cc -O2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c game.c
cc -O2 -DTWOPLAYER=1 -c escseq.c
ar dc netw.a no_inet.o
ar rs netw.a socket.o comm.o inet.o comm_inet.o
make[2]: Leaving directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/netw'
cc -O2 -c wonlost.c
cc -O2 -I.. -c select.c
ar rs draw.a draw.o draw_menu.o draw2p.o draw2p_menu.o
ar: creating draw.a
make[2]: Leaving directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/draw'
cc -O2 -I.. -c hslist.c
cc -O2 -c joylinux.c
cc -O2 -I.. -c gameover.c
cc -O2 -I.. -c startup.c -DINET=1
cc -O2 -c invit.c
cc -O2 -c netplay.c
cc -O2 -DTWOPLAYER=1 -c optsmenu.c
cc -O2 -c blockstyle.c
cc -O2 -I.. -DTWOPLAYER=1 -DINET=1 -c men_ansi.c
netplay.c:17:8: warning: return type defaults to ‘int’ [-Wimplicit-int]
static init_field(char *str, const char *val, int maxlen)
^
netplay.c: In function ‘try_connect’:
netplay.c:155:2: warning: implicit declaration of function ‘clearbox’ [-Wimplicit-function-declaration]
clearbox(x, y, 0, 2);
^
netplay.c:179:7: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration]
if (isdigit(*s))
^
netplay.c:180:8: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration]
n = atoi(s);
^
rm -f input.a
ar rcs input.a input.o keyboard.o joystick.o playerin.o inp_unixterm.o escseq.o select.o joylinux.o
make[2]: Leaving directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/input'
ar rs menu.a menucore.o dropdown.o inputset.o inputdev.o gamemenu.o gm_2p.o gm_sock.o hslist.o gameover.o
ar: creating menu.a
ar rs game.a tetris.o tetris2p.o game.o wonlost.o
ar: creating game.a
make[2]: Leaving directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/game'
rm -f menuext.a
ar rcs menuext.a startup.o invit.o netplay.o optsmenu.o blockstyle.o men_ansi.o
make[2]: Leaving directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src/menu'
mv -f game/game.a .
mv -f menu/*.a .
mv -f netw/netw.a .
mv -f input/input.a .
mv -f draw/draw.a .
mv -f textgfx/textgfx.a .
cc -o tetris main.o cmdline.o cfgfile.o options.o hiscore.o lang.o timer.o focus.o game.a menuext.a menu.a netw.a input.a draw.a textgfx.a
make[1]: Leaving directory '/home/bladernr/development/snappy/vitetris/parts/vitetris-source/build/src'
mv -f src/tetris tetris
stripping symbols to reduce program size:
strip --strip-all tetris
Done.
Now run ./tetris (or make install)
make install DESTDIR=/home/bladernr/development/snappy/vitetris/parts/vitetris-source/install
install -oroot -groot -d /home/bladernr/development/snappy/vitetris/parts/vitetris-source/install/bin /home/bladernr/development/snappy/vitetris/parts/vitetris-source/install/share/doc/vitetris
install: cannot change owner and permissions of ‘/home/bladernr/development/snappy/vitetris/parts/vitetris-source/install/bin’: Operation not permitted
install: cannot change owner and permissions of ‘/home/bladernr/development/snappy/vitetris/parts/vitetris-source/install/share/doc/vitetris’: Operation not permitted
Makefile:57: recipe for target 'install' failed
make: *** [install] Error 1
Command '['/bin/sh', '/tmp/tmppd0dnnui', 'make', 'install', 'DESTDIR=/home/bladernr/development/snappy/vitetris/parts/vitetris-source/install']' returned non-zero exit status 2
|