After being gone for years, I've decided to give FSO another go. I'm still running the same hardware as 5 years ago, but I've changed to Debian, and I'm currently trying to compile from SVN. Since my wiki account got disappeared, things I'd like to edit but can't:
- libsdl12-dev is available as libsdl1.2-dev on Debian. Haven't a clue about the Ubuntu name so it might not be a typo, but it'll confuse the newbies mightily and autogen doesn't exactly respond all that eloquently.
- The wiki gives some script to check out a SVN dir with CVS. Might work, haven't tried or looked, but it doesn't look all that great compared to "svn co" and "svn update".
And a more interesting (and show-stopping issue):
- Running make gives the following output:
Making all in code
make[1]: Entering directory `/home/kasperl/freespace/fs2_open/code'
g++ -DPACKAGE_NAME=\"fs2_open\" -DPACKAGE_TARNAME=\"fs2_open\" -DPACKAGE_VERSION=\"3.6.13\" -DPACKAGE_STRING=\"fs2_open\ 3.6.13\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DNO_CD_CHECK=1 -DNDEBUG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSCP_UNIX=1 -DNO_DIRECT3D=1 -I. -m64 -march=athlon64 -ansi -DLUA_USE_LINUX -g -Os -Wall -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng12 -I/usr/include/lua5.1 -fsigned-char -Wno-unknown-pragmas -Wno-deprecated -Wno-char-subscripts -MT ai.o -MD -MP -MF .deps/ai.Tpo -c -o ai.o `test -f 'ai/ai.cpp' || echo './'`ai/ai.cpp
In file included from /usr/include/features.h:354,
from /usr/include/stdio.h:28,
from ./globalincs/pstypes.h:35,
from ./ai/ai.h:15,
from ai/ai.cpp:14:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory
In file included from ai/ai.cpp:16:
./ship/ship.h: In constructor ‘ship_type_info::ship_type_info()’:
./ship/ship.h:892: warning: ‘ship_type_info::weapon_bools’ will be initialized after
./ship/ship.h:889: warning: ‘float ship_type_info::debris_max_speed’
./ship/ship.h:919: warning: when initialized here
ai/ai.cpp: In function ‘int ai_get_slot(int)’:
ai/ai.cpp:37: warning: deprecated conversion from string constant to ‘char*’
make[1]: *** [ai.o] Error 1
make[1]: Leaving directory `/home/kasperl/freespace/fs2_open/code'
make: *** [all-recursive] Error 1
Which doesn't give me much of a hint where the compiling is going wrong. Some of it may be due to AMD64 as an arch, but I haven't the skills to investigate this much further without actually checking all the code, which I don't fancy.