I'm unable to compile up fceu 2.0.3 from the source which have been provided. Need help. System: Debian Lenny on my powerbook (see my signature).
Here's the output:
Code:
g++ -o src/sound.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DOPENGL
-DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/l
ocal/include/lua5.1 -I/usr/include/lua5.1 src/sound.cpp
g++ -o src/state.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DOPENGL
-DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/l
ocal/include/lua5.1 -I/usr/include/lua5.1 src/state.cpp
src/state.cpp: In function 'int SubWrite(std::ostream*, SFORMAT*)':
src/state.cpp:121: error: invalid conversion from 'void*' to 'uint8*'
src/state.cpp:121: error: initializing argument 1 of 'void FlipByteOrder(uint8*, uint32)'
src/state.cpp:132: error: invalid conversion from 'void*' to 'uint8*'
src/state.cpp:132: error: initializing argument 1 of 'void FlipByteOrder(uint8*, uint32)'
src/state.cpp: In function 'bool ReadStateChunk(std::istream*, SFORMAT*, int)':
src/state.cpp:200: error: invalid conversion from 'void*' to 'uint8*'
src/state.cpp:200: error: initializing argument 1 of 'void FlipByteOrder(uint8*, uint32)'
scons: *** [src/state.o] Error 1
scons: building terminated because of errors.
Bookmarks