LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling Fakenes (http://www.linuxquestions.org/questions/linux-software-2/compiling-fakenes-337342/)

Kilahchris 06-26-2005 12:35 PM

Compiling Fakenes
 
I ran ./configure and it successfully created the makefiles.
When i run make install i get this error.


linux:/home/kilahchris/Nintendo/fakenes # make install
cd src && /usr/bin/make install
make[1]: Entering directory `/home/kilahchris/Nintendo/fakenes/src'
gcc -c apu.c -o apu.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
apu.c: In function `apu_process':
apu.c:1459: warning: use of cast expressions as lvalues is deprecated
apu.c:1469: warning: use of cast expressions as lvalues is deprecated
apu.c: In function `apu_process_stereo':
apu.c:1800: warning: use of cast expressions as lvalues is deprecated
apu.c:1801: warning: use of cast expressions as lvalues is deprecated
apu.c:1808: warning: use of cast expressions as lvalues is deprecated
apu.c:1809: warning: use of cast expressions as lvalues is deprecated
gcc -c audio.c -o audio.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c core.c -o core.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c cpu.c -o cpu.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c data.c -o data.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c gui.c -o gui.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c input.c -o input.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c papu.c -o papu.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c ppu.c -o ppu.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c rom.c -o rom.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c main.c -o main.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c mmc.c -o mmc.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c netplay.c -o netplay.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c video.c -o video.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c crc32.c -o crc32.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c support/unzip.c -o support/unzip.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc support/coreoff.c -o support/coreoff `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE -s
/bin/chmod +x support/coreoff
./support/coreoff > support/coreoff.inc
nasm corex86.asm -o corex86.o -Iinclude/ -Isupport/ -O3 -f elf -DC_LABELS_PREFIX
make[1]: nasm: Command not found
make[1]: *** [corex86.o] Error 127
make[1]: Leaving directory `/home/kilahchris/Nintendo/fakenes/src'
make: *** [install] Error 2
linux:/home/kilahchris/Nintendo/fakenes #

does anyone have any ideas on why this is not compiling ???

gbhil 06-26-2005 01:49 PM

You need the Netwide Assembler Compilier (or an equiv.)
http://sourceforge.net/projects/nasm

Look for the "nasm" package for SUSE via your package manager

Komakino 06-26-2005 03:03 PM

Quote:

Originally posted by gbhil
You need the Netwide Assembler Compilier (or an equiv.)
http://sourceforge.net/projects/nasm

Look for the "nasm" package for SUSE via your package manager

The Netwide ASseMbler...not compiler!!

Kilahchris 06-27-2005 11:59 PM

now when installed the nasm package i get this error below???






linux:/home/kilahchris/Nintendo/fakenes # make install
cd src && /usr/bin/make install
make[1]: Entering directory `/home/kilahchris/Nintendo/fakenes/src'
gcc -c apu.c -o apu.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
apu.c: In function `apu_process':
apu.c:1459: warning: use of cast expressions as lvalues is deprecated
apu.c:1469: warning: use of cast expressions as lvalues is deprecated
apu.c: In function `apu_process_stereo':
apu.c:1800: warning: use of cast expressions as lvalues is deprecated
apu.c:1801: warning: use of cast expressions as lvalues is deprecated
apu.c:1808: warning: use of cast expressions as lvalues is deprecated
apu.c:1809: warning: use of cast expressions as lvalues is deprecated
gcc -c audio.c -o audio.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c core.c -o core.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c cpu.c -o cpu.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c data.c -o data.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c gui.c -o gui.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c input.c -o input.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c papu.c -o papu.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c ppu.c -o ppu.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c rom.c -o rom.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c main.c -o main.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c mmc.c -o mmc.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c netplay.c -o netplay.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c video.c -o video.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c crc32.c -o crc32.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc -c support/unzip.c -o support/unzip.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE
gcc support/coreoff.c -o support/coreoff `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DLSB_FIRST -DPOSIX -DNO_C_CORE -s
/bin/chmod +x support/coreoff
./support/coreoff > support/coreoff.inc
nasm corex86.asm -o corex86.o -Iinclude/ -Isupport/ -O3 -f elf -DC_LABELS_PREFIX
gcc apu.o audio.o core.o cpu.o data.o gui.o input.o papu.o ppu.o rom.o main.o mmc.o netplay.o video.o crc32.o support/unzip.o corex86.o -o fakenes `allegro-config --libs` -lz
gui.o(.text+0x262c): In function `sl_text':
include/gui/objects.h:39: undefined reference to `gui_textout_ex'
gui.o(.text+0x264f):include/gui/objects.h:44: undefined reference to `gui_textout_ex'
gui.o(.text+0x2b57): In function `sl_draw_menu_item':
include/gui/objects.h:402: undefined reference to `gui_textout_ex'
gui.o(.text+0x2b8a):include/gui/objects.h:404: undefined reference to `gui_textout_ex'
gui.o(.text+0x2e97):include/gui/objects.h:412: undefined reference to `gui_textout_ex'
gui.o(.text+0x2ed0):include/gui/objects.h:414: more undefined references to `gui_textout_ex' follow
gui.o(.text+0x36f1): In function `gui_message':
/home/kilahchris/Nintendo/fakenes/src/gui.c:175: undefined reference to `textout_centre_ex'
gui.o(.text+0x3747):/home/kilahchris/Nintendo/fakenes/src/gui.c:177: undefined reference to `textout_centre_ex'
gui.o(.text+0x79a3): In function `sl_frame':
include/gui/objects.h:189: undefined reference to `textout_ex'
gui.o(.text+0x79ca):include/gui/objects.h:191: undefined reference to `textout_ex'
video.o(.text+0x8af): In function `video_blit':
/home/kilahchris/Nintendo/fakenes/src/video.c:1205: undefined reference to `textout_ex'
video.o(.text+0x923):/home/kilahchris/Nintendo/fakenes/src/video.c:1208: undefined reference to `textprintf_ex'
video.o(.text+0xc48):/home/kilahchris/Nintendo/fakenes/src/video.c:413: undefined reference to `textout_ex'
video.o(.text+0xc70):/home/kilahchris/Nintendo/fakenes/src/video.c:415: undefined reference to `textout_ex'
video.o(.text+0xd40):/home/kilahchris/Nintendo/fakenes/src/video.c:413: undefined reference to `textout_ex'
video.o(.text+0xdc7):/home/kilahchris/Nintendo/fakenes/src/video.c:413: undefined reference to `textout_ex'
video.o(.text+0xde2):/home/kilahchris/Nintendo/fakenes/src/video.c:415: undefined reference to `textout_ex'
video.o(.text+0xe1e):/home/kilahchris/Nintendo/fakenes/src/video.c:413: more undefined references to `textout_ex' follow
video.o(.text+0xeb8): In function `video_blit':
/home/kilahchris/Nintendo/fakenes/src/video.c:431: undefined reference to `textprintf_ex'
video.o(.text+0xee5):/home/kilahchris/Nintendo/fakenes/src/video.c:433: undefined reference to `textprintf_ex'
video.o(.text+0xf21):/home/kilahchris/Nintendo/fakenes/src/video.c:438: undefined reference to `textprintf_ex'
video.o(.text+0xf4d):/home/kilahchris/Nintendo/fakenes/src/video.c:440: undefined reference to `textprintf_ex'
video.o(.text+0xf7a):/home/kilahchris/Nintendo/fakenes/src/video.c:448: undefined reference to `textprintf_ex'
video.o(.text+0xfa7):/home/kilahchris/Nintendo/fakenes/src/video.c:450: more undefined references to `textprintf_ex' follow
video.o(.text+0x1087): In function `video_blit':
/home/kilahchris/Nintendo/fakenes/src/video.c:413: undefined reference to `textout_ex'
video.o(.text+0x10ae):/home/kilahchris/Nintendo/fakenes/src/video.c:415: undefined reference to `textout_ex'
video.o(.text+0x11a3):/home/kilahchris/Nintendo/fakenes/src/video.c:413: undefined reference to `textout_ex'
video.o(.text+0x11c6):/home/kilahchris/Nintendo/fakenes/src/video.c:415: undefined reference to `textout_ex'
video.o(.text+0x14cc):/home/kilahchris/Nintendo/fakenes/src/video.c:999: undefined reference to `textout_ex'
video.o(.text+0x1625):/home/kilahchris/Nintendo/fakenes/src/video.c:726: more undefined references to `textout_ex' follow
collect2: ld returned 1 exit status
make[1]: *** [fakenes] Error 1
make[1]: Leaving directory `/home/kilahchris/Nintendo/fakenes/src'


any ideas on why im getting this error?


any
make: *** [install] Error 2


All times are GMT -5. The time now is 06:32 PM.