twinaphex/snes9x-next — Issue #14: (LIBSNES PS3) Unable to build
Author: peteuk
Created: 2012-02-12 15:00:47+00:00
State: open

I am unable to build the PS3 Libsnes version of snes9x.

$ make -f makefile.libsnes platform=ps3
ppu-lv2-gcc -I. -I.. -I../apu/ -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -O3 -DHAVE_STRING
S_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBSNES__ -DRIGHTSHIFT_IS_SAR -DINLINE
=inline -fomit-frame-pointer -std=gnu99 -Wall -W -Wno-unused-parameter -DNDEBUG=
1 -c -o src/apu.o src/apu.c
ppu-lv2-gcc -I. -I.. -I../apu/ -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -O3 -DHAVE_STRING
S_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBSNES__ -DRIGHTSHIFT_IS_SAR -DINLINE
=inline -fomit-frame-pointer -std=gnu99 -Wall -W -Wno-unused-parameter -DNDEBUG=
1 -c -o src/bsx.o src/bsx.c
ppu-lv2-gcc -I. -I.. -I../apu/ -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -O3 -DHAVE_STRING
S_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBSNES__ -DRIGHTSHIFT_IS_SAR -DINLINE
=inline -fomit-frame-pointer -std=gnu99 -Wall -W -Wno-unused-parameter -DNDEBUG=
1 -c -o src/c4emu.o src/c4emu.c
src/c4emu.c: In function 'S9xSetC4':
src/c4emu.c:1143: warning: signed and unsigned type in conditional expression
src/c4emu.c:1144: warning: signed and unsigned type in conditional expression
ppu-lv2-gcc -I. -I.. -I../apu/ -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -O3 -DHAVE_STRING
S_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBSNES__ -DRIGHTSHIFT_IS_SAR -DINLINE
=inline -fomit-frame-pointer -std=gnu99 -Wall -W -Wno-unused-parameter -DNDEBUG=
1 -c -o src/cheats.o src/cheats.c
ppu-lv2-gcc -I. -I.. -I../apu/ -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -O3 -DHAVE_STRING
S_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBSNES__ -DRIGHTSHIFT_IS_SAR -DINLINE
=inline -fomit-frame-pointer -std=gnu99 -Wall -W -Wno-unused-parameter -DNDEBUG=
1 -c -o src/controls.o src/controls.c
ppu-lv2-gcc -I. -I.. -I../apu/ -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -O3 -DHAVE_STRING
S_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBSNES__ -DRIGHTSHIFT_IS_SAR -DINLINE
=inline -fomit-frame-pointer -std=gnu99 -Wall -W -Wno-unused-parameter -DNDEBUG=
1 -c -o src/cpu.o src/cpu.c
ppu-lv2-gcc -I. -I.. -I../apu/ -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -O3 -DHAVE_STRING
S_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBSNES__ -DRIGHTSHIFT_IS_SAR -DINLINE
=inline -fomit-frame-pointer -std=gnu99 -Wall -W -Wno-unused-parameter -DNDEBUG=
1 -c -o src/cpuexec.o src/cpuexec.c
ppu-lv2-gcc -I. -I.. -I../apu/ -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -O3 -DHAVE_STRING
S_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBSNES__ -DRIGHTSHIFT_IS_SAR -DINLINE
=inline -fomit-frame-pointer -std=gnu99 -Wall -W -Wno-unused-parameter -DNDEBUG=
1 -c -o src/dsp.o src/dsp.c
ppu-lv2-gcc -I. -I.. -I../apu/ -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -O3 -DHAVE_STRING
S_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBSNES__ -DRIGHTSHIFT_IS_SAR -DINLINE
=inline -fomit-frame-pointer -std=gnu99 -Wall -W -Wno-unused-parameter -DNDEBUG=
1 -c -o src/fxemu.o src/fxemu.c
src/fxemu.c:4257: error: 'fx_asr' undeclared here (not in a function)
make: *** [src/fxemu.o] Error 1