Hello everyone,
I'm trying to install ZSNES on my fedore core 6 machine (x86_64). The manual suggests running "sh ./autogen && gmake && gmake install". I installed all the required packages (sdl, nasm, zlib and libpng). When my terminal reaches the gmake command, I get the following error:
Quote:
g++: argument van '-L' ontbreekt
|
(which translates to "g++: argument to '-L' missing")
I searched with Google and in these fora, but I'm yet to find an answer. It is suggested that it has something to do with another package interfering with the g++-one (I'm thinking g++ comes with gcc). The person in question had to reinstall Linux in order to remove this error...
I'm hoping I won't have to do that just yet (again)
Here is the output of the "sh ./autogen && gmake && gmake install"-command
Quote:
Generating build information using aclocal and autoconf...
./autogen.sh: line 6: aclocal: command not found
./autogen.sh: line 7: autoconf: command not found
checking 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 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... 386
configure: WARNING: *** This is probably not what you want use --target
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.10
NASM support NASM version 0.98.39 compiled on Jul 12 2006
ZLib support Version 1.2.3
PNG support (png screenshots) Yes, version 1.2.10
OpenGL support Disabled, library not found
The binary will be installed in /usr/local/bin
Configure complete, now type 'make' and pray.
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_GNU_SOURCE=1 -D_REENTRANT -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -s -L/usr/local/lib -L/usr/lib -lz -L/usr/lib64 -lSDL -lpthread -lpng -lm -L
g++: argument van '-L' ontbreekt
gmake: *** [zsnes] Fout 1
|