Re: Compiling GNUMach
Neal H Walfield <neal@walfield.org> writes:
> Hi,
>
> > Ok, I am waaaaay over my head here...
> >
> > I've downloaded the gnumach source from prep.ai.mit.edu, I red that it
> > could be compiled in GNU/Linux bt when I run ./configure I get
>
> I do not know if those are up to date. I always get mine from cvs:
> subversions.gnu.org
Got it!
>
> > loading cache ./config.cache
> > checking host system type... i686-pc-linux-gnu
> > configure: error: sorry, this is the gnu os, not linux-gnu
> >
> > I try to set --build and --target but it always says the same...
>
> You need to cross compile. This was discussed a couple of days ago
> on this list; Look in the archives. However, I hope you tried the
> recommendations in my previous email first.
The archives were very useful, at least I'm not the only one with this
kind of problems.... as far as I can see it is prolly a problem with
the net card, since it stops around the same spot as other ppl with
net card problems; I neve do receive a scsi message, but that's prolly
because I don't have scsi... but if the driver is included it should
say something (or it may be that it's the scsi driver that's blocking
it).
Anyway, I am trying to cross compile it... and I'm having troubles
once again (I hope it isn't from the cvs source).
I do:
$./configure --enable-lpr --enable-floppy --enable-ide --build
i686-linux --host i386-gnu
And it gives:
loading cache ./config.cache
checking host system type... i386-pc-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for mawk... (cached) mawk
checking build system type... i686-pc-linux-gnu
checking for i386-gnu-gcc... (cached) i386-gnu-gcc -O
checking for gcc... (cached) i386-gnu-gcc -O
checking whether the C compiler (i386-gnu-gcc -O ) works... no
checking whether the C compiler (i386-gnu-gcc -O ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking for i386-gnu-ld... (cached) i386-gnu-ld
checking for i386-gnu-nm... (cached) i386-gnu-nm
checking for i386-gnu-mig... (cached) i386-gnu-mig
creating ./config.status
creating Makefile
linking ./i386/i386 to machine
configuring in linux
running /bin/sh ./configure --enable-lpr --enable-floppy --enable-ide --build i686-linux --host i386-gnu --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... i386-pc-gnu
creating ./config.status
creating src/.dummy
creating dev/.dummy
creating src/include/.dummy
creating dev/include/.dummy
linking ./src/include/asm-i386 to src/include/asm
linking ./dev/include/asm-i386 to dev/include/asm
configuring in i386
running /bin/sh ./configure --enable-lpr --enable-floppy --enable-ide --build i686-linux --host i386-gnu --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... i386-pc-gnu
checking build system type... i686-pc-linux-gnu
checking for i386-gnu-ld... (cached) i386-gnu-ld
checking for i386-gnu-make... (cached) make
creating ./config.status
creating Makefile
configuring in linux
running /bin/sh ./configure --enable-lpr --enable-floppy --enable-ide --build i686-linux --host i386-gnu --cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
checking host system type... i386-pc-gnu
checking build system type... i686-pc-linux-gnu
checking for i386-gnu-gcc... (cached) i386-gnu-gcc -O
checking for gcc... (cached) i386-gnu-gcc -O
checking whether the C compiler (i386-gnu-gcc -O ) works... no
checking whether the C compiler (i386-gnu-gcc -O ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking for i386-gnu-ld... (cached) i386-gnu-ld
creating ./config.status
creating Makefile
creating device-drivers.h
device-drivers.h is unchanged
I then type
$make
And it compiles up to a point when it says:
cd i386 && make all
make[1]: Entering directory `/root/gnumach/i386'
cd linux && make all
make[2]: Entering directory `/root/gnumach/i386/linux'
./config.status
creating Makefile
creating device-drivers.h
device-drivers.h is unchanged
make[2]: *** No rule to make target `dev/include/features.h', needed by `triton.d'. Stop.
make[2]: Leaving directory `/root/gnumach/i386/linux'
make[1]: *** [linux/linux.o] Error 2
make[1]: Leaving directory `/root/gnumach/i386'
make: *** [i386/sysdep.o] Error 2
Now I'm making something wrong for sure... just don't know what it
is...
(I'll keep trying though)
best regards
Frederico S. Muñoz
fsmunoz@sdf.lonestar.org
Reply to: