Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
[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
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
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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.