Page 1 of 1

[r129 linux (64-bit)] Source won't compile

Posted: Fri Jul 04, 2008 6:12
by Agent ME
If I try to do use "make" when compiling the latest source, it fails. Here's what I get (I've already run "make" before, so its already gone through all the files and starts at the step it fails on):
[spoiler]
chris@cowan-laptop:~/Desktop/gzdoom_svn/src/trunk$ make
tools/updaterevision/updaterevision . src/svnrevision_gz.h
src/svnrevision_gz.h is up to date at revision 129M.
make[1]: Entering directory `/home/chris/Desktop/gzdoom_svn/src/trunk'
Running g++: [ERROR]
g++ -c -pipe -Wall -Wno-unused -fno-strict-aliasing -O2 -fomit-frame-pointer -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DHAVE_FILELENGTH -D__forceinline=inline -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNEED_STRUPR -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -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/thingdef/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -Isrc/xlat/ -Isrc/timidity/ -Isnes_spc/snes_spc/ -I/usr/include/fmodex/ -DNOASM -DNDEBUG -o releaseobj/fmodsound.o -c
================================================================================g++: no input files
make[1]: *** [releaseobj/fmodsound.o] Error 1
[/spoiler]
Zdoom can compile for me, and an older version of gzdoom has, so don't think its my setup.

Posted: Sat Jul 05, 2008 13:56
by Costja
Try appending src/sound/fmodsound.cpp to MISSING= line of Makefile.linux

Posted: Thu Jul 10, 2008 5:34
by Agent ME
That fixes the problem.