LinuxQuestions.org
Review your favorite Linux distribution.
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 11-11-2003, 07:19 AM   #1
crash75uk
LQ Newbie
 
Registered: Nov 2003
Posts: 18

Rep: Reputation: 0
Angry Spim


I'm trying to compile/install the SPIM emulator app on mandrake, i've tried to follow the relevant readme instructions, but don't seem to be getting anywhere very fast.

Any ideas!!!!!

here's what i've been getting

-----------------------------------------------------------------------------------------------

[jamie@localhost spim-6.5]$ ./Configure
cc
Check if this machine is big-endian or little-endian.
This may take a few minutes.
I believe this is a little-endian machine.
Looks like a System V universe exists...
Scaning libc
nm: /usr/lib/libc.so: File format not recognized

Checking if libc on this machine contains:
vsprintf: No, I don't think
_doprnt: NO, THIS IS A PROBLEM: NO VSPRINTF AND NO _DOPRNT
SPIM WILL NOT RUN PROPERLY
vfprintf: No, I don't think
_doprnt: NO, THIS IS A PROBLEM: NO VFPRINTF AND NO _DOPRNT
SPIM WILL NOT RUN PROPERLY
strtoul: No, I don't think
strtol: No, I don't think
memcpy: No, I don't think

Checking for /usr/include/termio.h
Yes, it is there
[jamie@localhost spim-6.5]$ make
make[1]: Entering directory `/home/jamie/Documents/SPIM/spim-6.5'
flex -I -8 scanner.l
/bin/sh: line 1: flex: command not found
make[1]: *** [lex.yy.c] Error 127
make[1]: Leaving directory `/home/jamie/Documents/SPIM/spim-6.5'
make: *** [spim] Error 2
 
Old 11-11-2003, 08:14 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Well, something's wrong with your libc for a start. Secondly, you don't have flex installed, which is what
/bin/sh: line 1: flex: command not found
means. So you'll need to install that. But it probably won't work until you get your libc working, and I don't know what's wrong with that.
Guy
 
Old 11-11-2003, 08:41 AM   #3
crash75uk
LQ Newbie
 
Registered: Nov 2003
Posts: 18

Original Poster
Rep: Reputation: 0
ok, i managed to get flex installed, but how do you deal with the libc. Only thing i can think that of that may have affected libc recently would have been removing emacs(to install xemacs).
 
Old 11-11-2003, 09:23 AM   #4
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Well it says it's an unrecognised file format which sounds pretty bad to me. Try compiling some other programs which you have had success with. If these come up with similar errors then reinstall the libc package from Mandrake. One thing: have you recompiled your kernel recently? If so, did you add support for a.out and elf binaries? I think there's another one too. I'm not sure this will affect anything, but it's something to consider.
 
Old 11-12-2003, 12:46 PM   #5
crash75uk
LQ Newbie
 
Registered: Nov 2003
Posts: 18

Original Poster
Rep: Reputation: 0
How do i go about reinstalling libc???
 
Old 11-12-2003, 01:27 PM   #6
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
I would think it would be a package on Mandrake somewhere. Check your CDs or online if that's where you got your dist from
 
  


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
spim/xspim Gueron Linux - Software 0 10-12-2005 04:46 PM
Spim C++ hippo100 Programming 3 11-13-2004 02:12 PM
Installing SPIM on Mandrake! crash75uk Linux - Software 1 11-11-2003 08:09 AM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration