[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No luck with libc compilation - missing l4/arch.h file (?)

From: Dawid Gajownik
Subject: No luck with libc compilation - missing l4/arch.h file (?)
Date: Wed, 23 Feb 2005 19:48:46 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a6) Gecko/20050111


I wanted to add libc compilation to this script: but compilation of libc always
fails with this error:


In file included from ../include/tls.h:6,
                 from <stdin>:2:
../nptl/sysdeps/l4/hurd/i386/tls.h:153:21: l4/arch.h: No such file or
make[5]: ***
Error 1
make[5]: Leaving directory
make[4]: *** [csu/subdir_lib] Error 2


(Here's the whole output ->

I do not understand it, because this command shows me something like this:

address@hidden src]$ find /opt/hurd hurd-l4 -name arch.h
address@hidden src]$

/opt/hurd - I install here Hurd-on-L4
hurd-l4-build - directory inside hurd-l4 sources where I compile things
(in hurd-l4-build/libc I keep libc sources)

What I did:
- at first I downloaded libc sources as it's written in libc/README file
(BTW I may be wrong but according to this patch ->
some lines in libc/README file should be also updated)
- I compiled hurd-l4 with this options:

        ../configure --enable-maintainer-mode --prefix=${HURD_HOME} \
                --build=i686-linux --host=i686-gnu --without-libc

(actually I run 'hinhi build hurd-l4' - I just a bit modified hinhi
script; HURD_HOME=/opt/hurd)
- after that I copied libc sources to hurd-l4/hurd-l4-build/libc/,
changed --without-libc to --with-libc and run 'hinhi build hurd-l4'

I also tried compilation without my script by manually typing all
necesary commands - I've got the same result :/

What am I doing wrong? (Sorry that I wrote so much. I wanted to make
myself clear).



2005-02-23  Dawid Gajownik  <address@hidden>

        * libc/README: Correct options passed to configure script.
Index: libc/README
RCS file: /cvsroot/hurd/hurd-l4/libc/README,v
retrieving revision 1.4
diff -u -p -r1.4 README
--- libc/README 9 Feb 2005 21:28:17 -0000       1.4
+++ libc/README 23 Feb 2005 17:24:30 -0000
@@ -7,11 +7,11 @@ L4.
 Configuring and Building
-This directory is only built if you specify "--enable-libc" at
-configure time.
+This directory is only built if you specify "--with-libc" at configure
 Before you do this, you should first compile and install the software
-with "--disable-libc" (which is the default), to make sure that the
+with "--without-libc" (which is the default), to make sure that the
 Hurd and libl4 header files are installed and available to the

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]