Hello.
I apply your patch:
[...]
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_scale.o rt_scale.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_sound.o rt_sound.c
rt_sound.c: In function 'SD_PlayIt':
rt_sound.c:398: warning: pointer targets in passing argument 1 of
'FX_PlayVOC3D_ROTT' differ in signednessrt_sound.c:404: warning:
pointer targets in passing argument 1 of 'FX_PlayWAV3D_ROTT' differ in
signednessgcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
-DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32
-DUSE_EXECINFO=1 -DDATADIR=\"/usr/share/games/rott/\"   -c -o
rt_spbal.o rt_spbal.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_sqrt.o rt_sqrt.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_stat.o rt_stat.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_state.o rt_state.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_str.o rt_str.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_swift.o rt_swift.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_ted.o rt_ted.c
rt_ted.c: In function 'CheckRTLVersion':
rt_ted.c:1350: warning: pointer targets in passing argument 1 of
'SwapIntelLong' differ in signedness
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_util.o rt_util.c
rt_util.c: In function 'Error':
rt_util.c:396: warning: pointer targets in passing argument 1 of
'UL_printf' differ in signedness
rt_util.c: In function 'SetPalette':
rt_util.c:1320: warning: pointer targets in passing argument 1 of
'VL_SetPalette' differ in signedness
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_view.o rt_view.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_vid.o rt_vid.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o rt_err.o rt_err.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o scriplib.o scriplib.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o w_wad.o w_wad.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o watcom.o watcom.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o z_zone.o z_zone.c
gcc -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL=1
-DPLATFORM_UNIX=1 -W -Wall -Wno-unused -m32 -DUSE_EXECINFO=1
-DDATADIR=\"/usr/share/games/rott/\"   -c -o byteordr.o byteordr.c
gcc cin_actr.o cin_efct.o cin_evnt.o cin_glob.o cin_main.o cin_util.o
dosutil.o engine.o fx_man.o isr.o modexlib.o rt_actor.o rt_battl.o
rt_build.o rt_cfg.o rt_crc.o rt_com.o rt_debug.o rt_dmand.o rt_door.o
rt_draw.o rt_floor.o rt_game.o rt_in.o rt_main.o rt_map.o rt_menu.o
rt_msg.o rt_net.o rt_playr.o rt_rand.o rt_scale.o rt_sound.o
rt_spbal.o rt_sqrt.o rt_stat.o rt_state.o rt_str.o rt_swift.o rt_ted.o
rt_util.o rt_view.o rt_vid.o rt_err.o scriplib.o w_wad.o watcom.o
z_zone.o byteordr.o -L/usr/lib -lSDL -lSDL -lSDL_mixer -m32 -Wl,-E -o
rott
/usr/bin/ld: skipping incompatible /usr/lib/libSDL.so when searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/lib/libSDL.a when searching for -lSDL
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../libSDL.so when searching
for -lSDL
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../libSDL.a when searching
for -lSDL
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libSDL.so when
searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libSDL.a when
searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/lib/libSDL.so when searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/lib/libSDL.a when searching for -lSDL
/usr/bin/ld: cannot find -lSDL
collect2: ld returned 1 exit status
make[1]: *** [rott] Ошибка 1
make[1]: Leaving directory `/home/yuray/rott/rott-1.0/rott'
make: *** [build-stamp] Ошибка 2
[EMAIL PROTECTED]:~/rott/rott-1.0$

[EMAIL PROTECTED]:~/rott/rott-1.0$ uname -a
Linux keeper 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST 2007
x86_64 GNU/Linux
[EMAIL PROTECTED]:~/rott/rott-1.0$

--
Regards,
Yuri Kozlov

Reply via email to