Error Glibc Chapter5

Jim Gifford lfs at jg555.com
Thu Oct 26 13:11:55 PDT 2006


Vince Greg wrote:
> Hi,
> My host system is Suse 10.1 X86_64
> I'm not using optimisation but I have these errors on Glibc chapter 5
>
> Thanks for your help
> sed '/^[        ]*#/d;s/^[      ]*%/#/' nptl/shlib-versions
> nptl_db/shlib-versions shlib-versions \
> | gcc -B/tools/bin/ -E -undef  -Iinclude -I. -I/mnt/lfs/sources/glibc-build
> -Ilibio -Inptl -I/mnt/lfs/sources/glibc-build -Isysdeps/x86_64/elf
> -Inptl/sysdeps/unix/sysv/linux/x86_64 -Inptl/sysdeps/unix/sysv/linux
> -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysdeps/unix/sysv
> -Inptl/sysdeps/unix -Inptl/sysdeps/x86_64 -Isysdeps/unix/sysv/linux/x86_64
> -Isysdeps/unix/sysv/linux/wordsize-64 -Isysdeps/unix/sysv/linux
> -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet
> -Isysdeps/unix/sysv -Isysdeps/unix/x86_64 -Isysdeps/unix -Isysdeps/posix
> -Isysdeps/x86_64/fpu -Isysdeps/x86_64 -Isysdeps/wordsize-64
> -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32
> -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.0.3/include
> -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include
> include/libc-symbols.h       \
>            -DASSEMBLER -x assembler-with-cpp - \
>            > /mnt/lfs/sources/glibc-build/shlib-versions.v.iT
> mv -f /mnt/lfs/sources/glibc-build/shlib-versions.v.iT
> /mnt/lfs/sources/glibc-build/shlib-versions.v.i
> sed '/^[        ]*#/d;/^[       ]*$/d'
> /mnt/lfs/sources/glibc-build/shlib-versions.v.i >
> /mnt/lfs/sources/glibc-build/shlib-versions.vT
> mv -f /mnt/lfs/sources/glibc-build/shlib-versions.vT
> /mnt/lfs/sources/glibc-build/shlib-versions.v
> gawk -v default_setname='' \
>        -v config='x86_64-unknown-linux-gnu' \
>        -f scripts/soversions.awk
> /mnt/lfs/sources/glibc-build/shlib-versions.v >
> /mnt/lfs/sources/glibc-build/soversions.iT
> mv -f /mnt/lfs/sources/glibc-build/soversions.iT
> /mnt/lfs/sources/glibc-build/soversions.i
> sed '/^[        ]*#/d;s/^[      ]*%/#/' Versions.def \
> | gcc -B/tools/bin/ -E -undef  -Iinclude -I. -I/mnt/lfs/sources/glibc-build
> -Ilibio -Inptl -I/mnt/lfs/sources/glibc-build -Isysdeps/x86_64/elf
> -Inptl/sysdeps/unix/sysv/linux/x86_64 -Inptl/sysdeps/unix/sysv/linux
> -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysdeps/unix/sysv
> -Inptl/sysdeps/unix -Inptl/sysdeps/x86_64 -Isysdeps/unix/sysv/linux/x86_64
> -Isysdeps/unix/sysv/linux/wordsize-64 -Isysdeps/unix/sysv/linux
> -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet
> -Isysdeps/unix/sysv -Isysdeps/unix/x86_64 -Isysdeps/unix -Isysdeps/posix
> -Isysdeps/x86_64/fpu -Isysdeps/x86_64 -Isysdeps/wordsize-64
> -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32
> -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.0.3/include
> -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include
> include/libc-symbols.h       \
>            -DASSEMBLER -x assembler-with-cpp - \
>            > /mnt/lfs/sources/glibc-build/Versions.def.v.iT
> mv -f /mnt/lfs/sources/glibc-build/Versions.def.v.iT
> /mnt/lfs/sources/glibc-build/Versions.def.v.i
> sed '/^[        ]*#/d;/^[       ]*$/d'
> /mnt/lfs/sources/glibc-build/Versions.def.v.i >
> /mnt/lfs/sources/glibc-build/Versions.def.vT
> mv -f /mnt/lfs/sources/glibc-build/Versions.def.vT
> /mnt/lfs/sources/glibc-build/Versions.def.v
> { while read lib version setname; do \
>     test -z "$setname" || echo "$lib : $setname"; \
>   done < /mnt/lfs/sources/glibc-build/soversions.i; \
>   cat /mnt/lfs/sources/glibc-build/Versions.def.v; \ } | LC_ALL=C gawk -f
> scripts/firstversions.awk > /mnt/lfs/sources/glibc-build/Versions.allT
> mv -f /mnt/lfs/sources/glibc-build/Versions.allT
> /mnt/lfs/sources/glibc-build/Versions.all
> LC_ALL=C gawk -v oldest_abi=default -f scripts/abi-versions.awk
> /mnt/lfs/sources/glibc-build/Versions.all >
> /mnt/lfs/sources/glibc-build/abi-versions.hT
> mv -f /mnt/lfs/sources/glibc-build/abi-versions.hT
> /mnt/lfs/sources/glibc-build/abi-versions.h
> rm -f /mnt/lfs/sources/glibc-build/tls.makeT
> /mnt/lfs/sources/glibc-build/tls.make.dT
> (echo '# Generated from tls.make.c by Makerules.'; \
>  gcc -B/tools/bin/ -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
> -Wwrite-strings -g      -Iinclude -I. -I/mnt/lfs/sources/glibc-build
> -Ilibio -Inptl -I/mnt/lfs/sources/glibc-build -Isysdeps/x86_64/elf
> -Inptl/sysdeps/unix/sysv/linux/x86_64 -Inptl/sysdeps/unix/sysv/linux
> -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysdeps/unix/sysv
> -Inptl/sysdeps/unix -Inptl/sysdeps/x86_64 -Isysdeps/unix/sysv/linux/x86_64
> -Isysdeps/unix/sysv/linux/wordsize-64 -Isysdeps/unix/sysv/linux
> -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet
> -Isysdeps/unix/sysv -Isysdeps/unix/x86_64 -Isysdeps/unix -Isysdeps/posix
> -Isysdeps/x86_64/fpu -Isysdeps/x86_64 -Isysdeps/wordsize-64
> -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32
> -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.0.3/include
> -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include
> include/libc-symbols.h       -E tls.make.c \
>        -MD -MP -MT '$(common-objpfx)tls.make' -MF
> /mnt/lfs/sources/glibc-build/tls.make.dT \
>  | sed -n '/@@@/{s/@@@[  ]*\(.*\)@@@/\1/;s/[     ]*$//p;}'; \
>  echo 'common-generated += tls.make'; \
>  sed -e 's@ /mnt/lfs/sources/glibc-build/@ $(common-objpfx)@g' -e
> 's@^/mnt/lfs/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\([^   \/$][^
> \]*\)@ $(..)\1 at g' -e 's@^\([^   \/$][^  \]*\)@$(..)\1 at g'
> /mnt/lfs/sources/glibc-build/tls.make.dT; \
>  rm -f /mnt/lfs/sources/glibc-build/tls.make.dT) >
> /mnt/lfs/sources/glibc-build/tls.makeT
> In file included from include/tls.h:6,
>                  from tls.make.c:3:
> nptl/sysdeps/x86_64/tls.h:23:47: error: asm/prctl.h: No such file or
> directory mv -f /mnt/lfs/sources/glibc-build/tls.makeT
> /mnt/lfs/sources/glibc-build/tls.make
> sed '/^[        ]*#/d;s/^[      ]*%/#/' csu/Versions assert/Versions
> ctype/Versions locale/Versions intl/Versions catgets/Versions math/Versions
> setjmp/Versions signal/Versions stdlib/Versions stdio-common/Versions
> libio/Versions malloc/Versions string/Versions wcsmbs/Versions time/Versions
> dirent/Versions grp/Versions pwd/Versions posix/Versions io/Versions
> termios/Versions resource/Versions misc/Versions socket/Versions
> sysvipc/Versions gmon/Versions iconv/Versions wctype/Versions
> shadow/Versions argp/Versions crypt/Versions nptl/Versions nss/Versions
> rt/Versions debug/Versions nptl_db/Versions inet/Versions resolv/Versions
> hesiod/Versions sunrpc/Versions nis/Versions streams/Versions login/Versions
> dlfcn/Versions elf/Versions nptl/sysdeps/unix/sysv/linux/x86_64/Versions
> nptl/sysdeps/unix/sysv/linux/Versions
> sysdeps/unix/sysv/linux/x86_64/Versions sysdeps/unix/sysv/linux/Versions
> sysdeps/unix/sysv/Versions sysdeps/wordsize-64/Versions \
> | gcc -B/tools/bin/ -E -undef  -Iinclude -I. -I/mnt/lfs/sources/glibc-build
> -Ilibio -Inptl -I/mnt/lfs/sources/glibc-build -Isysdeps/x86_64/elf
> -Inptl/sysdeps/unix/sysv/linux/x86_64 -Inptl/sysdeps/unix/sysv/linux
> -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysdeps/unix/sysv
> -Inptl/sysdeps/unix -Inptl/sysdeps/x86_64 -Isysdeps/unix/sysv/linux/x86_64
> -Isysdeps/unix/sysv/linux/wordsize-64 -Isysdeps/unix/sysv/linux
> -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet
> -Isysdeps/unix/sysv -Isysdeps/unix/x86_64 -Isysdeps/unix -Isysdeps/posix
> -Isysdeps/x86_64/fpu -Isysdeps/x86_64 -Isysdeps/wordsize-64
> -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32
> -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.0.3/include
> -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include
> include/libc-symbols.h       \
>            -DASSEMBLER -x assembler-with-cpp - \
>            > /mnt/lfs/sources/glibc-build/Versions.v.iT
> In file included from include/tls.h:6,
>                  from <stdin>:1:
> nptl/sysdeps/x86_64/tls.h:23:47: error: asm/prctl.h: No such file or
> directory
> make[1]: *** [/mnt/lfs/sources/glibc-build/Versions.v.i] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.6'
> make: *** [all] Error 2
>
>   
You need to follow CLFS, http://cross-lfs.org. We cover all non x86 builds.



More information about the lfs-support mailing list