problems to make glibc-2.3.6 : /tools/include/asm/errno.h:4:31: error: asm-generic/errno.h: No such file or directory

Kai Ulrich kaiu at gmx.de
Mon Feb 12 11:42:27 PST 2007


Hallo again,

I tryed

lfs at frunk:/usr$ cp -Rv include/asm-generic/ /tools/include/asm-generic

was it a good idea ? well, make came a litle fruther.

[...]
In file included from version.c:33:
/mnt/lfs/glibc-build/csu/version-info.h:2: error: missing terminating " 
character
/mnt/lfs/glibc-build/csu/version-info.h:3: error: missing terminating " 
character
version.c:40: error: syntax error before string constant
make[2]: *** [/mnt/lfs/glibc-build/csu/version.o] Error 1
make[2]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.6/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.6'
make: *** [all] Error 2
lfs at frunk:/mnt/lfs/glibc-build$
[...]

Friendly regards
Kai Ulrich





Hallo,

I have problems to make glibc-2.3.6 under hostsystem ubuntu 6.10 and lfs
Version 6.2

see book
5. Constructing a Temporary System
5.6. Glibc-2.3.6

i did :

cp -Rv include/asm-i386 /tools/include/asm
cp -Rv include/linux /tools/include

- configure goes though
- make says /tools/include/asm/errno.h:4:31: error: asm-generic/errno.h:
No such file or directory

I found
lfs at frunk:/usr/include$ ls -all
[...]
drwxr-xr-x  2 root root   4096 Feb 11 20:55 arpa
drwxr-xr-x  2 root root   4096 Feb 11 20:55 asm
drwxr-xr-x  2 root root   4096 Feb 11 20:55 asm-generic
drwxr-xr-x  2 root root   4096 Feb 11 20:55 asm-i386
drwxr-xr-x  2 root root   4096 Feb 11 20:55 asm-x86_64
-rw-r--r--  1 root root   3607 Jan 24 17:24 assert.h
-rw-r--r--  1 root root   2284 Oct 12 18:42 autosprintf.h
[...]


lfs at frunk:/usr$ ls -all /usr/include/asm-generic/
[...]
-rw-r--r--  1 root root 5124 Feb  1 21:18 errno.h
[...]

Any ideas ?
Friendly regards
Kai Ulrich

make :
======
In file included from /tools/include/linux/errno.h:4,
                 from ../sysdeps/unix/sysv/linux/bits/errno.h:25,
                 from ../sysdeps/unix/i386/sysdep.S:22,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.S:39:
/tools/include/asm/errno.h:4:31: error: asm-generic/errno.h: No such
file or directory
make[2]: *** [/mnt/lfs/glibc-build/csu/sysdep.o] Error 1
make[2]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.6/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.6'
make: *** [all] Error 2


configure:
========

lfs at frunk:/mnt/lfs/glibc-build$ ./glibc-2.3.6/configure
--prefix=/tools     --disable-profile --enable-add-ons
--enable-kernel=2.6.0 --with-binutils=/tools/bin     --without-gd
--with-headers=/tools/include     --without-selinux
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/i386/elf
nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
nptl/sysdeps/unix/sysv nptl/sysdeps/unix nptl/sysdeps/i386/i686
nptl/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux
sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix
sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486
nptl/sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32
sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32
sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether /tools/bin/as is GNU as... yes
checking whether /tools/bin/ld is GNU ld... yes
checking for /tools/bin/as... /tools/bin/as
checking version of /tools/bin/as... 2.16.1, ok
checking for /tools/bin/ld... /tools/bin/ld
checking version of /tools/bin/ld... 2.16.1, ok
checking for pwd... /bin/pwd
checking for gcc... gcc -B/tools/bin/
checking version of gcc -B/tools/bin/... 4.0.3, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.15, ok
checking for makeinfo... no
checking for sed... sed
checking version of sed... 4.1.5, ok
checking for autoconf... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions:
makeinfo autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/bash
checking for gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/sbin/install-info
checking for bison... no
checking for signed size_t type... no
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... yes
checking for assembler .type directive prefix... @
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... yes
checking for -Bgroup option... yes
checking for libgcc_s suffix...
checking for --as-needed option... yes
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for -z execstack... yes
checking for -fpie... yes
checking for -fno-unit-at-a-time... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking if -g produces usable source locations for
assembler-with-cpp... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for DWARF2 unwind info support... no_registry_needed
checking for __builtin_expect... yes
checking for __builtin_memset... no
checking for redirection of built-in functions... yes
checking for local label subtraction... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... 12
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/unix/sysv/linux
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... yes
checking for C cleanup handling... yes
running configure fragment for sysdeps/pthread
running configure fragment for sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10 or later
checking for kernel header at least 2.6.0... ok
checking for symlinks in /tools/include... ok
running configure fragment for sysdeps/unix/common
running configure fragment for sysdeps/unix
running configure fragment for sysdeps/generic
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
lfs at frunk:/mnt/lfs/glibc-build$





More information about the lfs-support mailing list