On Mon, Oct 22, 2007 at 03:40:12PM +0200, Tobias Vogel wrote:
> Thanks, yes, thats what i did, i used the x86-book, and the error 
> occured as described.
> What to do?
> 
 Provide more information ?  So far, we can infer that you are using
the stable book (glibc-2.4), but we don't know where you are in the
book.  What is your host distro ?  Is it _old_ (no TLS, so possibly
a 2.4 kernel, or at least built against 2.4 headers) ?

> >   
> >> In file included from ../include/tls.h:6,
> >>                  from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:26,
> >>                  from <stdin>:1:
> >> ../nptl/sysdeps/x86_64/tls.h:23:47: error: asm/prctl.h: No such file or 
> >> directory
> >> ../nptl/sysdeps/x86_64/tls.h:62:3: error: #error "TLS support is required."
> >> make[2]: *** [/sources/glibc-build/tcb-offsets.h] Error 1
> >>     
> > [...]

 The missing asm/prctl.h looks significant - I assume it is an
internal glibc header, which ought to get created during the build.
If all else fails, try logging both the configure and the compile
and then search for references to prctl.h.

 Assuming you are in the early part of the book, check all of the
environment variables listed in the book are set correctly.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
Clfs-support@lists.cross-lfs.org
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to