On Tue, 22 Mar 2005 11:39:17 +0100, Pierre THIERRY <[EMAIL PROTECTED]> wrote: > Hi,
Hi > I'm beginning to play with Hurd/L4, and I successfully ran a simple Hurd > without the libc, in qemu. I followed the README, but I didn't manage to > compile the Hurd/L4 with the libc: > > CONFIGURE="./configure --enable-maintainer-mode --prefix=/l4 > --build=i686-linux --host=i686-gnu" > CVS_RSH=ssh cvs -d :ext:[EMAIL PROTECTED]:/cvsroot/hurd co hurd-l4 > cd hurd-l4/ > autoreconf -f -i -s > $CONFIGURE --without-libc > make > make -C libc libc-cvs > $CONFIGURE --with-libc > make If you really followed the README, you should have made a second tree for the libc build. I don't know if that's really important, though. > And it works well until the last make, which stops on that: > > In file included from ../nptl/sysdeps/l4/hurd/i386/tls.h:153, > from ../include/tls.h:6, > from <stdin>:2: > /usr/include/l4/arch.h:37:31: l4/ia32/arch.h: No such file or directory > make[5]: *** > [/home/pierre/Logiciel/Libre/Hurd/hurd-l4/libc/libc-build/tcb-offsets.h] > Error 1 > make[5]: Leaving directory > `/home/pierre/Logiciel/Libre/Hurd/hurd-l4/libc/libc/csu' > > I didn't find any ``l4/ia32/arch.h'' neither in hurd-l4's nor in pistachio's > sources... > > What did I wrong? In fact, the compiler does not look for the headers of L4 you just built in the version without libc. There is a reason for that (we build a cross-compiler for the libc, so he only looks in the standard include path (quoting Matthieu Lemerre)). You should simply make a symlink (or a copy if you make everything on the same tree) of every file you have in hurd-l4/include/ to /usr/local. Anyway, I just tried to build it without the symlinks. It failed on the same line than you, but asking for l4/arch.h and not l4/ia32/arch.h. It built fine with the symlinks. Btw, have you used http://hurd.gnufans.org/bin/view/Hurd/QemuImageForL4 ? Regards Alexandre _______________________________________________ L4-hurd mailing list [email protected] http://lists.gnu.org/mailman/listinfo/l4-hurd
