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;
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;
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?