Linux ... problems.

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

Moderator: ZSNES Mods

Post Reply
Duo

Linux ... problems.

Post by Duo »

...

Yes.

Well, if you could even call if Linux. I am using SuSE 9.1 Professional, which is probably for hosers, I know, so I apologise to all the Linux elitists out there. I am truly sorry, I did try Slackware, but things just didn't work out between us. " :( " So, since XP isn't an option and I am too stupid/new to use Slackware, I had to settle for ... this. At least the modem works now.

A little bit of pre-emptive there.

So, here's the problem. S.

I try to install nasm. Hmm. It's .rpm, the one from http://www.kernel.org/pub/software/devel/nasm/ by the way. I don't know, I seem to have bad luck with rpm's, tarballs always work much better. As in, they work. I get the following output from kpackage:
rpm -U --replacepkgs '//home/james/nasm-0.98-1.i386.rpm';echo RESULT=$?
error: Failed dependencies:
libc.so.5 is needed by nasm-0.98-1
RESULT=1
Which is all very well, but I wouldn't know a "libc.so.5" if it hit me in the face. Or where to put it. =/

I try to make install zlib 1.1.4, get the following output
make install
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
cp libz.a /usr/local/lib
cd /usr/local/lib; chmod 755 libz.a
cd /usr/local/lib; if test -f libz.so.1.1.4; then \
rm -f libz.so libz.so.1; \
ln -s libz.so.1.1.4 libz.so; \
ln -s libz.so.1.1.4 libz.so.1; \
(ldconfig || true) >/dev/null 2>&1; \
fi
And it just ends on that. "fi". I don't even know if that's an error, but it sure doesn't look so great. But hey, maybe all went well? So the only problem is nasm? Finally, here is the output of make install for zsnes:
make
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/local/include/SDL -D_REENTRANT -D__OPENGL__ -Os -ffast-math -fomit-frame-pointer -fschedule-insns2 -s -march=pentiumpro -L/usr/X11R6/lib -L/usr/local/lib -Wl,-rpath,/usr/local/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
....

Yes.

I think SDL is fine, though. Version 1.2.7, seems to have installed fine.
Yes, well, I aoplogise if I have just made really, really dumb obvious mistakes. But they're not obvious to me! And that's how we learn, isn't it?

So. Uh.

Help.

Please. " :( "

It would be appreciated.
Riven
New Member
Posts: 4
Joined: Thu Aug 05, 2004 11:15 pm

Post by Riven »

Well, I'm not all that familiar with SuSE, but that site you got nasm from has binaries for both libc5 (the one you tried) and libc6. I'm pretty sure SuSE uses libc6, so try the other rpm first.

Alternately, try searching http://rpm.pbone.net or http://rpmfind.net for libc.so.5 (and make sure to get the SuSE rpm).

btw, it's generally not a good idea to use both RPMs and TARs on the same system, as the RPM database doesn't know about the TARs so you end up installing the same libraries twice (possibly in different locations) and that could cause conflicts.
Duo

Post by Duo »

Found a lbc6 tarball and zsnes (I left my brains in the womb) wokrs perfectly now.

Thanks. :)
Post Reply