PDA

View Full Version : [ubuntu] Error in installing spim



eyescythe
July 21st, 2010, 03:25 PM
Hello Everyone!

Im installing spim on ubuntu which i got from SPIM MIPS Simulator (http://pages.cs.wisc.edu/%7Elarus/spim.html).
Ive followed the steps but suddenly i got these following errors.



jars@jars-desktop:~/Desktop/spim/spim-8.0/xspim$ xmkmf
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/lib/X11/config
<stdin>:1:19: error: stdio.h: No such file or directory
<stdin>:2:19: error: ctype.h: No such file or directory
<stdin>: In function ‘main’:
<stdin>:18: error: ‘NULL’ undeclared (first use in this function)
<stdin>:18: error: (Each undeclared identifier is reported only once
<stdin>:18: error: for each function it appears in.)
<stdin>:45: warning: incompatible implicit declaration of built-in function ‘sscanf’
<stdin>:49: warning: incompatible implicit declaration of built-in function ‘printf’
Aborted




im stucked right there and i dont know what to do. can anyone help me? http://cboard.cprogramming.com/images/smilies/biggrin.gif

Thanks in advance!
Have a nice day!