Closed ghost closed 5 years ago
========================= bearoso wrote: "That’s the barebones Unix version. If you want more features, you have to use the GTK version. [...]"
Why having zip and gzip configure options if they will never work, for the source code being compiled?
checking for SYSTEM_ZIP... no configure: WARNING: minizip not found. Build without SYSTEM_ZIP support.
That means you don't have a zip library on your computer. You need to add --without-system-zip to the configure line.
All right. And what I should install? A command to search for packages with 'minizip' in their name shows this:
` $ apt search minizip Sorting... Pronto Full Text Search... Pronto libminizip-dev/stable 1.1-8+b1 amd64 compression library - minizip development files
libminizip1/stable 1.1-8+b1 amd64 compression library - minizip library
minizip/stable 1.1-8+b1 amd64 compression library - minizip tools
$ `
None of these is installed.
Install libminizip-dev, or use —without-system-zip to use the Snes9x copy.
I downloaded the whole master source code, a couple of hours ago. I took a few minutes and tries to discover the things to pass to configure script, and I ended with this line:
$ ./configure --prefix="/algum/lugar/.raiz/" --enable-zip --enable-gzip --enable-screenshot --enable-xvideo --enable-xinerama --enable-sound
The output of that command is:
` $ ./configure --prefix="/dev/shm/.raiz/" --enable-zip --enable-gzip --enable-screenshot --enable-xvideo --enable-xinerama --enable-soundchecking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ accepts -O3... yes checking whether g++ accepts -fomit-frame-pointer... yes checking whether g++ accepts -fno-exceptions... yes checking whether g++ accepts -fno-rtti... yes checking whether g++ accepts -pedantic... yes checking whether g++ accepts -Wall... yes checking whether g++ accepts -W... yes checking whether g++ accepts -Wno-unused-parameter... yes checking whether the OS is Linux... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzread in -lz... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SYSTEM_ZIP... no configure: WARNING: minizip not found. Build without SYSTEM_ZIP support. checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_init_io in -lpng... yes checking for mkstemp... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking whether right shift int8 is arithmetic... yes checking whether right shift int16 is arithmetic... yes checking whether right shift int32 is arithmetic... yes checking whether right shift int64 is arithmetic... yes checking X11/extensions/Xv.h usability... no checking X11/extensions/Xv.h presence... no checking for X11/extensions/Xv.h... no checking X11/extensions/Xinerama.h usability... no checking X11/extensions/Xinerama.h presence... no checking for X11/extensions/Xinerama.h... no checking whether sound is supported on this platform... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes
build information: cc...............,,,. gcc c++.................. g++ options.............. -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 defines.............. -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT libs................. -lz -lpng -lSM -lICE -lX11 -lXext -lpthread
features: Xvideo support....... no Xinerama support..... no sound support........ yes screenshot support... yes netplay support...... no gamepad support...... yes GZIP support......... yes ZIP support.......... yes SYSTEM_ZIP........... check JMA support.......... yes debugger............. no
configure: creating ./config.status config.status: creating Makefile
$ `
After that, I built it with a simple 'make' (the output showed here after a 'make clean', since I compiled the emulator a few times before).
` $ make clean rm -f ../apu/apu.o ../apu/bapu/dsp/sdsp.o ../apu/bapu/smp/smp.o ../apu/bapu/smp/smp_state.o ../bsx.o ../c4.o ../c4emu.o ../cheats.o ../cheats2.o ../clip.o ../conffile.o ../controls.o ../cpu.o ../cpuexec.o ../cpuops.o ../crosshairs.o ../dma.o ../dsp.o ../dsp1.o ../dsp2.o ../dsp3.o ../dsp4.o ../fxinst.o ../fxemu.o ../gfx.o ../globals.o ../logger.o ../memmap.o ../msu1.o ../movie.o ../obc1.o ../ppu.o ../stream.o ../sa1.o ../sa1cpu.o ../screenshot.o ../sdd1.o ../sdd1emu.o ../seta.o ../seta010.o ../seta011.o ../seta018.o ../snapshot.o ../snes9x.o ../spc7110.o ../srtc.o ../tile.o ../filter/2xsai.o ../filter/blit.o ../filter/epx.o ../filter/hq2x.o ../filter/snes_ntsc.o ../statemanager.o ../sha256.o ../bml.o unix.o x11.o ../jma/7zlzma.o ../jma/crc32.o ../jma/iiostrm.o ../jma/inbyte.o ../jma/jma.o ../jma/lzma.o ../jma/lzmadec.o ../jma/s9x-jma.o ../jma/winout.o
$ make g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../apu/apu.cpp -o ../apu/apu.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../apu/bapu/dsp/sdsp.cpp -o ../apu/bapu/dsp/sdsp.o In file included from ../apu/bapu/dsp/SPC_DSP.cpp:7:0, from ../apu/bapu/dsp/sdsp.cpp:8: ../apu/bapu/dsp/SPC_DSP.cpp: In member function ‘int SNES::SPC_State_Copier::copy_int(int, int)’: ../apu/bapu/dsp/blargg_endian.h:129:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
define SET_LE16( addr, data ) (void) ((BOOST::uint16_t) (addr) = (data))
../apu/bapu/dsp/SPC_DSP.cpp:1271:2: note: in expansion of macro ‘SET_LE16’ SET_LE16( s, state ); ^
~~~ ../apu/bapu/dsp/blargg_endian.h:127:61: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]define GET_LE16( addr ) ((BOOST::uint16_t) (addr))
../apu/bapu/dsp/SPC_DSP.cpp:1273:9: note: in expansion of macro ‘GET_LE16’ return GET_LE16( s ); ^
~~~ g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../apu/bapu/smp/smp.cpp -o ../apu/bapu/smp/smp.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../apu/bapu/smp/smp_state.cpp -o ../apu/bapu/smp/smp_state.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../bsx.cpp -o ../bsx.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../c4.cpp -o ../c4.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../c4emu.cpp -o ../c4emu.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../cheats.cpp -o ../cheats.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../cheats2.cpp -o ../cheats2.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../clip.cpp -o ../clip.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../conffile.cpp -o ../conffile.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../controls.cpp -o ../controls.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../cpu.cpp -o ../cpu.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../cpuexec.cpp -o ../cpuexec.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../cpuops.cpp -o ../cpuops.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../crosshairs.cpp -o ../crosshairs.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../dma.cpp -o ../dma.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../dsp.cpp -o ../dsp.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../dsp1.cpp -o ../dsp1.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../dsp2.cpp -o ../dsp2.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../dsp3.cpp -o ../dsp3.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../dsp4.cpp -o ../dsp4.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../fxinst.cpp -o ../fxinst.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../fxemu.cpp -o ../fxemu.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../gfx.cpp -o ../gfx.o In file included from ../snes9x.h:14:0, from ../gfx.cpp:7: ../gfx.cpp: In function ‘void DisplayPressedKeys()’: ../port.h:187:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]define READ_WORD(s) ((uint16 ) (s))
../gfx.cpp:1923:15: note: in expansion of macro ‘READ_WORD’ int16 x = READ_WORD(buf); ^
~~~~ ../port.h:187:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]define READ_WORD(s) ((uint16 ) (s))
../gfx.cpp:1937:15: note: in expansion of macro ‘READ_WORD’ int16 x = READ_WORD(buf); ^
~~~~ ../port.h:187:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]define READ_WORD(s) ((uint16 ) (s))
../gfx.cpp:1952:16: note: in expansion of macro ‘READ_WORD’ int16 x1 = READ_WORD(buf); ^
~~~~ g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../globals.cpp -o ../globals.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../logger.cpp -o ../logger.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../memmap.cpp -o ../memmap.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../msu1.cpp -o ../msu1.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../movie.cpp -o ../movie.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../obc1.cpp -o ../obc1.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../ppu.cpp -o ../ppu.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../stream.cpp -o ../stream.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../sa1.cpp -o ../sa1.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../sa1cpu.cpp -o ../sa1cpu.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../screenshot.cpp -o ../screenshot.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../sdd1.cpp -o ../sdd1.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../sdd1emu.cpp -o ../sdd1emu.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../seta.cpp -o ../seta.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../seta010.cpp -o ../seta010.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../seta011.cpp -o ../seta011.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../seta018.cpp -o ../seta018.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../snapshot.cpp -o ../snapshot.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../snes9x.cpp -o ../snes9x.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../spc7110.cpp -o ../spc7110.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../srtc.cpp -o ../srtc.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../tile.cpp -o ../tile.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../filter/2xsai.cpp -o ../filter/2xsai.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../filter/blit.cpp -o ../filter/blit.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../filter/epx.cpp -o ../filter/epx.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../filter/hq2x.cpp -o ../filter/hq2x.o gcc -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../filter/snes_ntsc.c -o ../filter/snes_ntsc.o cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../statemanager.cpp -o ../statemanager.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../sha256.cpp -o ../sha256.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM ../bml.cpp -o ../bml.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM unix.cpp -o unix.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM x11.cpp -o x11.o x11.cpp: In function ‘void S9xProcessEvents(bool8)’: x11.cpp:1566:49: warning: ‘KeySym XKeycodeToKeysym(Display, KeyCode, int)’ is deprecated [-Wdeprecated-declarations] KeyCode kc = XKeysymToKeycode(GUI.display, XKeycodeToKeysym(GUI.display, event.xkey.keycode, 0)); ^~~~In file included from x11.cpp:19:0: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~x11.cpp:1566:100: warning: ‘KeySym XKeycodeToKeysym(Display, KeyCode, int)’ is deprecated [-Wdeprecated-declarations] ymToKeycode(GUI.display, XKeycodeToKeysym(GUI.display, event.xkey.keycode, 0)); ^ In file included from x11.cpp:19:0: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM -fexceptions ../jma/7zlzma.cpp -o ../jma/7zlzma.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM -fexceptions ../jma/crc32.cpp -o ../jma/crc32.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM -fexceptions ../jma/iiostrm.cpp -o ../jma/iiostrm.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM -fexceptions ../jma/inbyte.cpp -o ../jma/inbyte.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM -fexceptions ../jma/jma.cpp -o ../jma/jma.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM -fexceptions ../jma/lzma.cpp -o ../jma/lzma.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM -fexceptions ../jma/lzmadec.cpp -o ../jma/lzmadec.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM -fexceptions ../jma/s9x-jma.cpp -o ../jma/s9x-jma.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -g -O2 -DJOYSTICK_SUPPORT -DZLIB -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DGFX_MULTI_FORMAT -DMITSHM -fexceptions ../jma/winout.cpp -o ../jma/winout.o g++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -o snes9x ../apu/apu.o ../apu/bapu/dsp/sdsp.o ../apu/bapu/smp/smp.o ../apu/bapu/smp/smp_state.o ../bsx.o ../c4.o ../c4emu.o ../cheats.o ../cheats2.o ../clip.o ../conffile.o ../controls.o ../cpu.o ../cpuexec.o ../cpuops.o ../crosshairs.o ../dma.o ../dsp.o ../dsp1.o ../dsp2.o ../dsp3.o ../dsp4.o ../fxinst.o ../fxemu.o ../gfx.o ../globals.o ../logger.o ../memmap.o ../msu1.o ../movie.o ../obc1.o ../ppu.o ../stream.o ../sa1.o ../sa1cpu.o ../screenshot.o ../sdd1.o ../sdd1emu.o ../seta.o ../seta010.o ../seta011.o ../seta018.o ../snapshot.o ../snes9x.o ../spc7110.o ../srtc.o ../tile.o ../filter/2xsai.o ../filter/blit.o ../filter/epx.o ../filter/hq2x.o ../filter/snes_ntsc.o ../statemanager.o ../sha256.o ../bml.o unix.o x11.o ../jma/7zlzma.o ../jma/crc32.o ../jma/iiostrm.o ../jma/inbyte.o ../jma/jma.o ../jma/lzma.o ../jma/lzmadec.o ../jma/s9x-jma.o ../jma/winout.o -lm -lz -lpng -lSM -lICE -lX11 -lXext -lpthread$ `
After that, I try to run snes9x with a zipped rom, and it does not work! The output is:
` $ ./snes9x /media/user/panela/jogos/snes/tetrisattack.zip
Snes9x 1.58 for unix ERROR: Failed to open sound device /dev/dsp for writing. (Try loading snd-pcm-oss module?) Port 1: Pad #1. Port 2:.
This binary was not created with Zip support.
This binary was not created with Zip support.
Error opening the ROM file.
$ `
Note: I have seen a comment about version 1.59. Did I download the wrong version? What is the place to download the newest release (not beta or alpha, please!).