Nowe posty

xx Problem ze sterownikami. (5)
2024-04-13, 21:25:16
xx Instalacja xfce4 (2)
2024-04-13, 16:20:17
xx Serie kompilacji bez instalacji dla “emerge” w Gentoo (2)
2024-04-08, 18:40:04
xx Plasma 6 w Neonie ssie trochę mniej ... (17)
2024-04-05, 10:03:46
xx Problem z Linux Lite po instalacji (3)
2024-04-03, 14:23:40
xx Jak właczyć num locka przy starcie systemu debian 12? (12)
2024-04-02, 17:43:54
xx Brak dźwieku w systemie. (5)
2024-04-02, 16:13:41
xx Dystrybucja pod HP Omen (7)
2024-03-29, 11:33:05
xx [Poradnik] Wyszukiwanie Sterowników (2)
2024-03-27, 21:08:23
xx Ile pingwinów? (1)
2024-03-27, 08:59:24

Autor Wątek: doom 2-pod linuksem  (Przeczytany 1809 razy)

gbudny

  • Gość
doom 2-pod linuksem
« dnia: 2005-08-15, 17:46:59 »
Witam

Mam grę doom 2 i chciałem ją zainstalować. W tym celu ściągnąłem prboom (port dla doom i doom2) i przystąp→łem do kompilacji .Niestety pojawił się problem:mat@debian:~$ cd /home/mat/prboom-2.3.1
mat@debian:~/prboom-2.3.1$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether to use x86 asm versions of some functions... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether compiler supports -Wall... yes
checking whether compiler supports -Winline... yes
checking whether compiler supports -Wwrite-strings... yes
checking whether compiler supports -ffast-math... yes
checking whether compiler supports -O2... yes
checking whether compiler supports -fomit-frame-pointer... yes
checking whether compiler supports -mcpu=i686... yes
checking whether compiler supports -march=i686... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for uid_t in sys/types.h... yes
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 size_t... yes
checking whether sys_siglist is declared... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unistd.h... (cached) yes
checking asm/byteorder.h usability... yes
checking asm/byteorder.h presence... yes
checking for asm/byteorder.h... yes
checking for stricmp... no
checking for strnicmp... no
checking for getopt... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for mmap... yes
checking for vasprintf... yes
checking for usleep... yes
checking for strlwr... no
checking for pow in -lm... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.1.3... yes
checking for Mix_LoadMUS in -lSDL_mixer... yes
checking for SDLNet_UDP_Bind in -lSDL_net... yes
checking whether compiler supports ULL number suffix... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/inl/Makefile
config.status: creating src/POSIX/Makefile
config.status: creating src/SDL/Makefile
config.status: creating src/vidd/Makefile
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating ICONS/Makefile
config.status: creating ViddSys/Makefile
config.status: creating ViddSys/bzlib/Makefile
config.status: creating ViddSys/XML/Makefile
config.status: creating ViddSys/zlib/Makefile
config.status: creating VISUALC5/Makefile
config.status: creating VISUALC6/Makefile
config.status: creating VISUALCNET/Makefile
config.status: creating prboom.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
mat@debian:~/prboom-2.3.1$ make
make  all-recursive
make[1]: Entering directory `/home/mat/prboom-2.3.1'
Making all in doc
make[2]: Entering directory `/home/mat/prboom-2.3.1/doc'
make[2]: Nie nic do roboty w `all'.
make[2]: Leaving directory `/home/mat/prboom-2.3.1/doc'
Making all in data
make[2]: Entering directory `/home/mat/prboom-2.3.1/data'
make[2]: Nie nic do roboty w `all'.
make[2]: Leaving directory `/home/mat/prboom-2.3.1/data'
Making all in src
make[2]: Entering directory `/home/mat/prboom-2.3.1/src'
Making all in SDL
make[3]: Entering directory `/home/mat/prboom-2.3.1/src/SDL'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -Wall -Winline -Wwrite-strings -ffast-math -O2 -fomit-frame-pointer -mcpu=i686 -march=i686 -I../../src -I/usr/include/SDL -D_REENTRANT -MT i_system.o -MD -MP -MF ".deps/i_system.Tpo" -c -o i_system.o i_system.c;
then mv -f ".deps/i_system.Tpo" ".deps/i_system.Po"; else rm -f ".deps/i_system.Tpo"; exit 1; fi
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
i_system.c: In function 'I_Read':
i_system.c:136: error: invalid lvalue in assignment
make[3]: *** [i_system.o] Błąd 1
make[3]: Leaving directory `/home/mat/prboom-2.3.1/src/SDL'
make[2]: *** [all-recursive] Błąd 1
make[2]: Leaving directory `/home/mat/prboom-2.3.1/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/mat/prboom-2.3.1'
make: *** [all] Błąd 2
mat@debian:~/prboom-2.3.1$

Kompilowałem już wcześniej wiele gier ale w tym wypadku nie potrafię zrozumieć co jest nie tak. Bardzo proszę o pomoc


                                                    Pozdrawiam

qhasz

  • Gość
doom 2-pod linuksem
« Odpowiedź #1 dnia: 2005-08-16, 23:26:37 »
Cześć
Niestety z problemem z kompilacją Ci nie pomogę lecz spójrz na stronkę http://www.doomsdayhq.com/. Po zainstalowaniu tego silniczka twój Doom dostanie skrzydeł. Na stronce są źródła i mnóstwo screenów. Naprawdę warto.
Pozdr.