Posts for dugan

Experienced Forum User
Joined: 11/25/2005
Posts: 3
Still can't compile it in Ubuntu Linux 5.10. Downloaded it from http://rapidshare.de/files/8362016/fceu-nitsuja-src.7z.html. Using gcc 4.02, I prepared and compiled it with:
find -type f -exec sed -si 's/^M//g' '{}' \;
chmod u+x configure
./configure --with-opengl
make
Got:
cd . && /bin/sh ./config.status Makefile 
config.status: creating Makefile
Making all in src
make[1]: Entering directory `/home/dugan/fceu-nitsuja-src/src'
source='sound.c' object='sound.o' libtool=no \
depfile='.deps/sound.Po' tmpdepfile='.deps/sound.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_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 sound.o `test -
f 'sound.c' || echo './'`sound.c
sound.c: In function ‘FCEUSND_Reset’:
sound.c:1097: error: too many arguments to function ‘FCEUD_PrintError’
sound.c:1084: warning: unused variable ‘movieConvertOffset2’
sound.c:1084: warning: unused variable ‘movieConvertOffset1’
make[1]: *** [sound.o] Error 1
make[1]: Leaving directory `/home/dugan/fceu-nitsuja-src/src'
make: *** [all-recursive] Error 1
Remembering your comment about sed eating too much, I also tried:
find -type f -exec dos2unix '{}' \;
and got the exact same result.
Experienced Forum User
Joined: 11/25/2005
Posts: 3
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
Experienced Forum User
Joined: 11/25/2005
Posts: 3
Won't compile for me on Ubuntu Linux 5.10, using gcc 4.02 and g++ 4.0.2. I downloaded the source code from http://rapidshare.de/files/7844827/fceu-nitsuja-src.tar.7z.html and prepared it with
find -type f -exec sed -si 's/^M//g' '{}' \;
Now when I compile I get
Making all in src
make[1]: Entering directory `/home/dugan/fceu-nitsuja-src/src'
source='boards/super24.c' object='boards/super24.o' libtool=no \
depfile='boards/.deps/super24.Po' tmpdepfile='boards/.deps/super24.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 boards/super24.o `test -f 'boards/super24.c' || echo './'`boards/super24.c
boards/super24.c:24: error: static declaration of ‘CHRRAM’ follows non-static declaration
boards/mmc3.h:3: error: previous declaration of ‘CHRRAM’ was here
make[1]: *** [boards/super24.o] Error 1
make[1]: Leaving directory `/home/dugan/fceu-nitsuja-src/src'
make: *** [all-recursive] Error 1