LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-26-2005, 12:35 PM   #1
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Rep: Reputation: 30
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 ???
 
Old 06-26-2005, 01:49 PM   #2
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
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
 
Old 06-26-2005, 03:03 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
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!!
 
Old 06-27-2005, 11:59 PM   #4
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
new to compiling. Phebes Red Hat 5 09-18-2004 01:13 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
FakeNES won't install GT_Onizuka Linux - Software 5 10-18-2003 12:48 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM


All times are GMT -5. The time now is 05:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration