Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Chce skompilowac sobie kuaka drugiego, bo to co tu pisza:
[url]http://www.jfedor.org/aaquake2/[/url]
Jest moim wypragnionym marzeniem, w ktorym gram w kwaka w trybie tekstowym!!
Powiedzcie, kto by nie chcial pograc sobie w kłaka z konsoli bez X'ow?
Kompiluje i wychodzi taki blad:
f@xwbm:~/ffsciagane/quake2-3.21/linux$ make mkdir: nie można utworzyć katalogu `debugi386-glibc': Plik istnieje mkdir: nie można utworzyć katalogu `debugi386-glibc/client': Plik istnieje mkdir: nie można utworzyć katalogu `debugi386-glibc/ded': Plik istnieje mkdir: nie można utworzyć katalogu `debugi386-glibc/ref_soft': Plik istnieje mkdir: nie można utworzyć katalogu `debugi386-glibc/ref_gl': Plik istnieje mkdir: nie można utworzyć katalogu `debugi386-glibc/game': Plik istnieje mkdir: nie można utworzyć katalogu `debugi386-glibc/ctf': Plik istnieje make: [build_debug] Błąd 1 (zignorowany) make targets BUILDDIR=debugi386-glibc CFLAGS="-Dstricmp=strcasecmp -g" make[1]: Wejście do katalogu `/home/h/gostek/ffsciagane/quake2-3.21/linux' gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_cin.o -c ../client/cl_cin.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_ents.o -c ../client/cl_ents.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_fx.o -c ../client/cl_fx.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_input.o -c ../client/cl_input.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_inv.o -c ../client/cl_inv.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_main.o -c ../client/cl_main.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_newfx.o -c ../client/cl_newfx.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_parse.o -c ../client/cl_parse.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_pred.o -c ../client/cl_pred.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_tent.o -c ../client/cl_tent.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_scrn.o -c ../client/cl_scrn.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cl_view.o -c ../client/cl_view.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/console.o -c ../client/console.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/keys.o -c ../client/keys.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/menu.o -c ../client/menu.c ../client/menu.c: In function ‘M_Menu_Credits_f’: ../client/menu.c:1822: warning: passing argument 2 of ‘FS_LoadFile’ from incompatible pointer type ../client/../qcommon/qcommon.h:705: note: expected ‘void **’ but argument is of type ‘char **’ ../client/menu.c:1846: warning: assignment from incompatible pointer type ../client/menu.c: In function ‘StartServer_MenuInit’: ../client/menu.c:2606: warning: assignment from incompatible pointer type ../client/menu.c: In function ‘ModelCallback’: ../client/menu.c:3398: warning: assignment from incompatible pointer type ../client/menu.c: In function ‘PlayerConfig_MenuInit’: ../client/menu.c:3687: warning: assignment from incompatible pointer type ../client/menu.c:3701: warning: assignment from incompatible pointer type gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/snd_dma.o -c ../client/snd_dma.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/snd_mem.o -c ../client/snd_mem.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/snd_mix.o -c ../client/snd_mix.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/qmenu.o -c ../client/qmenu.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/m_flash.o -c ../game/m_flash.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cmd.o -c ../qcommon/cmd.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cmodel.o -c ../qcommon/cmodel.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/common.o -c ../qcommon/common.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/crc.o -c ../qcommon/crc.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cvar.o -c ../qcommon/cvar.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/files.o -c ../qcommon/files.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/md4.o -c ../qcommon/md4.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/net_chan.o -c ../qcommon/net_chan.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/sv_ccmds.o -c ../server/sv_ccmds.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/sv_ents.o -c ../server/sv_ents.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/sv_game.o -c ../server/sv_game.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/sv_init.o -c ../server/sv_init.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/sv_main.o -c ../server/sv_main.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/sv_send.o -c ../server/sv_send.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/sv_user.o -c ../server/sv_user.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/sv_world.o -c ../server/sv_world.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/cd_linux.o -c ../linux/cd_linux.c gcc -Dstricmp=strcasecmp -g -O -o debugi386-glibc/client/q_shlinux.o -c ../linux/q_shlinux.c ../linux/q_shlinux.c: In function ‘Hunk_End’: ../linux/q_shlinux.c:71: warning: assignment makes pointer from integer without a cast gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/vid_menu.o -c ../linux/vid_menu.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/vid_so.o -c ../linux/vid_so.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/snd_linux.o -c ../linux/snd_linux.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/sys_linux.o -c ../linux/sys_linux.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/glob.o -c ../linux/glob.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/net_udp.o -c ../linux/net_udp.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/q_shared.o -c ../game/q_shared.c gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/client/pmove.o -c ../qcommon/pmove.c gcc -Dstricmp=strcasecmp -g -DELF -x assembler-with-cpp -o debugi386-glibc/client/snd_mixa.o -c ../linux/snd_mixa.s gcc -Dstricmp=strcasecmp -g -o debugi386-glibc/quake2 debugi386-glibc/client/cl_cin.o debugi386-glibc/client/cl_ents.o debugi386-glibc/client/cl_fx.o debugi386-glibc/client/cl_input.o debugi386-glibc/client/cl_inv.o debugi386-glibc/client/cl_main.o debugi386-glibc/client/cl_newfx.o debugi386-glibc/client/cl_parse.o debugi386-glibc/client/cl_pred.o debugi386-glibc/client/cl_tent.o debugi386-glibc/client/cl_scrn.o debugi386-glibc/client/cl_view.o debugi386-glibc/client/console.o debugi386-glibc/client/keys.o debugi386-glibc/client/menu.o debugi386-glibc/client/snd_dma.o debugi386-glibc/client/snd_mem.o debugi386-glibc/client/snd_mix.o debugi386-glibc/client/qmenu.o debugi386-glibc/client/m_flash.o debugi386-glibc/client/cmd.o debugi386-glibc/client/cmodel.o debugi386-glibc/client/common.o debugi386-glibc/client/crc.o debugi386-glibc/client/cvar.o debugi386-glibc/client/files.o debugi386-glibc/client/md4.o debugi386-glibc/client/net_chan.o debugi386-glibc/client/sv_ccmds.o debugi386-glibc/client/sv_ents.o debugi386-glibc/client/sv_game.o debugi386-glibc/client/sv_init.o debugi386-glibc/client/sv_main.o debugi386-glibc/client/sv_send.o debugi386-glibc/client/sv_user.o debugi386-glibc/client/sv_world.o debugi386-glibc/client/cd_linux.o debugi386-glibc/client/q_shlinux.o debugi386-glibc/client/vid_menu.o debugi386-glibc/client/vid_so.o debugi386-glibc/client/snd_linux.o debugi386-glibc/client/sys_linux.o debugi386-glibc/client/glob.o debugi386-glibc/client/net_udp.o debugi386-glibc/client/q_shared.o debugi386-glibc/client/pmove.o debugi386-glibc/client/snd_mixa.o -ldl -lm gcc -Dstricmp=strcasecmp -g -fPIC -o debugi386-glibc/game/q_shared.o -c ../game/q_shared.c gcc -Dstricmp=strcasecmp -g -fPIC -o debugi386-glibc/game/g_ai.o -c ../game/g_ai.c gcc -Dstricmp=strcasecmp -g -fPIC -o debugi386-glibc/game/p_client.o -c ../game/p_client.c gcc -Dstricmp=strcasecmp -g -fPIC -o debugi386-glibc/game/g_cmds.o -c ../game/g_cmds.c gcc -Dstricmp=strcasecmp -g -fPIC -o debugi386-glibc/game/g_svcmds.o -c ../game/g_svcmds.c gcc -Dstricmp=strcasecmp -g -fPIC -o debugi386-glibc/game/g_chase.o -c ../game/g_chase.c gcc -Dstricmp=strcasecmp -g -fPIC -o debugi386-glibc/game/g_combat.o -c ../game/g_combat.c gcc -Dstricmp=strcasecmp -g -fPIC -o debugi386-glibc/game/g_func.o -c ../game/g_func.c gcc -Dstricmp=strcasecmp -g -fPIC -o debugi386-glibc/game/g_items.o -c ../game/g_items.c ../game/g_items.c:43: error: static declaration of ‘jacket_armor_index’ follows non-static declaration ../game/g_local.h:461: note: previous declaration of ‘jacket_armor_index’ was here ../game/g_items.c:44: error: static declaration of ‘combat_armor_index’ follows non-static declaration ../game/g_local.h:462: note: previous declaration of ‘combat_armor_index’ was here ../game/g_items.c:45: error: static declaration of ‘body_armor_index’ follows non-static declaration ../game/g_local.h:463: note: previous declaration of ‘body_armor_index’ was here make[1]: *** [debugi386-glibc/game/g_items.o] Błąd 1 make[1]: Opuszczenie katalogu `/home/h/gostek/ffsciagane/quake2-3.21/linux' make: *** [build_debug] Błąd 2
Ktos kto sie zna, prosze o odpowiedz, co jest nie tak i jak to naprawic?
A moze najpierw, bo nie znalazlem tego w necie, co potrzebuje (jakich dev'ow) do kompilacji? Bo mysle ze wiekszosc mam.
Dodam, ze zainstalowalem z debow i quake chodzi ale chce skompilowac bo fajnie by bylo pograc w trybie tekstowym...
Offline
Time (s) | Query |
---|---|
0.00008 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00073 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.145.56.150' WHERE u.id=1 |
0.00094 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.145.56.150', 1732225981) |
0.00040 | SELECT * FROM punbb_online WHERE logged<1732225681 |
0.00047 | SELECT topic_id FROM punbb_posts WHERE id=162337 |
0.00067 | SELECT id FROM punbb_posts WHERE topic_id=18070 ORDER BY posted |
0.00064 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=18070 AND t.moved_to IS NULL |
0.00010 | SELECT search_for, replace_with FROM punbb_censoring |
0.00274 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=18070 ORDER BY p.id LIMIT 0,25 |
0.00086 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=18070 |
Total query time: 0.00767 s |