I thought I'd have a shot too, building on Gentoo.
ducon wrote:
Yes, I know that GZDoom does not compile, but I just post this in case it can help.
Is it true that it doesn't compile on linux? Unless I'm looking in the wrong places, I've not seen anything to confirm one way or the other that it does/doesn't compile on Linux.
I've made a bit of progress with the following changes in addition to the one you pointed out for gl_textarea.h (except I edited sdl/glstubs.cpp to include ../gl/gl_textarea.h - same effect).
Makefile.linux:
CFLAGS += `pkg-config gtk+-2.0 --cflags`
LDFLAGS += -ljpeg `pkg-config gtk+-2.0 --libs`
# srcdirs was missing textures - so added to the end of the list...
SRCDIRS = src/ $(addprefix src/,g_doom/ g_heretic/ g_hexen/ g_raven/ g_shared/ g_strife/ oplsynth/ sound/ sdl/ textures/)
After those changes, compilation seems to run ok, but then dies when linking everything in the releaseobj/ directory. Here's the first error which causes the link to die:
releaseobj/p_maputl.o: In function `AActor::LinkToWorldForMapThing()':
p_maputl.cpp:(.text+0x8d8): undefined reference to `numgamenodes'
p_maputl.cpp:(.text+0x8ea): undefined reference to `gamenodes'
(snipped the rest for brevity).
Anyway, I'd be really interested to know whether anybody has gotten this to build & run on linux. Meanwhile, I'll investigate the link problem and see what I can find.
cheers,
- f.