Im installing spim on ubuntu which i got from SPIM MIPS Simulator.
Ive followed the steps but suddenly i got these following errors.
im stucked right there and i dont know what to do. can anyone help me? :D
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’
Thanks in advance!
Have a nice day!
Did you install a C compiler?
Did you install a standard C library?
thanks man! ive fixed this error
..gosh there's many requirement to install spim
but now i have this error
ive already installed a C compiler, flex and bison...
/usr/bin/ld: cannot find -lXaw
collect2: ld returned 1 exit status
make: *** [xspim] Error 1
is there anything i need to install? (if there is one, then how do i install it?)
any comment is highly appreciated :)
Xaw - Wikipedia, the free encyclopedia
- you need to install it,
- you need to get the name correct (do you have libXaw.a)?
- you need to specify the directory (using -L) where libXaw.a can be found.
Remember, case is important. Does it really have a capital letter?
thanks a lot man!
ive completely installed spim!
now time for some programming action! :D
have a nice day!!