I can't compile the latest version using any of the 3 compilers available for Ubuntu 5.10.
I downloaded it from
http://rapidshare.de/files/8218341/fceu-0.98.13-rerecording-src.7z.html
and prepared it with
find -type f -exec sed -si 's/^M//g' '{}' \;
chmod u+x configure
./configure --with-opengl
Now when compiling with with either gcc 4.02 or gcc 3.4.5 I get
Making all in src
make[1]: Entering directory `/home/dugan/fceu-0.98.13-rerecording-src/src'
source='mappers/6.c' object='mappers/6.o' libtool=no \
depfile='mappers/.deps/6.Po' tmpdepfile='mappers/.deps/6.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"fceu\" -DVERSION=\"0.98.13\" -D_GNU_SOURCE=1 -DHAVE_ASPRINTF=1 -DHAVE_LIBZ=1 -DNETWORK=1 -DUNIX=1 -DPSS_STYLE=1 -DNETWORK=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 -DUSE_SEXYAL=1 -DOPENGL=1 -DSDL=1 -DC80x86=1 -DLSB_FIRST=1 -DFCEU_VERSION=\"0.98.13\" -DFCEU_VERSION_NUMERIC=9813 -DFRAMESKIP=1 -Wall -fomit-frame-pointer -I/usr/include/SDL -D_REENTRANT -Wall -fomit-frame-pointer -g -O2 -I/usr/include/SDL -D_REENTRANT -c -o mappers/6.o `test -f 'mappers/6.c' || echo './'`mappers/6.c
mappers/6.c: In function ‘Mapper6_init’:
mappers/6.c:74: error: ‘apIRQHook’ undeclared (first use in this function)
mappers/6.c:74: error: (Each undeclared identifier is reported only once
mappers/6.c:74: error: for each function it appears in.)
mappers/6.c:79: error: ‘apStateRestore’ undeclared (first use in this function)
make[1]: *** [mappers/6.o] Error 1
make[1]: Leaving directory `/home/dugan/fceu-0.98.13-rerecording-src/src'
make: *** [all-recursive] Error 1
And with gcc 2.95.4 I get
cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
Making all in src
make[1]: Entering directory `/home/dugan/fceu-0.98.13-rerecording-src/src'
source='state.c' object='state.o' libtool=no \
depfile='.deps/state.Po' tmpdepfile='.deps/state.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_ STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"fceu\" -DVERSION=\"0.98.13\" -D _GNU_SOURCE=1 -DHAVE_ASPRINTF=1 -DHAVE_LIBZ=1 -DNETWORK=1 -DUNIX=1 -DPSS_STYLE=1 -DNETWORK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_ST DLIB_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 -DUSE_SEXYAL=1 -DOPENGL=1 -DSDL=1 -DC80x 86=1 -DLSB_FIRST=1 -DFCEU_VERSION=\"0.98.13\" -DFCEU_VERSION_NUMERIC=9813 -DFRAM ESKIP=1 -Wall -fomit-frame-pointer -I/usr/include/SDL -D_REENTRANT -Wall - fomit-frame-pointer -g -O2 -I/usr/include/SDL -D_REENTRANT -c -o state.o `test - f 'state.c' || echo './'`state.c
state.c: In function `FCEUSS_LoadFP':
state.c:340: parse error before `*'
state.c:342: `fp' undeclared (first use in this function)
state.c:342: (Each undeclared identifier is reported only once
state.c:342: for each function it appears in.)
state.c: In function `FCEUI_SelectState':
state.c:518: warning: `return' with no value, in function returning non-void
make[1]: *** [state.o] Error 1
make[1]: Leaving directory `/home/dugan/fceu-0.98.13-rerecording-src/src'
make: *** [all-recursive] Error 1