l4-hurd
[Top][All Lists]
Advanced

[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

Hi,

I wanted to add libc compilation to this script:
http://80.55.221.90/~gajownik/hurd/hinhi/ but compilation of libc always
fails with this error:

[snip]

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
directory
make[5]: ***
[/mnt/storage/y4kk0/src/hurd-l4/hurd-l4-build/libc/libc-build/tcb-offsets.h]
Error 1
make[5]: Leaving directory
`/mnt/storage/y4kk0/src/hurd-l4/hurd-l4-build/libc/libc/csu'
make[4]: *** [csu/subdir_lib] Error 2

[snip]

(Here's the whole output ->
http://80.55.221.90/~gajownik/hurd/with-libc.log)

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

address@hidden src]$ find /opt/hurd hurd-l4 -name arch.h
/opt/hurd/include/l4/ia64/arch.h
/opt/hurd/include/l4/arch.h
hurd-l4/libl4/l4/arch.h
hurd-l4/libl4/ia32/l4/bits/gnu/arch.h
hurd-l4/libl4/ia32/l4/bits/compat/arch.h
hurd-l4/libl4/ia32/l4/bits/arch.h
hurd-l4/hurd-l4-build/include/l4/bits/compat/arch.h
hurd-l4/hurd-l4-build/include/l4/bits/gnu/arch.h
hurd-l4/hurd-l4-build/include/l4/bits/arch.h
hurd-l4/hurd-l4-build/include/l4/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 ->
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libc/README.diff?r1=1.3&r2=1.4
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).

Thanks,
Dawid

-- 

  ^_*
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
+time.
 
 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
 compiler.
 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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