LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-21-2005, 02:20 AM   #1
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Rep: Reputation: 15
Emulators


Ok I have a couple of problems here, most of them probally have simple anwsers. I'm trying to set up emulators on my latop (running Ubuntu) to work with my extensive rom collection. I'll list my questions

1) I've installed FCE Ultra bu since it confuses the hell out of me I have no idea how to use it, need help with that.

2) Failing at FCE Ultra I installed NEStra, and now I have no idea where it is or how to run it (I used apt)

3) I grabed a few other emulators that only came in source form and they wouldn't compile, any idea on what I need to do to fix that? The "no compile" problem seems to be universal.
 
Old 07-21-2005, 02:26 AM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
To use NEStra, press "Alt+F2" and type in "nestra". Alternatively, go to terminal and type in:
Code:
$ nestra
For the other emulators, go to terminal and do the following (you may want to look at the file called "INSTALL" which should be in each of their directories before doing this):
Code:
$ cd directory_of_emulator
$ ./configure
$ make
$ make install
If you have a problem during the ./configure phase, then please post the error message.

J_K9
 
Old 07-21-2005, 02:54 AM   #3
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
just typing "nestra" doesn't launch anything, and according to apt it is installed

and the errors pop up during compiling

There's way too much to cut and paste but here's a sample
Code:
apu.c:1615: error: request for member `apus' in something not a structure or union
apu.c:1617: error: request for member `mix_enable' in something not a structure or union
apu.c:1617: error: request for member `apus' in something not a structure or union
apu.c:1618: error: request for member `mix_enable' in something not a structure or union
apu.c:1618: error: request for member `apus' in something not a structure or union
apu.c:1621: error: request for member `mix_enable' in something not a structure or union
apu.c:1621: error: request for member `apus' in something not a structure or union
apu.c:1623: error: request for member `mix_enable' in something not a structure or union
apu.c:1623: error: request for member `apus' in something not a structure or union
apu.c:1629: error: request for member `mix_enable' in something not a structure or union
apu.c:1629: error: request for member `apus' in something not a structure or union
apu.c:1630: error: request for member `mix_enable' in something not a structure or union
apu.c:1630: error: request for member `apus' in something not a structure or union
apu.c:1631: error: request for member `mix_enable' in something not a structure or union
apu.c:1631: error: request for member `apus' in something not a structure or union
apu.c:1632: error: request for member `mix_enable' in something not a structure or union
apu.c:1632: error: request for member `apus' in something not a structure or union
apu.c:1633: error: request for member `mix_enable' in something not a structure or union
apu.c:1633: error: request for member `apus' in something not a structure or union
apu.c:1638: error: request for member `mix_enable' in something not a structure or union
apu.c:1640: error: request for member `ex_chip' in something not a structure or union
apu.c:1644: error: request for member `ex_chip' in something not a structure or union
apu.c:1648: error: request for member `ex_chip' in something not a structure or union
apu.c:1652: error: request for member `ex_chip' in something not a structure or union
apu.c:1656: error: request for member `ex_chip' in something not a structure or union
apu.c:1660: error: request for member `ex_chip' in something not a structure or union
apu.c:1670: error: request for member `filter_type' in something not a structure or union
apu.c:1672: error: `next_sample_left' undeclared (first use in this function)
apu.c:1673: error: `next_sample_right' undeclared (first use in this function)
apu.c:1675: error: request for member `filter_type' in something not a structure or union
apu.c:1677: error: `prev_sample_left' undeclared (first use in this function)
apu.c:1680: error: `prev_sample_right' undeclared (first use in this function)
apu.c:1683: error: request for member `filter_type' in something not a structure or union
apu.c:1691: error: request for member `filter_type' in something not a structure or union
apu.c:1719: error: `old_accum_left' undeclared (first use in this function)
apu.c:1720: error: `old_accum_right' undeclared (first use in this function)
apu.c:1747: error: syntax error before "ave_left"
apu.c:1748: error: syntax error before "ave_right"
apu.c:1769: error: `scrap1' undeclared (first use in this function)
apu.c:1771: error: `scrap2' undeclared (first use in this function)
apu.c:1798: error: request for member `sample_bits' in something not a structure or union
apu.c:1800: error: `UINT16' undeclared (first use in this function)
apu.c:1800: error: syntax error before ')' token
apu.c:1801: error: syntax error before ')' token
apu.c:1808: warning: use of cast expressions as lvalues is deprecated
apu.c:1809: warning: use of cast expressions as lvalues is deprecated
apu.c:1815: error: request for member `elapsed_cycles' in something not a structure or union
apu.c: In function `apu_setfilter':
apu.c:1827: error: request for member `filter_type' in something not a structure or union
apu.c: At top level:
apu.c:1831: error: syntax error before '*' token
apu.c: In function `apu_reset_apus':
apu.c:1838: error: `apus' undeclared (first use in this function)
apu.c: In function `apu_reset':
apu.c:1853: error: `UINT32' undeclared (first use in this function)
apu.c:1853: error: syntax error before "address"
apu.c:1857: error: request for member `elapsed_cycles' in something not a structure or union
apu.c:1858: error: request for member `queue' in something not a structure or union
apu.c:1858: error: request for member `queue' in something not a structure or union
apu.c:1858: error: request for member `queue' in something not a structure or union
apu.c:1858: error: request for member `queue' in something not a structure or union
apu.c:1859: error: request for member `q_head' in something not a structure or union
apu.c:1859: error: request for member `q_tail' in something not a structure or union
apu.c:1861: error: request for member `ex_queue' in something not a structure or union
apu.c:1861: error: request for member `ex_queue' in something not a structure or union
apu.c:1861: error: request for member `ex_queue' in something not a structure or union
apu.c:1861: error: request for member `ex_queue' in something not a structure or union
apu.c:1862: error: request for member `ex_q_head' in something not a structure or union
apu.c:1862: error: request for member `ex_q_tail' in something not a structure or union
apu.c:1863: error: request for member `ex_chip' in something not a structure or union
apu.c:1866: error: request for member `apus' in something not a structure or union
apu.c:1867: error: request for member `enable_reg' in something not a structure or union
apu.c:1868: error: request for member `enable_reg_cur' in something not a structure or union
apu.c:1871: warning: large integer implicitly truncated to unsigned type
apu.c:1871: warning: comparison is always true due to limited range of data typeapu.c:1887: error: request for member `ext' in something not a structure or union
apu.c:1888: error: request for member `ext' in something not a structure or union
apu.c: At top level:
apu.c:1933: error: syntax error before '*' token
apu.c: In function `apu_setactive':
apu.c:1935: error: `active' undeclared (first use in this function)
apu.c: In function `apu_setparams':
apu.c:1941: error: request for member `sample_rate' in something not a structure or union
apu.c:1942: error: request for member `refresh_rate' in something not a structure or union
apu.c:1943: error: request for member `sample_bits' in something not a structure or union
apu.c:1945: error: request for member `num_samples' in something not a structure or union
apu.c:1950: error: request for member `cycle_rate' in something not a structure or union
apu.c:1950: error: `INT32' undeclared (first use in this function)
apu.c:1953: error: request for member `num_samples' in something not a structure or union
apu.c: In function `apu_setmode':
apu.c:1963: error: request for member `apus' in something not a structure or union
apu.c:1966: error: request for member `apus' in something not a structure or union
apu.c:1967: error: request for member `apus' in something not a structure or union
apu.c:1970: error: request for member `apus' in something not a structure or union
apu.c:1971: error: request for member `apus' in something not a structure or union
apu.c: At top level:
apu.c:1980: error: syntax error before '*' token
apu.c: In function `apu_create':
apu.c:1982: error: `temp_apu' undeclared (first use in this function)
apu.c: At top level:
apu.c:2013: error: syntax error before '*' token
apu.c: In function `apu_destroy':
apu.c:2015: error: `src_apu' undeclared (first use in this function)
apu.c: At top level:
apu.c:2023: error: syntax error before '*' token
apu.c: In function `apu_setext':
apu.c:2025: error: `src_apu' undeclared (first use in this function)
apu.c: In function `sync_apu_register':
apu.c:2036: error: request for member `apus' in something not a structure or union
apu.c:2036: error: request for member `apus' in something not a structure or union
apu.c:2038: error: request for member `apus' in something not a structure or union
apu.c:2040: error: request for member `apus' in something not a structure or union
apu.c:2040: error: request for member `apus' in something not a structure or union
apu.c:2042: error: request for member `apus' in something not a structure or union
apu.c:2044: error: request for member `apus' in something not a structure or union
apu.c:2046: error: request for member `apus' in something not a structure or union
apu.c:2046: error: request for member `apus' in something not a structure or union
apu.c:2048: error: request for member `apus' in something not a structure or union
apu.c:2051: error: request for member `apus' in something not a structure or union
apu.c:2051: error: request for member `apus' in something not a structure or union
apu.c:2053: error: request for member `apus' in something not a structure or union
apu.c: At top level:
apu.c:2057: error: syntax error before "cpu_cycles"
apu.c: In function `sync_dmc_register':
apu.c:2061: error: request for member `apus' in something not a structure or union
apu.c:2061: error: `cpu_cycles' undeclared (first use in this function)
apu.c:2062: error: request for member `apus' in something not a structure or union
apu.c:2064: error: request for member `apus' in something not a structure or union
apu.c:2064: error: request for member `apus' in something not a structure or union
apu.c:2065: error: request for member `apus' in something not a structure or union
apu.c:2067: error: request for member `apus' in something not a structure or union
apu.c:2069: error: request for member `apus' in something not a structure or union
apu.c:2071: error: request for member `apus' in something not a structure or union
apu.c:2071: error: request for member `apus' in something not a structure or union
apu.c:2072: error: request for member `apus' in something not a structure or union
apu.c:2076: error: request for member `apus' in something not a structure or union
apu.c:2077: error: request for member `apus' in something not a structure or union
apu.c:2079: error: request for member `apus' in something not a structure or union
apu.c:2082: error: request for member `apus' in something not a structure or union
apu.c: At top level:
include/rom.h:34: error: storage size of `global_rom' isn't known
include/cpu_in.h:158: error: storage size of `cpu_block_2k_read_address' isn't known
include/cpu_in.h:208: error: storage size of `cpu_block_2k_write_address' isn't known
include/cpu_in.h:159: error: storage size of `cpu_block_2k_read_handler' isn't known
include/cpu_in.h:209: error: storage size of `cpu_block_2k_write_handler' isn't known
make[1]: *** [apu.o] Error 1
make: *** [install] Error 2

Last edited by aeuzent; 07-21-2005 at 02:56 AM.
 
Old 07-21-2005, 05:13 PM   #4
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
Ok I have discovered how to run and use FCE Ultra and NEStra, I'm not impressed with either, unless someone knows of a GUI for them somewhere.

I did get TuxNES to compile and I grabed GTuxNES (the GUI frontend) which I can't get to compile

Here are the errors
Code:
root@ubuntu:/prog/gtuxnes-0.75 # make
gcc `gtk-config --cflags` -c gtuxnes.c -o gtuxnes.o
/bin/sh: gtk-config: command not found
In file included from gtuxnes.c:12:
gtuxnes.h:27:21: gtk/gtk.h: No such file or directory
In file included from gtuxnes.h:33,
                 from gtuxnes.c:12:
panels.h:12: error: syntax error before '*' token
panels.h:13: error: syntax error before '*' token
panels.h:14: error: syntax error before '*' token
panels.h:15: error: syntax error before '*' token
panels.h:16: error: syntax error before '*' token
panels.h:17: error: syntax error before '*' token
panels.h:19: error: syntax error before '*' token
panels.h:19: warning: data definition has no type or storage class
panels.h:20: error: syntax error before '*' token
panels.h:20: error: syntax error before "gint"
panels.h:20: warning: data definition has no type or storage class
panels.h:21: error: syntax error before '*' token
panels.h:21: error: syntax error before "gint"
panels.h:22: warning: data definition has no type or storage class
In file included from gtuxnes.h:34,
                 from gtuxnes.c:12:
files.h:12: error: syntax error before '*' token
files.h:14: error: syntax error before '*' token
files.h:14: error: syntax error before '*' token
files.h:14: warning: data definition has no type or storage class
files.h:16: error: syntax error before '*' token
In file included from gtuxnes.h:35,
                 from gtuxnes.c:12:
general.h:12: error: syntax error before '*' token
general.h:12: warning: data definition has no type or storage class
In file included from gtuxnes.h:36,
                 from gtuxnes.c:12:
sound.h:12: error: syntax error before '*' token
sound.h:12: warning: data definition has no type or storage class
sound.h:13: error: syntax error before '*' token
sound.h:13: warning: data definition has no type or storage class
In file included from gtuxnes.h:37,
                 from gtuxnes.c:12:
video.h:12: error: syntax error before '*' token
video.h:12: warning: data definition has no type or storage class
video.h:13: error: syntax error before '*' token
video.h:14: error: syntax error before '*' token
video.h:15: error: syntax error before '*' token
video.h:17: error: syntax error before '*' token
video.h:17: warning: data definition has no type or storage class
In file included from gtuxnes.h:38,
                 from gtuxnes.c:12:
input.h:12: error: syntax error before '*' token
input.h:12: warning: data definition has no type or storage class
In file included from gtuxnes.h:39,
                 from gtuxnes.c:12:
debug.h:12: error: syntax error before '*' token
debug.h:12: warning: data definition has no type or storage class
In file included from gtuxnes.c:12:
gtuxnes.h:98: error: syntax error before '*' token
gtuxnes.h:98: warning: data definition has no type or storage class
gtuxnes.h:99: error: syntax error before '*' token
gtuxnes.h:99: warning: data definition has no type or storage class
gtuxnes.h:100: error: syntax error before '*' token
gtuxnes.h:100: warning: data definition has no type or storage class
gtuxnes.c:16: error: syntax error before '*' token
gtuxnes.c:16: warning: data definition has no type or storage class
gtuxnes.c:17: error: syntax error before '*' token
gtuxnes.c:17: warning: data definition has no type or storage class
gtuxnes.c: In function `popup_info_dialog':
gtuxnes.c:21: error: `GtkWidget' undeclared (first use in this function)
gtuxnes.c:21: error: (Each undeclared identifier is reported only once
gtuxnes.c:21: error: for each function it appears in.)
gtuxnes.c:21: error: `dlg' undeclared (first use in this function)
gtuxnes.c:22: error: `lbl' undeclared (first use in this function)
gtuxnes.c:23: error: `button' undeclared (first use in this function)
gtuxnes.c:27: error: invalid type argument of `->'
gtuxnes.c:27: error: `TRUE' undeclared (first use in this function)
gtuxnes.c:31: error: invalid type argument of `->'
gtuxnes.c: At top level:
gtuxnes.c:37: error: syntax error before "update_wait_progress"
gtuxnes.c:37: error: syntax error before "progress"
gtuxnes.c: In function `update_wait_progress':
gtuxnes.c:39: error: `gint' undeclared (first use in this function)
gtuxnes.c:39: error: syntax error before "curr_val"
gtuxnes.c:41: error: `curr_val' undeclared (first use in this function)
gtuxnes.c:41: error: `progress' undeclared (first use in this function)
gtuxnes.c: At top level:
gtuxnes.c:54: error: syntax error before '*' token
gtuxnes.c: In function `create_wait_dialog':
gtuxnes.c:56: error: `GtkWidget' undeclared (first use in this function)
gtuxnes.c:56: error: `lbl' undeclared (first use in this function)
gtuxnes.c:57: error: `progress' undeclared (first use in this function)
gtuxnes.c:61: warning: assignment makes pointer from integer without a cast
gtuxnes.c:62: error: invalid type argument of `->'
gtuxnes.c:63: error: `TRUE' undeclared (first use in this function)
gtuxnes.c:64: error: invalid type argument of `->'
gtuxnes.c: At top level:
gtuxnes.c:71: error: syntax error before "GtkEntry"
gtuxnes.c: In function `allocate_and_copy':
gtuxnes.c:75: error: `cmdln_switch' undeclared (first use in this function)
gtuxnes.c:76: error: `entry' undeclared (first use in this function)
gtuxnes.c: At top level:
gtuxnes.c:80: error: syntax error before "gboolean"
gtuxnes.c: In function `cleanup':
gtuxnes.c:83: error: `was_error' undeclared (first use in this function)
gtuxnes.c:85: error: `size' undeclared (first use in this function)
gtuxnes.c:86: error: `free_me' undeclared (first use in this function)
gtuxnes.c:86: error: `index' undeclared (first use in this function)
gtuxnes.c: At top level:
gtuxnes.c:89: error: syntax error before '*' token
gtuxnes.c: In function `run_tuxnes':
gtuxnes.c:99: warning: assignment makes pointer from integer without a cast
gtuxnes.c:103: error: invalid type argument of `->'
gtuxnes.c:110: error: `TRUE' undeclared (first use in this function)
gtuxnes.c:117: error: invalid type argument of `->'
gtuxnes.c:132: error: invalid type argument of `->'
gtuxnes.c:136: error: `gpointer' undeclared (first use in this function)
gtuxnes.c:136: error: syntax error before numeric constant
gtuxnes.c:137: error: syntax error before numeric constant
gtuxnes.c:173: error: invalid type argument of `->'
gtuxnes.c:188: error: invalid type argument of `->'
gtuxnes.c:203: error: invalid type argument of `->'
gtuxnes.c:218: error: invalid type argument of `->'
gtuxnes.c:221: error: invalid type argument of `->'
gtuxnes.c:223: error: invalid type argument of `->'
gtuxnes.c:233: error: invalid type argument of `->'
gtuxnes.c:235: warning: initialization from incompatible pointer type
gtuxnes.c:241: warning: assignment makes pointer from integer without a cast
gtuxnes.c:252: error: invalid type argument of `->'
gtuxnes.c:254: warning: initialization from incompatible pointer type
gtuxnes.c:260: warning: assignment makes pointer from integer without a cast
gtuxnes.c:271: error: invalid type argument of `->'
gtuxnes.c:279: error: invalid type argument of `->'
gtuxnes.c:282: error: invalid type argument of `->'
gtuxnes.c:284: error: invalid type argument of `->'
gtuxnes.c:294: error: invalid type argument of `->'
gtuxnes.c:296: error: `gchar' undeclared (first use in this function)
gtuxnes.c:296: error: `temp' undeclared (first use in this function)
gtuxnes.c:302: warning: assignment makes pointer from integer without a cast
gtuxnes.c:313: error: invalid type argument of `->'
gtuxnes.c:328: error: invalid type argument of `->'
gtuxnes.c:331: error: invalid type argument of `->'
gtuxnes.c:333: error: invalid type argument of `->'
gtuxnes.c:344: error: invalid type argument of `->'
gtuxnes.c:358: error: invalid type argument of `->'
gtuxnes.c:372: error: invalid type argument of `->'
gtuxnes.c:378: error: invalid type argument of `->'
gtuxnes.c:384: error: invalid type argument of `->'
gtuxnes.c:399: error: invalid type argument of `->'
gtuxnes.c:414: error: invalid type argument of `->'
gtuxnes.c:420: error: invalid type argument of `->'
gtuxnes.c:426: error: invalid type argument of `->'
gtuxnes.c:432: error: invalid type argument of `->'
gtuxnes.c:438: error: invalid type argument of `->'
gtuxnes.c:453: error: invalid type argument of `->'
gtuxnes.c:459: error: invalid type argument of `->'
gtuxnes.c:465: error: invalid type argument of `->'
gtuxnes.c:471: error: invalid type argument of `->'
gtuxnes.c:477: error: invalid type argument of `->'
gtuxnes.c:502: error: `FALSE' undeclared (first use in this function)
gtuxnes.c: At top level:
gtuxnes.c:506: error: syntax error before '*' token
gtuxnes.c: In function `add_page':
gtuxnes.c:508: error: `GtkWidget' undeclared (first use in this function)
gtuxnes.c:508: error: `label' undeclared (first use in this function)
gtuxnes.c:509: error: `page' undeclared (first use in this function)
gtuxnes.c:511: error: `title' undeclared (first use in this function)
gtuxnes.c:513: error: `book' undeclared (first use in this function)
gtuxnes.c: At top level:
gtuxnes.c:516: error: syntax error before "quit_gtuxnes"
gtuxnes.c:516: error: syntax error before '*' token
gtuxnes.c: In function `quit_gtuxnes':
gtuxnes.c:520: error: `FALSE' undeclared (first use in this function)
gtuxnes.c: In function `main':
gtuxnes.c:525: error: `GtkWidget' undeclared (first use in this function)
gtuxnes.c:525: error: `button' undeclared (first use in this function)
gtuxnes.c:526: error: `notebook' undeclared (first use in this function)
gtuxnes.c:527: error: `vbox' undeclared (first use in this function)
gtuxnes.c:528: error: `bbox' undeclared (first use in this function)
gtuxnes.c:533: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
gtuxnes.c:533: warning: assignment makes pointer from integer without a cast
gtuxnes.c:539: error: `FALSE' undeclared (first use in this function)
gtuxnes.c:544: error: `GTK_POS_TOP' undeclared (first use in this function)
gtuxnes.c:558: error: `GTK_BUTTONBOX_END' undeclared (first use in this function)
gtuxnes.c:578: error: `TRUE' undeclared (first use in this function)
make: *** [gtuxnes.o] Error 1

Last edited by aeuzent; 07-21-2005 at 05:14 PM.
 
  


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
Emulators space_invader64 Linux - Games 2 10-24-2005 11:13 AM
CD-emulators? art3mis Linux - Software 12 12-23-2004 04:44 PM
Using Emulators DavidTempler Linux - General 2 08-16-2004 01:17 AM
Emulators Xpiral Linux - Software 4 03-05-2004 03:28 AM
emulators brimbleshoes Linux - General 3 04-19-2002 02:34 PM


All times are GMT -5. The time now is 12:14 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