Fedora Linux Support Community & Resources Center
  #1  
Old 30th May 2009, 02:26 PM
Triple777ER Offline
Registered User
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 5
Installing SPIM MIPS Emulator

Hello people,

This is my first post on FedoraForum. This comes about as I am having difficulty installing the MIPS emulator on my PC. I am currently a university student and have an assignment which requires the emulator on my home PC so I can work at home.

Here is what I have done so far;

- I have manually installed it from http://pages.cs.wisc.edu/~larus/spim.html, using the instructions on the page.

-Next, when I installed 'X-windows'(not sure if my Fedora had it installed already but I installed it again using yum)

-When I come to the step where it says 'xmkmf' and 'make'. The 'xmkmf' step works fine, but when I enter 'make', it builds the files but shows up with a lot of errors which regard to the 'xspim.c' file in the directory. Some of these errors are;
Quote:
xspim.c:871: error: expected ‘;’ before ‘compose’
xspim.c:872: error: ‘compose’ undeclared (first use in this function)
xspim.c: In function ‘put_console_char’:
xspim.c:909: error: ‘shell1’ undeclared (first use in this function)
xspim.c:909: error: ‘XtGrabNone’ undeclared (first use in this function)
xspim.c:912: error: ‘console’ undeclared (first use in this function)
xspim.c: In function ‘error’:
xspim.c:928: error: ‘message’ undeclared (first use in this function)
xspim.c: In function ‘run_error’:
xspim.c:962: error: ‘message’ undeclared (first use in this function)
xspim.c: At top level:
xspim.c:972: error: expected ‘)’ before ‘w’
-I looked up previous forums and found this on ubuntu forums which mentions the necessary packages required;
Quote:
flex bison byacc libx11-dev libxaw7-dev build-essential linux-headers-`uname -r`
-And another website which shows the required packages, here; http://www.nepherte.be/spim-on-linux/

-I have checked whether I have the packages and I have all of them installed. Is this a problem to do with the '.c' file or the specified directory for installation?

Cheers
Triple
Reply With Quote
  #2  
Old 30th May 2009, 02:34 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
What's wrong with using the fedora repo that they provide ?

http://www.cs.wisc.edu/cbi/downloads/


Install the release rpm then use yum to install spim
Reply With Quote
  #3  
Old 30th May 2009, 02:42 PM
Triple777ER Offline
Registered User
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 5
Hey Leigh,

I tried doing that, and it says;
Quote:
Examining cbi-package-config-10-10.i386.rpm: cbi-package-config-10-10.i386
cbi-package-config-10-10.i386.rpm: does not update installed package.
Nothing to do
Looks like I already have it installed.
Reply With Quote
  #4  
Old 30th May 2009, 02:44 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
OK, try


Code:
su
yum  install spim
Reply With Quote
  #5  
Old 30th May 2009, 02:49 PM
Triple777ER Offline
Registered User
 
Join Date: May 2009
Location: Sydney, Australia
Posts: 5
Hey Leigh,

I have installed Spim, but I need XSpim. I have all the required files for Xspim.
I tried
Quote:
yum install xspim
but looks like there isn't any such package.
Reply With Quote
Reply

Tags
emulator, installing, mips, spim

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac os x emulator mathan Using Fedora 6 3rd October 2009 09:00 PM
ps2 emulator for F7 available? dlux45 Gamers' Lounge 7 29th December 2007 05:07 AM
Mac OS X Emulator? NinjaTails Using Fedora 16 18th May 2007 04:14 PM
DOS Emulator? RichGags Using Fedora 11 28th January 2006 01:31 PM
xp emulator Random_hero_au Using Fedora 3 10th January 2005 09:47 AM


Current GMT-time: 21:31 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat