video mode on LInux Debian

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
Mel

video mode on LInux Debian

Post by Mel »

First of all: sorry for my saghetti-english :D

My system is:
Debian SID/SARGE (a personal mix)
CPU: Intel Centrino
Video: GeForce GO! 5200 (64MB)

I've tried to compile the zsnes source, but it won't work. The "./autogen.sh" doesn't find any error, but "make" won't work. :(

Then I thinked:
"No Problem, apt-get install zsnes will resolve all my trouble"

Now I have a working zsnes, but with the only 640x480 [full screen] video mode.
I have a 16:9 widescreen display, so the output is quite depressive..

How can I compile the zsnes to obtain the other screen modes?

This is the ./autogen.sh output

Code: Select all

Generating build information using aclocal and autoconf...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for nasm... ./configure: line 2264: error:: command not found
no
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for zlib... yes
checking for OpenGL support... yes
checking for libPNG support... yes
checking if you want gdb friendly executable... no
checking which processor class to optimize for... PPro/P2
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h

You may now run make to compile zsnes
Make sure you use GNU make when compiling.
and this is the make output

Code: Select all

w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o chips/sfxproc.o chips/sfxproc.asm
make: w-orphan-labels: Command not found
make: [chips/sfxproc.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o chips/fxemu2.o chips/fxemu2.asm
make: w-orphan-labels: Command not found
make: [chips/fxemu2.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o chips/dsp1proc.o chips/dsp1proc.asm
make: w-orphan-labels: Command not found
make: [chips/dsp1proc.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o chips/fxemu2b.o chips/fxemu2b.asm
make: w-orphan-labels: Command not found
make: [chips/fxemu2b.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o chips/fxemu2c.o chips/fxemu2c.asm
make: w-orphan-labels: Command not found
make: [chips/fxemu2c.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o chips/fxtable.o chips/fxtable.asm
make: w-orphan-labels: Command not found
make: [chips/fxtable.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o chips/sa1proc.o chips/sa1proc.asm
make: w-orphan-labels: Command not found
make: [chips/sa1proc.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o chips/sa1regs.o chips/sa1regs.asm
make: w-orphan-labels: Command not found
make: [chips/sa1regs.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/addrni.o cpu/addrni.asm
make: w-orphan-labels: Command not found
make: [cpu/addrni.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/dma.o cpu/dma.asm
make: w-orphan-labels: Command not found
make: [cpu/dma.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/dsp.o cpu/dsp.asm
make: w-orphan-labels: Command not found
make: [cpu/dsp.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/dspproc.o cpu/dspproc.asm
make: w-orphan-labels: Command not found
make: [cpu/dspproc.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/execute.o cpu/execute.asm
make: w-orphan-labels: Command not found
make: [cpu/execute.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/irq.o cpu/irq.asm
make: w-orphan-labels: Command not found
make: [cpu/irq.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/memory.o cpu/memory.asm
make: w-orphan-labels: Command not found
make: [cpu/memory.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/spc700.o cpu/spc700.asm
make: w-orphan-labels: Command not found
make: [cpu/spc700.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/stable.o cpu/stable.asm
make: w-orphan-labels: Command not found
make: [cpu/stable.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/table.o cpu/table.asm
make: w-orphan-labels: Command not found
make: [cpu/table.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/tableb.o cpu/tableb.asm
make: w-orphan-labels: Command not found
make: [cpu/tableb.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/tablec.o cpu/tablec.asm
make: w-orphan-labels: Command not found
make: [cpu/tablec.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o linux/copyvwin.o linux/copyvwin.asm
make: w-orphan-labels: Command not found
make: [linux/copyvwin.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o linux/sdlintrf.o linux/sdlintrf.asm
make: w-orphan-labels: Command not found
make: [linux/sdlintrf.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o dos/debug.o dos/debug.asm
make: w-orphan-labels: Command not found
make: [dos/debug.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o dos/joy.o dos/joy.asm
make: w-orphan-labels: Command not found
make: [dos/joy.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o dos/modemrtn.o dos/modemrtn.asm
make: w-orphan-labels: Command not found
make: [dos/modemrtn.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o dos/vesa2.o dos/vesa2.asm
make: w-orphan-labels: Command not found
make: [dos/vesa2.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o dos/initvid.o dos/initvid.asm
make: w-orphan-labels: Command not found
make: [dos/initvid.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o dos/sw.o dos/sw.asm
make: w-orphan-labels: Command not found
make: [dos/sw.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o dos/gppro.o dos/gppro.asm
make: w-orphan-labels: Command not found
make: [dos/gppro.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o dos/vesa12.o dos/vesa12.asm
make: w-orphan-labels: Command not found
make: [dos/vesa12.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o gui/gui.o gui/gui.asm
make: w-orphan-labels: Command not found
make: [gui/gui.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o gui/menu.o gui/menu.asm
make: w-orphan-labels: Command not found
make: [gui/menu.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/makev16b.o video/makev16b.asm
make: w-orphan-labels: Command not found
make: [video/makev16b.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/makev16t.o video/makev16t.asm
make: w-orphan-labels: Command not found
make: [video/makev16t.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/makevid.o video/makevid.asm
make: w-orphan-labels: Command not found
make: [video/makevid.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/mode716.o video/mode716.asm
make: w-orphan-labels: Command not found
make: [video/mode716.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/mode716b.o video/mode716b.asm
make: w-orphan-labels: Command not found
make: [video/mode716b.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/mode716d.o video/mode716d.asm
make: w-orphan-labels: Command not found
make: [video/mode716d.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/mode716e.o video/mode716e.asm
make: w-orphan-labels: Command not found
make: [video/mode716e.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/mode716t.o video/mode716t.asm
make: w-orphan-labels: Command not found
make: [video/mode716t.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/mode7.o video/mode7.asm
make: w-orphan-labels: Command not found
make: [video/mode7.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/mode7ext.o video/mode7ext.asm
make: w-orphan-labels: Command not found
make: [video/mode7ext.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/mv16tms.o video/mv16tms.asm
make: w-orphan-labels: Command not found
make: [video/mv16tms.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/newg162.o video/newg162.asm
make: w-orphan-labels: Command not found
make: [video/newg162.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/newgfx16.o video/newgfx16.asm
make: w-orphan-labels: Command not found
make: [video/newgfx16.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/newgfx2.o video/newgfx2.asm
make: w-orphan-labels: Command not found
make: [video/newgfx2.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/newgfx.o video/newgfx.asm
make: w-orphan-labels: Command not found
make: [video/newgfx.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/m716text.o video/m716text.asm
make: w-orphan-labels: Command not found
make: [video/m716text.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/2xsaiw.o video/2xsaiw.asm
make: w-orphan-labels: Command not found
make: [video/2xsaiw.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/procvid.o video/procvid.asm
make: w-orphan-labels: Command not found
make: [video/procvid.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/sw_draw.o video/sw_draw.asm
make: w-orphan-labels: Command not found
make: [video/sw_draw.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cfgload.o cfgload.asm
make: w-orphan-labels: Command not found
make: [cfgload.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o endmem.o endmem.asm
make: w-orphan-labels: Command not found
make: [endmem.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o init.o init.asm
make: w-orphan-labels: Command not found
make: [init.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o ui.o ui.asm
make: w-orphan-labels: Command not found
make: [ui.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o vcache.o vcache.asm
make: w-orphan-labels: Command not found
make: [vcache.o] Error 127 (ignored)
gcc -o zsnes chips/sfxproc.o chips/fxemu2.o chips/dsp1proc.o chips/fxemu2b.o chips/fxemu2c.o chips/fxtable.o chips/sa1proc.o chips/sa1regs.o chips/dsp1emu.o cpu/addrni.o cpu/dma.o cpu/dsp.o cpu/dspproc.o cpu/execute.o cpu/irq.o cpu/memory.o cpu/spc700.o cpu/stable.o cpu/table.o cpu/tableb.o cpu/tablec.o  linux/copyvwin.o linux/sdlintrf.o linux/sdllink.o linux/gl_draw.o linux/sw_draw.o linux/zloaderw.o linux/ztcp.o linux/zipxw.o linux/zfilew.o linux/protect.o dos/debug.o dos/joy.o dos/modemrtn.o dos/vesa2.o dos/initvid.o dos/sw.o dos/gppro.o dos/vesa12.o gui/gui.o gui/menu.o video/makev16b.o video/makev16t.o video/makevid.o video/mode716.o video/mode716b.o video/mode716d.o video/mode716e.o video/mode716t.o video/mode7.o video/mode7ext.o video/mv16tms.o video/newg162.o video/newgfx16.o video/newgfx2.o video/newgfx.o video/m716text.o video/2xsaiw.o video/procvid.o video/sw_draw.o zip/zzip.o zip/unzip.o zip/zpng.o cfgload.o endmem.o fixsin.o init.o ui.o vcache.o water.o smoke.o -pipe -I. -Wall -D__LINUX__ -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -D__OPENGL__ -Os -ffast-math -fomit-frame-pointer -fschedule-insns2 -s -march=pentiumpro  -L/usr/X11R6/lib -lSDL -lpthread -lz -lGL -lpng
gcc: chips/sfxproc.o: No such file or directory
gcc: chips/fxemu2.o: No such file or directory
gcc: chips/dsp1proc.o: No such file or directory
gcc: chips/fxemu2b.o: No such file or directory
gcc: chips/fxemu2c.o: No such file or directory
gcc: chips/fxtable.o: No such file or directory
gcc: chips/sa1proc.o: No such file or directory
gcc: chips/sa1regs.o: No such file or directory
gcc: cpu/addrni.o: No such file or directory
gcc: cpu/dma.o: No such file or directory
gcc: cpu/dsp.o: No such file or directory
gcc: cpu/dspproc.o: No such file or directory
gcc: cpu/execute.o: No such file or directory
gcc: cpu/irq.o: No such file or directory
gcc: cpu/memory.o: No such file or directory
gcc: cpu/spc700.o: No such file or directory
gcc: cpu/stable.o: No such file or directory
gcc: cpu/table.o: No such file or directory
gcc: cpu/tableb.o: No such file or directory
gcc: cpu/tablec.o: No such file or directory
gcc: linux/copyvwin.o: No such file or directory
gcc: linux/sdlintrf.o: No such file or directory
gcc: dos/debug.o: No such file or directory
gcc: dos/joy.o: No such file or directory
gcc: dos/modemrtn.o: No such file or directory
gcc: dos/vesa2.o: No such file or directory
gcc: dos/initvid.o: No such file or directory
gcc: dos/sw.o: No such file or directory
gcc: dos/gppro.o: No such file or directory
gcc: dos/vesa12.o: No such file or directory
gcc: gui/gui.o: No such file or directory
gcc: gui/menu.o: No such file or directory
gcc: video/makev16b.o: No such file or directory
gcc: video/makev16t.o: No such file or directory
gcc: video/makevid.o: No such file or directory
gcc: video/mode716.o: No such file or directory
gcc: video/mode716b.o: No such file or directory
gcc: video/mode716d.o: No such file or directory
gcc: video/mode716e.o: No such file or directory
gcc: video/mode716t.o: No such file or directory
gcc: video/mode7.o: No such file or directory
gcc: video/mode7ext.o: No such file or directory
gcc: video/mv16tms.o: No such file or directory
gcc: video/newg162.o: No such file or directory
gcc: video/newgfx16.o: No such file or directory
gcc: video/newgfx2.o: No such file or directory
gcc: video/newgfx.o: No such file or directory
gcc: video/m716text.o: No such file or directory
gcc: video/2xsaiw.o: No such file or directory
gcc: video/procvid.o: No such file or directory
gcc: video/sw_draw.o: No such file or directory
gcc: cfgload.o: No such file or directory
gcc: endmem.o: No such file or directory
gcc: init.o: No such file or directory
gcc: ui.o: No such file or directory
gcc: vcache.o: No such file or directory
make: *** [zsnes] Error 1
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

*cough*

When you have logs, and a problem, first thing is reading the logs:

Code: Select all

checking for nasm... ./configure: line 2264: error:: command not found
no 
This sums up your problem.

Install nasm 0.98.38 or 0.98.36 (NOT 0.98.37) and that'll do it.

Edit: the configure script says you have openGL enabled, so if you build it yourself you should have all video modes available.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Post Reply