Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-26-2005 #1Just Joined!
- Join Date
- Jan 2003
- Posts
- 46
compiling Fakenes problems
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 ???
- 06-26-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Yes.
That's why it's not compiling.. it requires that "nasm", which is an assembler compiler or something like that. Get the package for your distro, and install it and re-run the make command.asm 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'serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 06-28-2005 #3Just Joined!
- Join Date
- Jan 2003
- Posts
- 46
I installed Nasm package for Suse 9.0
I know get this error when trying to compile fakenes.
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+0xc4
:/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+0xeb
: 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'
make: *** [install] Error 2


Reply With Quote
