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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2011-01-10 04:54:42

  iwantu2brich - Użytkownik

iwantu2brich
Użytkownik
Zarejestrowany: 2011-01-10

Quake2 source instalacja

Chce skompilowac sobie kuaka drugiego, bo to co tu pisza:

http://www.jfedor.org/aaquake2/

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:

Kod:

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

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)