Help for a linux noob

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

Moderator: ZSNES Mods

Post Reply
zolox
New Member
Posts: 5
Joined: Thu Jun 08, 2006 9:42 pm

Help for a linux noob

Post by zolox »

Im running FC5 I got thru the ./configure ok but when i got to make this happens

make
g++ -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 chips/st10proc.o chips/seta10.o chips/dsp2proc.o chips/sdd1emu.o cpu/addrni.o cpu/dma.o cpu/dsp.o cpu/dspproc.o cpu/execute.o cpu/executec.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/sw_draw.o linux/zloaderw.o linux/ztcp.o linux/zipxw.o linux/zfilew.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 video/hq2x16.o video/hq2x32.o video/hq3x16.o video/hq3x32.o video/hq4x16.o video/hq4x32.o cfgload.o endmem.o init.o initc.o uic.o patch.o ui.o vcache.o version.o zip/unzip.o zip/zpng.o effects/burn.o effects/water.o effects/smoke.o jma/7zlzma.o jma/crc32.o jma/iiostrm.o jma/inbyte.o jma/jma.o jma/lzma.o jma/lzmadec.o jma/winout.o jma/zsnesjma.o -pipe -I. -Wall -I/usr/local/include -I/usr/include -D__LINUX__ -I/usr/include/SDL -D_REENTRANT -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -s -march=pentiumpro -L/usr/local/lib -L/usr/lib -lz -L/usr/lib -lSDL -lpthread -lpng -lm -L
g++: argument to '-L' missing

make: *** [zsnes] Error 1

anyone able to help?
bztunk
Hazed
Posts: 84
Joined: Mon Dec 27, 2004 9:08 pm
Location: In A.D. 2101, war was beginning.

Post by bztunk »

seems like configure fucked up

Post your autogen, autoconf, gcc, sdl, etc. versions?
16:13 <Link`sAdventure> If I had my choice between Fedora and Windows, I'd pick windows.
zolox
New Member
Posts: 5
Joined: Thu Jun 08, 2006 9:42 pm

Post by zolox »

SDL support Version 1.2.9
NASM support NASM version 0.98.39 compiled on Feb 12 2006ZLib support Version 1.2.3
PNG support (png screenshots) Yes, version 1.2.8
OpenGL support Disabled, library not found
actually heres everything
./configure
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 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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for nasm... nasm
checking for a BSD-compatible install... /usr/bin/install -c
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for zlib - version >= 1.1.0... yes
checking for libpng - version >= 1.2.0... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers in standard search path
checking for glGetError in -lGL... no
checking for OpenGL... no
checking if you want gdb friendly executable... no
checking which processor class to optimize for... 686
checking for egrep... grep -E
checking for ANSI C header files... no
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 whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged


ZSNES v1.41

SDL support Version 1.2.9
NASM support NASM version 0.98.39 compiled on Feb 12 2006ZLib support Version 1.2.3
PNG support (png screenshots) Yes, version 1.2.8
OpenGL support Disabled, library not found

The binary will be installed in /usr/local/bin

Configure complete, now type 'make' and pray.
paulguy
Zealot
Posts: 1076
Joined: Sat Jul 02, 2005 2:01 am
Contact:

Post by paulguy »

i think this is a known problem. go into the makefile and remove the -L
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

This is known and has been fixed for a year. Your fault, core dumped.
Precisely, more than a year:
r2139 | grinvader | 2005-02-18 01:49:02
Last edited by grinvader on Thu Jun 08, 2006 10:58 pm, edited 1 time in total.
皆黙って俺について来い!!

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
zolox
New Member
Posts: 5
Joined: Thu Jun 08, 2006 9:42 pm

Post by zolox »

I'm sorry im really new but how do i do that just type "make -L"
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

zolox wrote:I'm sorry im really new but how do i do that just type "make -L"
Go into the makefile with your favorite text editor (ee, vim, vi, nano, pico, kwrite, kate, etc) and remove the -L.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
zolox
New Member
Posts: 5
Joined: Thu Jun 08, 2006 9:42 pm

Post by zolox »

Ok when every i do ./configure it restores the Makefile also do i delete just -L or --L/usr/local/lib -L/usr/lib -lz -L/usr/lib -lSDL -lpthread -lpng -lm -L
paulguy
Zealot
Posts: 1076
Joined: Sat Jul 02, 2005 2:01 am
Contact:

Post by paulguy »

./configure first then edit out just the lonely -L that has no parameters. although im sure there's a different solution to this? I don't seem to have this issue with the WIPs atleast.
Aerdan
Winter Knight
Posts: 467
Joined: Mon Aug 16, 2004 10:16 pm
Contact:

Post by Aerdan »

Workaround: Use a distribution that doesn't treat you like most scientists treat their lab rats.
zolox
New Member
Posts: 5
Joined: Thu Jun 08, 2006 9:42 pm

Post by zolox »

Lol what distro do you reccomend I'm about to try Ubuntu what do you suggest?
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

Fair warning: he's gonna go suggest Gentoo.

While it's not bad, it's pretty much all compiling.

I'd personally go with *buntu.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

adventure_of_link wrote:I'd personally go with *buntu.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

Agozer wrote:
adventure_of_link wrote:I'd personally go with *buntu.
Oh yeah, if you've got any low end computers (eg: those that are about onpar with either windows 98se or 2000 minimum requirements) I'd also give Damn Small Linux a whirl. :D

Sorry I didn't mention this earlier. :(
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

adventure_of_link wrote:
Agozer wrote:
adventure_of_link wrote:I'd personally go with *buntu.
Oh yeah, if you've got any low end computers (eg: those that are about onpar with either windows 98se or 2000 minimum requirements) I'd also give Damn Small Linux a whirl. :D

Sorry I didn't mention this earlier. :(
Well sure, it's damn small and all.

uh

you get the idea
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Post Reply