Trying to compile GZDoom with Linux

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

User avatar
HeX_Vulture
Posts: 21
Joined: Sun May 06, 2007 3:59
Location: TeXas

Post by HeX_Vulture »

I think I found the problem! Even though I was in /home/vulture/gzdoom/ trying to compile, everytime I did "make -f Makefile.linux" it would go to a broken, discarded source I had in /.trash for some reason...

:/

Anyway its compiling now and seems to be getting very far...
Sorry heh.

EDIT: Nope.

[spoiler]g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/strife_sbar.o -c src/g_strife/strife_sbar.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/fmopl.o -c src/oplsynth/fmopl.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/mlkernel.o -c src/oplsynth/mlkernel.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/mlopl.o -c src/oplsynth/mlopl.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/mlopl_io.o -c src/oplsynth/mlopl_io.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/opl_mus_player.o -c src/oplsynth/opl_mus_player.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/altsound.o -c src/sound/altsound.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/altsoundmixer.o -c src/sound/altsoundmixer.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/fmodsound.o -c src/sound/fmodsound.cpp
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::UpdateListener(AActor*)’:
src/sound/fmodsound.cpp:940: warning: dereferencing type-punned pointer will break strict-aliasing rules
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_music.o -c src/sound/i_music.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_sound.o -c src/sound/i_sound.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_cd.o -c src/sound/music_cd.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_flac.o -c src/sound/music_flac.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_midi_midiout.o -c src/sound/music_midi_midiout.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_midi_stream.o -c src/sound/music_midi_stream.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_midi_timidity.o -c src/sound/music_midi_timidity.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_mod.o -c src/sound/music_mod.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_mus_midiout.o -c src/sound/music_mus_midiout.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_mus_opl.o -c src/sound/music_mus_opl.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_spc.o -c src/sound/music_spc.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_stream.o -c src/sound/music_stream.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/sample_flac.o -c src/sound/sample_flac.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_cmd.o -c src/fragglescript/t_cmd.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_fspic.o -c src/fragglescript/t_fspic.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_func.o -c src/fragglescript/t_func.cpp
In file included from src/gl/gl_data.h:7,
from src/fragglescript/t_func.cpp:61:
src/gl/gl_basic.h:102:7: warning: no newline at end of file
In file included from src/fragglescript/t_func.cpp:61:
src/gl/gl_data.h:14:7: warning: no newline at end of file
src/fragglescript/t_func.cpp: In function ‘const PClass* T_GetMobjType(svalue_t)’:
src/fragglescript/t_func.cpp:265: warning: comparison between signed and unsigned integer expressions
src/fragglescript/t_func.cpp: In function ‘void SF_MapThingNumExist()’:
src/fragglescript/t_func.cpp:3460: warning: comparison between signed and unsigned integer expressions
src/fragglescript/t_func.cpp: In function ‘void SF_ObjType()’:
src/fragglescript/t_func.cpp:3693: warning: comparison between signed and unsigned integer expressions
src/fragglescript/t_func.cpp: In function ‘void SF_ThingCount()’:
src/fragglescript/t_func.cpp:4059: warning: suggest parentheses around assignment used as truth value
src/fragglescript/t_func.cpp:4073: warning: suggest parentheses around assignment used as truth value
src/fragglescript/t_func.cpp: In function ‘void SF_KillInSector()’:
src/fragglescript/t_func.cpp:4199: warning: suggest parentheses around assignment used as truth value
src/fragglescript/t_func.cpp: In function ‘void init_functions()’:
src/fragglescript/t_func.cpp:4332: warning: comparison between signed and unsigned integer expressions
src/fragglescript/t_func.cpp: In function ‘void SF_SetLineTrigger()’:
src/fragglescript/t_func.cpp:4258: warning: ‘tag’ may be used uninitialized in this function
src/fragglescript/t_func.cpp: In function ‘void SF_ObjState()’:
src/fragglescript/t_func.cpp:3495: warning: ‘mo’ may be used uninitialized in this function
src/fragglescript/t_func.cpp:3494: warning: ‘state’ may be used uninitialized in this function
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_load.o -c src/fragglescript/t_load.cpp
src/fragglescript/t_load.cpp:338:2: warning: no newline at end of file
src/fragglescript/t_load.cpp:50: warning: non-local variable &#8216;<anonymous enum> readtype&#8217; uses anonymous type
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_oper.o -c src/fragglescript/t_oper.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_parse.o -c src/fragglescript/t_parse.cpp
src/fragglescript/t_parse.cpp:822:7: warning: no newline at end of file
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_prepro.o -c src/fragglescript/t_prepro.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_saveg.o -c src/fragglescript/t_saveg.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_script.o -c src/fragglescript/t_script.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_spec.o -c src/fragglescript/t_spec.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_vari.o -c src/fragglescript/t_vari.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/glstubs.o -c src/sdl/glstubs.cpp
In file included from src/gl/gltexture.h:8,
from src/sdl/../gl/gl_texture.h:5,
from src/sdl/glstubs.cpp:3:
src/gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/../gl/gl_texture.h:5,
from src/sdl/glstubs.cpp:3:
src/gl/gltexture.h:84:7: warning: no newline at end of file
In file included from src/sdl/glstubs.cpp:3:
src/sdl/../gl/gl_texture.h:233:7: warning: no newline at end of file
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/hardware.o -c src/sdl/hardware.cpp
In file included from src/gl/gltexture.h:8,
from src/gl/gl_texture.h:5,
from src/sdl/hardware.cpp:54:
src/gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/gl/gl_texture.h:5,
from src/sdl/hardware.cpp:54:
src/gl/gltexture.h:84:7: warning: no newline at end of file
In file included from src/sdl/hardware.cpp:54:
src/gl/gl_texture.h:233:7: warning: no newline at end of file
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_cd.o -c src/sdl/i_cd.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_input.o -c src/sdl/i_input.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_main.o -c src/sdl/i_main.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_movie.o -c src/sdl/i_movie.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_system.o -c src/sdl/i_system.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/sdlglvideo.o -c src/sdl/sdlglvideo.cpp
In file included from src/sdl/sdlglvideo.cpp:16:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/../gl/gl_struct.h:7,
from src/sdl/sdlglvideo.cpp:21:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/sdlglvideo.cpp:21:
src/sdl/../gl/gl_struct.h:149:7: warning: no newline at end of file
In file included from src/sdl/sdlglvideo.cpp:22:
src/gl/gl_basic.h:102:7: warning: no newline at end of file
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/sdlvideo.o -c src/sdl/sdlvideo.cpp
In file included from src/sdl/sdlvideo.cpp:14:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/../gl/gl_struct.h:7,
from src/sdl/sdlvideo.cpp:19:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/sdlvideo.cpp:19:
src/sdl/../gl/gl_struct.h:149:7: warning: no newline at end of file
In file included from src/sdl/sdlvideo.cpp:20:
src/gl/gl_basic.h:102:7: warning: no newline at end of file
src/sdl/sdlvideo.cpp: In destructor &#8216;virtual SDLFB::~SDLFB()&#8217;:
src/sdl/sdlvideo.cpp:352: error: &#8216;struct RenderContext&#8217; has no member named &#8216;Shutdown&#8217;
make[1]: *** [releaseobj/sdlvideo.o] Error 1
make[1]: Leaving directory `/home/vulture/gzdoom'
make: *** [deps] Error 2[/spoiler]

And I made sure every file was replaced in the original source from the update you recently gave. I replaced them from copy/pasting every file and copy/pasting every file manually.




@Costja: Skulltag is benefiting from this renderer and it has already been implemented in the newest Skulltag build. If you want you can become a Skulltag build tester on the Skulltag forums and try it out for yourself.
http://www.skulltag.com/forum/
http://www.skulltag.com/forum/viewtopic.php?f=1&t=9104
Costja
Posts: 59
Joined: Thu Sep 08, 2005 20:02
Contact:

Post by Costja »

That's strange... there is no /sdl/sdlvideo.cpp in last archive. And lines near line 352 in the original source (redownloaded it right now) is

Code: Select all

	else if (--LockCount <= 0)

	{

		Buffer = NULL;
Are sure that your original GZDoom source is still original?
User avatar
HeX_Vulture
Posts: 21
Joined: Sun May 06, 2007 3:59
Location: TeXas

Post by HeX_Vulture »

I'm positive. It compiles fine until I extract your patch into my /gzdoom folder.

Do I need the original broken patch and the new patch to compile or what?
Sparrowmelody
Posts: 3
Joined: Thu Sep 13, 2007 16:48

Post by Sparrowmelody »

Costja:
I am not specially sure...as you could possibly see, the bug *seems* related to the skybox drawing, as if it was drawn in the wrong order. I enabled a certain option related to sprite edges (I am sorry I can't check, I am not at home at the moment...) and at least sprites appear...
For example, if you check the first map the bug only starts when fighting the two Archvilles (I am not sure if it was two or just one, it's easy to get lost when you can't see, hehehe), and what seems to appear is the skybox only. If you start the fourth episode you can see the lava "sea" expanding to the infinity until you face the building or enter it. Only when the sky is on-screen, even if just a bit of it, the error appears.
Just as a test I tried to see that code that was commented because of skybox issues (I only have the original release at the moment, I don't know if this was corrected later), uncommenting it, but it didn't seem to do anything to this issue. (Hey, at times stupid tests like that can produce results...)
I am sorry I can't be of much more help.

I'd like to encourage all the testers here to try the map and see if the bug appears as well, maybe someone will give a different approach to this. Oh, and other maps with custom skyboxes too, as they may also suffer from this bug.
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

I (and probably many other linux users out there) can't thank you enough for the linux build :)

there are an awfull lot of backup files in the archive(s) though
you can easily remove them with a tiny script
for ex

Code: Select all

#!/bin/sh
#
# A script to remove all backup files in this directory and children
# (files with a ~ at the end)
# it displays the files it removes

for i in `find | grep ~$`
do
 echo "removing $i"
 rm "$i"
done
EDIT : i get the same error though
the sdlvideo.cpp error at line 352
( gl.Shutdown(); , referencing to RenderContext gl;)

Code: Select all

make[1]: Entering directory `/GuntherDW/doom2/src/GZDoom'
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/sdlvideo.o -c src/sdl/sdlvideo.cpp
In file included from src/sdl/sdlvideo.cpp:14:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/../gl/gl_struct.h:7,
                 from src/sdl/sdlvideo.cpp:19:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/sdlvideo.cpp:19:
src/sdl/../gl/gl_struct.h:149:7: warning: no newline at end of file
In file included from src/sdl/sdlvideo.cpp:20:
src/gl/gl_basic.h:102:7: warning: no newline at end of file
src/sdl/sdlvideo.cpp: In destructor &#8216;virtual SDLFB::~SDLFB()&#8217;:
src/sdl/sdlvideo.cpp:352: error: &#8216;struct RenderContext&#8217; has no member named &#8216;Shutdown&#8217;
make[1]: *** [releaseobj/sdlvideo.o] Error 1
make[1]: Leaving directory `/GuntherDW/doom2/src/GZDoom'
make: *** [deps] Error 2
Last edited by GuntherDW on Sun Sep 16, 2007 20:37, edited 1 time in total.
Costja
Posts: 59
Joined: Thu Sep 08, 2005 20:02
Contact:

Post by Costja »

User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

next time you could hand out a patch file using "diff -u" to generate the .patch file
much easier to use :)
Costja
Posts: 59
Joined: Thu Sep 08, 2005 20:02
Contact:

Post by Costja »

GuntherDW, OK, thank you
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

using your new archive everything seems to work just fine except just a *few* rendering errors

also, as usual on every zdoom based port i get some errors with custom sounds or even when just entering a specific sector (which don't happen when i use -nosound)
i tried recompiling FLAC, fmod, but that didn't help :(

zdoom-crash =
[spoiler]

Code: Select all

*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x37fd

System: Linux lisa 2.6.22.6 #2 Fri Sep 14 19:47:58 CEST 2007 i686 AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
GCC version: 4.1.2

ZDoom version 1.0.24 - 2.1.7xx (r530) (Sep 16 2007)

Command line: ./gzdoom -iwad /home/guntherdw/wads/DOOM2.WAD

Wad 0: gzdoom.pk3
Wad 1: DOOM2.WAD

Current map: MAP01

viewx = 49747903
viewy = 105153965
viewz = 6356992
viewangle = 4486628

Executing: gdb --quiet --batch --command=gdb-respfile-uH2yoD --pid=30895
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Program received signal SIGSEGV, Segmentation fault.
0xb7ecc327 in ?? () from /usr/lib/libFLAC.so.8

* Loaded Libraries
From        To          Syms Read   Shared Object Library
0xb7ee9ce0  0xb7eefdc4  Yes         /usr/lib/libFLAC++.so.6
0xb7eaee00  0xb7ed8014  Yes         /usr/lib/libFLAC.so.8
0xb7e97470  0xb7ea2954  Yes         /lib/libz.so.1
0xb7e16ae0  0xb7e56c49  Yes         /usr/lib/libfmod.so
0xb7d4e010  0xb7da7f74  Yes         /usr/lib/libSDL-1.2.so.0
0xb7d35270  0xb7d40134  Yes         /lib/libpthread.so.0
0xb7d13450  0xb7d2c834  Yes         /usr/lib/libjpeg.so.62
0xb7a19440  0xb7c52484  Yes         /usr/lib/libgtk-x11-2.0.so.0
0xb795cb60  0xb79a7a94  Yes         /usr/lib/libgdk-x11-2.0.so.0
0xb7935740  0xb7941e14  Yes         /usr/lib/libatk-1.0.so.0
0xb791b4e0  0xb7929914  Yes         /usr/lib/libgdk_pixbuf-2.0.so.0
0xb7910dd0  0xb7914a94  Yes         /usr/lib/libpangocairo-1.0.so.0
0xb78da3f0  0xb78f8514  Yes         /usr/lib/libpango-1.0.so.0
0xb78590e0  0xb78c4384  Yes         /usr/lib/libcairo.so.2
0xb781da90  0xb7848334  Yes         /usr/lib/libgobject-2.0.so.0
0xb7813cc0  0xb7814d44  Yes         /usr/lib/libgmodule-2.0.so.0
0xb780fa70  0xb7810954  Yes         /lib/libdl.so.2
0xb7787da0  0xb77d2f84  Yes         /usr/lib/libglib-2.0.so.0
0xb7712570  0xb774cee1  Yes         //usr//lib/opengl/nvidia/lib/libGL.so.1
0xb7673cb0  0xb76cf1f4  Yes         /usr/lib/libGLU.so.1
0xb75b9890  0xb7632354  Yes         /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
0xb755a470  0xb75747e4  Yes         /lib/libm.so.6
0xb754d6c0  0xb7554204  Yes         /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
0xb7430dd0  0xb7516660  Yes         /lib/libc.so.6
0xb7417250  0xb7419494  Yes         /usr/lib/libogg.so.0
0xb73c1f20  0xb740c224  Yes         /usr/lib/libdirectfb-1.0.so.0
0xb73b10d0  0xb73b4a64  Yes         /usr/lib/libfusion-1.0.so.0
0xb73a0de0  0xb73ab334  Yes         /usr/lib/libdirect-1.0.so.0
0xb7328210  0xb7378254  Yes         /usr/lib/libvga.so.1
0xb7f23880  0xb7f388ef  Yes         /lib/ld-linux.so.2
0xb724a560  0xb72d4924  Yes         /usr/lib/libX11.so.6
0xb722ffa0  0xb72323b4  Yes         /usr/lib/libXfixes.so.3
0xb72091b0  0xb7221404  Yes         /usr/lib/libfontconfig.so.1
0xb71f8680  0xb7202714  Yes         /usr/lib/libXext.so.6
0xb71ec500  0xb71f20e4  Yes         /usr/lib/libXrender.so.1
0xb71e88d0  0xb71e9364  Yes         /usr/lib/libXinerama.so.1
0xb71e0340  0xb71e5794  Yes         /usr/lib/libXi.so.6
0xb71d82f0  0xb71dc004  Yes         /usr/lib/libXrandr.so.2
0xb71cf160  0xb71d4564  Yes         /usr/lib/libXcursor.so.1
0xb71a2d50  0xb71c6bc4  Yes         /usr/lib/libpangoft2-1.0.so.0
0xb7125cc0  0xb7187004  Yes         /usr/lib/libfreetype.so.6
0xb711ab10  0xb711d514  Yes         /usr/lib/libglitz-glx.so.1
0xb70f6750  0xb7114184  Yes         /usr/lib/libpng12.so.0
0xb684c780  0xb6f90d2c  Yes         //usr//lib/opengl/nvidia/lib/libGLcore.so.1
0xb6758450  0xb67584a8  Yes         //usr//lib/opengl/nvidia/lib/libnvidia-tls.so.1
0xb6755520  0xb6755774  Yes         /usr/lib/libxcb-xlib.so.0
0xb6742f20  0xb6751734  Yes         /usr/lib/libxcb.so.1
0xb6636920  0xb6715064  Yes         /usr/lib/libxml2.so.2
0xb6616a20  0xb6617694  Yes         /usr/lib/libXau.so.6
0xb65ef450  0xb66126a4  Yes         /usr/lib/libglitz.so.1
0xb65e8f10  0xb65eaab4  Yes         /usr/lib/libXdmcp.so.6
0xb6437e80  0xb643c914  Yes         /lib/libnss_compat.so.2
0xb6423180  0xb642faf4  Yes         /lib/libnsl.so.1
0xb6417960  0xb641d404  Yes         /lib/libnss_nis.so.2
0xb640d920  0xb64136f4  Yes         /lib/libnss_files.so.2
0xb6448370  0xb6448db4  Yes         /usr/lib/gconv/ISO8859-1.so

* Threads

* FPU Status
  R7: Empty   0x00000000000000000000
  R6: Empty   0x00000000000000000000
  R5: Empty   0x3fffc000000000000000
  R4: Empty   0x4004d599ede4034ae821
  R3: Empty   0xc0008000000000000000
  R2: Empty   0x3ff5cccccd0000000000
  R1: Empty   0xc0098000000000000000
=>R0: Empty   0x80000000000000000000

Status Word:         0x4033   IE DE       UE PE                      C3
                       TOP: 0
Control Word:        0x037f   IM DM ZM OM UM PM
                       PC: Extended Precision (64-bits)
                       RC: Round to nearest
Tag Word:            0xffff
Instruction Pointer: 0x00:0x00000000
Operand Pointer:     0x00:0x00000000
Opcode:              0x0000

* Registers
eax            0x37fd	14333
ecx            0xb7eee150	-1209081520
edx            0xb7eee120	-1209081568
ebx            0xb7ef4ff4	-1209053196
esp            0xbf997980	0xbf997980
ebp            0x2000	0x2000
esi            0xbf997a98	-1080460648
edi            0x84cc910	139249936
eip            0xb7ecc327	0xb7ecc327 <_fini+170451>
eflags         0x210282	[ SF IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51

* Bytes near %eip:
0xb7ecc324 <_fini+170448>:	0x8b582444
0xb7ecc327 <_fini+170451>:	0x99e8008b

* Backtrace
#0  0xb7ecc327 in ?? () from /usr/lib/libFLAC.so.8
No symbol table info available.
#1  0xb7ef6298 in ?? ()
No symbol table info available.
#2  0xb6615ac0 in ?? ()
No symbol table info available.
#3  0xffffffff in ?? ()
No symbol table info available.
#4  0xb7f3dfc4 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#5  0xb7ef6000 in ?? ()
No symbol table info available.
#6  0x00000001 in ?? ()
No symbol table info available.
#7  0xbf9979d0 in ?? ()
No symbol table info available.
#8  0xb7f306e9 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
[/spoiler]

i know the output isn't that handy, since the binaries are auto-stripped when i compile then, but i'll try it w/o the stripping to see if it helps

edit : 2 screenies in the very beginning of kdizd
it seems to affect doom2 vanilla too in a certain amount
[spoiler]Image[/spoiler]
[spoiler]Image[/spoiler]
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

owkay, now that i used DEBUG=1 & FEATURES="nostrip" (gentoo)
i get a little handier for devs zdoom-crash.log

[spoiler]

Code: Select all

*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0xd8

System: Linux lisa 2.6.22.6 #2 Fri Sep 14 19:47:58 CEST 2007 i686 AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
GCC version: 4.1.2

ZDoom version 1.0.24 - 2.1.7xx (r530) (Sep 16 2007)

Command line: ./gzdoomd -iwad /home/guntherdw/wads/DOOM2.WAD -file /GuntherDW/doom2/kdizd.pk3

Wad 0: gzdoom.pk3
Wad 1: DOOM2.WAD
Wad 2: kdizd.pk3

Current map: TITLEMAP

viewx = 0
viewy = 0
viewz = 0
viewangle = 0

Executing: gdb --quiet --batch --command=gdb-respfile-9kWHcz --pid=18542
Using host libthread_db library "/lib/libthread_db.so.1".
0xffffe410 in __kernel_vsyscall ()

Program received signal SIGSEGV, Segmentation fault.
0xb7f35327 in init_stream_internal_ () from /usr/lib/libFLAC.so.8

* Loaded Libraries
From        To          Syms Read   Shared Object Library
0xb7f52ce0  0xb7f58dc4  Yes         /usr/lib/libFLAC++.so.6
0xb7f17e00  0xb7f41014  Yes         /usr/lib/libFLAC.so.8
0xb7f00470  0xb7f0b954  Yes         /lib/libz.so.1
0xb7e7fae0  0xb7ebfc49  Yes         /usr/lib/libfmod.so
0xb7db7010  0xb7e10f74  Yes         /usr/lib/libSDL-1.2.so.0
0xb7d9e270  0xb7da9134  Yes         /lib/libpthread.so.0
0xb7d7c450  0xb7d95834  Yes         /usr/lib/libjpeg.so.62
0xb7a82440  0xb7cbb484  Yes         /usr/lib/libgtk-x11-2.0.so.0
0xb79c5b60  0xb7a10a94  Yes         /usr/lib/libgdk-x11-2.0.so.0
0xb799e740  0xb79aae14  Yes         /usr/lib/libatk-1.0.so.0
0xb79844e0  0xb7992914  Yes         /usr/lib/libgdk_pixbuf-2.0.so.0
0xb7979dd0  0xb797da94  Yes         /usr/lib/libpangocairo-1.0.so.0
0xb79433f0  0xb7961514  Yes         /usr/lib/libpango-1.0.so.0
0xb78c20e0  0xb792d384  Yes         /usr/lib/libcairo.so.2
0xb7886a90  0xb78b1334  Yes         /usr/lib/libgobject-2.0.so.0
0xb787ccc0  0xb787dd44  Yes         /usr/lib/libgmodule-2.0.so.0
0xb7878a70  0xb7879954  Yes         /lib/libdl.so.2
0xb77f0da0  0xb783bf84  Yes         /usr/lib/libglib-2.0.so.0
0xb777b570  0xb77b5ee1  Yes         //usr//lib/opengl/nvidia/lib/libGL.so.1
0xb76dccb0  0xb77381f4  Yes         /usr/lib/libGLU.so.1
0xb7622890  0xb769b354  Yes         /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
0xb75c3470  0xb75dd7e4  Yes         /lib/libm.so.6
0xb75b66c0  0xb75bd204  Yes         /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
0xb7499dd0  0xb757f660  Yes         /lib/libc.so.6
0xb7480250  0xb7482494  Yes         /usr/lib/libogg.so.0
0xb742af20  0xb7475224  Yes         /usr/lib/libdirectfb-1.0.so.0
0xb741a0d0  0xb741da64  Yes         /usr/lib/libfusion-1.0.so.0
0xb7409de0  0xb7414334  Yes         /usr/lib/libdirect-1.0.so.0
0xb7391210  0xb73e1254  Yes         /usr/lib/libvga.so.1
0xb7f8c880  0xb7fa18ef  Yes         /lib/ld-linux.so.2
0xb72b3560  0xb733d924  Yes         /usr/lib/libX11.so.6
0xb7298fa0  0xb729b3b4  Yes         /usr/lib/libXfixes.so.3
0xb72721b0  0xb728a404  Yes         /usr/lib/libfontconfig.so.1
0xb7261680  0xb726b714  Yes         /usr/lib/libXext.so.6
0xb7255500  0xb725b0e4  Yes         /usr/lib/libXrender.so.1
0xb72518d0  0xb7252364  Yes         /usr/lib/libXinerama.so.1
0xb7249340  0xb724e794  Yes         /usr/lib/libXi.so.6
0xb72412f0  0xb7245004  Yes         /usr/lib/libXrandr.so.2
0xb7238160  0xb723d564  Yes         /usr/lib/libXcursor.so.1
0xb720bd50  0xb722fbc4  Yes         /usr/lib/libpangoft2-1.0.so.0
0xb718ecc0  0xb71f0004  Yes         /usr/lib/libfreetype.so.6
0xb7183b10  0xb7186514  Yes         /usr/lib/libglitz-glx.so.1
0xb715f750  0xb717d184  Yes         /usr/lib/libpng12.so.0
0xb68b5780  0xb6ff9d2c  Yes         //usr//lib/opengl/nvidia/lib/libGLcore.so.1
0xb67c1450  0xb67c14a8  Yes         //usr//lib/opengl/nvidia/lib/libnvidia-tls.so.1
0xb67be520  0xb67be774  Yes         /usr/lib/libxcb-xlib.so.0
0xb67abf20  0xb67ba734  Yes         /usr/lib/libxcb.so.1
0xb669f920  0xb677e064  Yes         /usr/lib/libxml2.so.2
0xb667fa20  0xb6680694  Yes         /usr/lib/libXau.so.6
0xb6658450  0xb667b6a4  Yes         /usr/lib/libglitz.so.1
0xb6651f10  0xb6653ab4  Yes         /usr/lib/libXdmcp.so.6
0xb64a0e80  0xb64a5914  Yes         /lib/libnss_compat.so.2
0xb648c180  0xb6498af4  Yes         /lib/libnsl.so.1
0xb6480960  0xb6486404  Yes         /lib/libnss_nis.so.2
0xb6476920  0xb647c6f4  Yes         /lib/libnss_files.so.2
0xb64b1370  0xb64b1db4  Yes         /usr/lib/gconv/ISO8859-1.so

* Threads

* FPU Status
  R7: Empty   0xbffcaaaaab0000000000
  R6: Empty   0x4016c000000000000000
  R5: Empty   0x00000000000000000000
  R4: Empty   0x4005c600000000000000
  R3: Empty   0x3ffe8000000000000000
  R2: Empty   0x40018000000000000000
  R1: Empty   0x4001c000000000000000
=>R0: Empty   0xffff0000000000000000

Status Word:         0x0023   IE DE          PE                        
                       TOP: 0
Control Word:        0x037f   IM DM ZM OM UM PM
                       PC: Extended Precision (64-bits)
                       RC: Round to nearest
Tag Word:            0xffff
Instruction Pointer: 0x00:0x00000000
Operand Pointer:     0x00:0x00000000
Opcode:              0x0000

* Registers
eax            0xd8	216
ecx            0xb7f57150	-1208651440
edx            0xb7f57120	-1208651488
ebx            0xb7f5dff4	-1208623116
esp            0xbfbb6a20	0xbfbb6a20
ebp            0xbfbb6ae8	0xbfbb6ae8
esi            0x0	0
edi            0xbfbb6e34	-1078235596
eip            0xb7f35327	0xb7f35327 <init_stream_internal_+23>
eflags         0x10282	[ SF IF RF ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51

* Bytes near %eip:
0xb7f35324 <init_stream_internal_+20>:	0x8b582444
0xb7f35327 <init_stream_internal_+23>:	0x99e8008b

* Backtrace
#0  0xb7f35327 in init_stream_internal_ () from /usr/lib/libFLAC.so.8
No symbol table info available.
#1  0xb7f5f298 in ?? ()
No symbol table info available.
#2  0x1ca3a658 in ?? ()
No symbol table info available.
#3  0xffffffff in ?? ()
No symbol table info available.
#4  0xb7fa6fc4 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#5  0xb7f5f000 in ?? ()
No symbol table info available.
#6  0x00000001 in ?? ()
No symbol table info available.
#7  0xb7f996e9 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#8  0xb7f9f000 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#9  0xb7f57642 in FLAC::Decoder::Stream::init () from /usr/lib/libFLAC++.so.6
No symbol table info available.
#10 0x08247692 in FLACSampleLoader (this=0xbfbb6b28, sfx=0x85b5e58) at src/sound/sample_flac.cpp:18
No locals.
#11 0x0823f257 in FMODSoundRenderer::DoLoad (this=0x8598f48, slot=0x85b5e60, sfx=0x85b5e58) at src/sound/fmodsound.cpp:1144
	loader = {<> = {<No data fields>}, NumChannels = 0, SampleBits = 0, SampleRate = 0, NumSamples = 0, File = {<FileReader> = {_vptr.FileReader = 0x82cab48, File = 0x0, Length = 7670, StartPos = 0, 
      FilePos = 0, CloseOnDestruct = false}, SourceData = 0x99955f0 "fLaC", DestroySource = true, Encrypted = false}, StartPos = 0, EndPos = 7670, SBuff = 0x0, SBuff2 = 0x9960000, SLen = 0, SLen2 = 160847072, 
  Sfx = 0x85b5e58, Dest8 = false}
	wlump = {<FileReader> = {_vptr.FileReader = 0x82cab48, File = 0x0, Length = 7670, StartPos = 0, FilePos = 7670, CloseOnDestruct = false}, SourceData = 0x99654e0 "fLaC", DestroySource = true, 
  Encrypted = false}
	len = 570425344
	sfxdata = (BYTE *) 0x9987c68 "fLaC"
	size = 7670
	errcount = 0
	samplemode = 8192
#12 0x0823f82d in FMODSoundRenderer::getsfx (this=0x8598f48, sfx=0x85b5e58) at src/sound/fmodsound.cpp:1226
	i = 535
#13 0x0823f89a in FMODSoundRenderer::LoadSound (this=0x8598f48, sfx=0x85b5e58) at src/sound/fmodsound.cpp:954
No locals.
#14 0x08181a01 in S_CacheSound (sfx=0x85b5e58) at src/s_sound.cpp:534
No locals.
#15 0x08181c3b in S_PrecacheLevel () at src/s_sound.cpp:496
	actor = (class AActor *) 0x0
	iterator = {<FThinkerIterator> = {m_ParentType = 0x83a6aa0, m_CurrThinker = 0x839eae4, m_Stat = 32 ' ', m_SearchStats = true, m_SearchingFresh = false}, <No data fields>}
	i = 216
#16 0x0812f83c in P_SetupLevel (lumpname=0x83a2b4c "TITLEMAP", position=0) at src/p_setup.cpp:3786
	times = {181765, 1502963, 1565, 2455396, 1510338, 516998, 2277076, 361070, 615, 302, 1091997, 5759, 3516285, 176406, 2993004, 747, 1605032, 18446370240604371954, 0, 0}
	buildthings = (mapthing2_t *) 0x112a
	numbuildthings = 137990144
	i = 8
	buildmap = false
	map = (MapData *) 0x91f7f58
	timenames = {0x82be329 "load vertexes", 0x82be337 "load sectors", 0x82be344 "load sides", 0x82be34f "load lines", 0x82be35a "load sides 2", 0x82be367 "load lines 2", 0x82be374 "loop sides", 
  0x82be37f "load subsectors", 0x82be38f "load nodes", 0x82be39a "load segs", 0x82be3a4 "load blockmap", 0x82be3b2 "load reject", 0x82be3be "group lines", 0x82be3ca "flood zones", 0x82be3d6 "load things", 
  0x82be3e2 "translate teleports", 0x82be3f6 "init polys", 0x82be401 "precache"}
#17 0x080a3b81 in G_DoLoadLevel (position=0, autosave=false) at src/g_level.cpp:1973
	oldgs = GS_TITLELEVEL
	i = 8
	lastposition = 0
	firstTime = true
#18 0x080a4f75 in G_InitNew (mapname=0x82b1c64 "TITLEMAP", bTitleLevel=true) at src/g_level.cpp:1635
	oldSpeed = SPEED_Normal
	wantFast = false
	i = 8
	map = (MapData *) 0x9023fd0
#19 0x0807f40a in D_DoAdvanceDemo () at src/d_main.cpp:989
	pagename = 0x0
	map = (MapData *) 0x90e2088
	demoname = "DEMO1\000\000"
	democount = 0
	pagecount = 0
#20 0x080866e3 in TryRunTics () at src/d_net.cpp:1824
	i = 1
	lowtic = 17
	realtics = 121
	availabletics = 17
	counts = 16
	numplaying = 1
	doWait = false
#21 0x08080658 in D_DoomLoop () at src/d_main.cpp:766
	lasttic = 0
#22 0x0808195d in D_DoomMain () at src/d_main.cpp:2456
	p = 5
	flags = 0
	file = "Doom.Autoload\000w/.gzdoom/skins", '\0' <repeats 2619 times>, "[Tù·Mv#·ºÙ3·", '\0' <repeats 16 times>, "Äoú·Ôf#·({»¿\\{»¿ÿWù·", '\0' <repeats 16 times>, "\bUN\b\005", '\0' <repeats 11 times>, "({»¿ô{»¿Sç\021¼\v\000\000\000Ôf#·xf#·Rç\021¼", '\0' <repeats 12 times>, "\002\000\000\000d\000\000\000\000\000\000\000\210ê%·ºÙ3·\204n#·[Tù·üu#·\235Ù3·Xì%·è{»¿\000\000\000\000äXù·Äoú·"...
	v = 0x0
	wad = 0x0
	execFiles = (class DArgs *) 0x84a0070
	files = (class DArgs *) 0x90229a8
	files1 = (class DArgs *) 0x84a00f8
	files2 = (class DArgs *) 0x84a0118
	val = 0x0
	startupString = {0x82b23c8 "STARTUP1", 0x82b23d1 "STARTUP2", 0x82b23da "STARTUP3", 0x82b23e3 "STARTUP4", 0x82b23ec "STARTUP5"}
	one_hundred = "100"
#23 0x0825a525 in main (argc=5, argv=0xbfbb81b4) at src/sdl/i_main.cpp:238
	s = {11, 4, 8, 7}
	slash = 0x8397dbb "/"
	error = (CDoomError &) @0xb75afff4: {
  m_Message = "|½\022\000\000\000\000\000\000\000\000\000 Ã
User avatar
Torr Samaho
Developer
Developer
Posts: 160
Joined: Fri Apr 13, 2007 8:26
Location: Germany
Contact:

Post by Torr Samaho »

The visual glitches with skyboxes are caused by the fact that all wgl related code has been removed from the Linux version.
Replacing

Code: Select all

#ifdef unix
	CollectExtensions();
#endif
with

Code: Select all

#ifdef unix
	CollectExtensions();
	gl->flags|=RFL_NOSTENCIL;
#endif
at the beginning of

Code: Select all

static void APIENTRY LoadExtensions()
in r_opengl.cpp should fix the extreme visual glitches. The skyboxes of course are not rendered properly without stencil, but this hopefully gives you enough hint where to look for a fix.
Karate Chris
Posts: 34
Joined: Sun May 13, 2007 13:34

Post by Karate Chris »

When I compile the full source I get the same error but it's on a new line:

[spoiler]win32gliface.cpp
c:\program files\microsoft visual studio 8\vc\include\intrin.h(388) : warning C4995: 'strcat': name was marked as #pragma deprecated
c:\program files\microsoft visual studio 8\vc\include\intrin.h(390) : warning C4995: 'strcpy': name was marked as #pragma deprecated
c:\program files\microsoft visual studio 8\vc\include\intrin.h(942) : warning C4995: 'wcscat': name was marked as #pragma deprecated
c:\program files\microsoft visual studio 8\vc\include\intrin.h(944) : warning C4995: 'wcscpy': name was marked as #pragma deprecated
c:\generation doom\generation doom source\source\src\gl\win32gliface.cpp(310) : fatal error C1020: unexpected #endif[/spoiler]
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

this build is supposed to be for linux, there is a lot of w32 code removed :p
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Which makes the whole undertaking rather pointless as I can't integrate it. Is someone willing to do a clean Linux version - including the extensions as without them essential features are missing.
User avatar
Torr Samaho
Developer
Developer
Posts: 160
Joined: Fri Apr 13, 2007 8:26
Location: Germany
Contact:

Post by Torr Samaho »

Costja, knowing that the skybox bug was caused by the missing stencil buffer, it was pretty easy to fix. Just put

Code: Select all

if ( !gl_vid_compatibility )
	SDL_GL_SetAttribute( SDL_GL_STENCIL_SIZE,  8 );
else
	gl.flags|=RFL_NOSTENCIL;
before the call of SDL_SetVideoMode in sdlglvideo.cpp. Of course this code snippet is not the final solution, it just shows how to fix the problem. You should port SetupPixelFormat in r_opengl.cpp to SDL to properly set up the pixel format. In your current code you don't specify the pixel format at all.
Graf Zahl wrote:Which makes the whole undertaking rather pointless as I can't integrate it. Is someone willing to do a clean Linux version - including the extensions as without them essential features are missing.
I cleaned the GL patch a little and merged it with Skulltag without hampering the Windows code at all. Once the pixel format is selected properly, this should work well and can be backported to GZDoom straightforwardly.
Locked

Return to “GZDoom”