compiling xenv in Mandrake 6.1
Mon, 6 Mar 2000 01:40:29 -0800
I just got EROS cross environment up and running on a Caldera distribution.
The distro came with the motherboard that I bought from Fry's. The
motherboard was built by http://www.ecs.com.tw/ and the product model is
P6SET-ML. (This mobo has built-in vga, modem, svga and nic - all Linux
Here's what I encountered during the setup:
1. Encountered that same problem with the missing file called ar in a
non-existent directory (/eros/xenv/i386-unknown-linux/bin). I created the
directory manually and copied ar into it. Then, I ran make all and then make
install inside $(EROS_ROOT)/src/xenv.
2. Encountered two missing library namely: libbfd.a and libiberty.a. the
Makefile in mkimage directory seems to be the source of the problem. I went
and edited the file and pointed the library to its proper location.
3. Make was looking for lex, but, this distro wasn't setup to use lex but
flex. So I went to /usr/bin and did a symbolic link using the command:
ln -s /usr/bin/flex /usr/bin/lex
After that, I ran make install at the $(EROS_ROOT)/src directory. Results
were OK. I was able to make an image into the floppy and run it from another