Hey Ken, thanx for the attention. Here some further informations, my be it helps : >> after fixing that I got following error: >> >> In file included from version.c:33: >> /mnt/lfs/sources/glibc-build/csu/version-info.h:2: error: missing >> terminating " character >> /mnt/lfs/sources/glibc-build/csu/version-info.h:3: error: missing >> terminating " character >> version.c:40: error: syntax error before string constant >> make[2]: *** [/mnt/lfs/sources/glibc-build/csu/version.o] Error 1 >> make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.6/csu' >> make[1]: *** [csu/subdir_lib] Error 2 >> make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.6' >> make: *** [all] Error 2 >> [EMAIL PROTECTED]:/mnt/lfs/sources/glibc-build$ >> > > Did you delete the glibc-2.3.6 and glibc-build directories after > the previous errors ? If not, please do and then try again. It > would be useful if you can log the output, e.g. > 'make >../glibc-buildlog 2>&1 | tee' > If you did delete the directories, possibly there are problems with > the host packages. > I deleted them and did a new make - the same problem and message : the result in the glibc-build.log is at the end of the mail. You ganna find there the configure.log as well > I don't have any logs from LFS-6.2, but the > creation of version-info.h will be fairly similar to the glibc-2.5 I > built last week - it ran a sed on a list of files, I think to > convert one or more spaces to exactly two spaces, and then to add a > newline. > ... and here is the content of the version-info.h file ... "Compiled on a Linux 2.6.12 system on 2007-02-14.\n" "Available extensions: " " GNU libio by Per Bothner\n" " crypt add-on version 2.1 by Michael Glad and others\n" " Native POSIX Threads Library by Ulrich Drepper et al\n" " BIND-8.2.3-T5B\n" " NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk\n"
> It would be instructive to look at the first few lines of > version-info.h to see what is there. I'm suspicious about the > ubuntu version of /bin/sh - bash 3.1 and 3.2 have needed various > fixes. Or perhaps it isn't bash, I read somewhere that they install > dash as the shell for their their bootscripts, to speed them up. > > What do you get for '/bin/sh --version' ? If it is bash-3.1 and > less than 3.1.17, look to see if ubuntu has an updated version > available. Similarly 'sed --version' although I assume all recent > distros are using 4.1.5. > It seeams dash is installed like you said : [EMAIL PROTECTED]:~$ /bin/sh --version /bin/sh: Illegal option -- [EMAIL PROTECTED]:~$ ls -all /bin/sh lrwxrwxrwx 1 root root 4 2006-10-29 20:31 /bin/sh -> dash bash is is installed as well [EMAIL PROTECTED]:~$ bash --version GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc. I found something about changing the dash-link to bash http://www.ubuntu-forum.de/archive/13419/thread.html could it be an option to change the shell temporarelly? > I have a (very vague) memory of seeing this before. Ah, the good > news is that google knows about it, see > http://linuxfromscratch.org/pipermail/lfs-support/2006-October/031783.html > and the bad news is that I don't know the solution. In that case, > the poster was doing an install alongside ubuntu (on the same > partition). > ĸen > Kai glibc-build.log ========== make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.6 objdir=`pwd` all make[1]: Entering directory `/mnt/lfs/sources/glibc-2.3.6' make -C csu subdir_lib make[2]: Entering directory `/mnt/lfs/sources/glibc-2.3.6/csu' make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.6/csu' make[2]: Entering directory `/mnt/lfs/sources/glibc-2.3.6/csu' gcc -B/tools/bin/ version.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=4 -I../include -I. -I/mnt/lfs /sources/glibc-build/csu -I.. -I../libio -I../nptl -I/mnt/lfs/sources/glibc-buil d -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sy sdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/p thread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix - I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i 386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../ sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdep s/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sys deps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysde ps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I ../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt- 32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.0.3/include -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symb ols.h -DHAVE_INITFINI -o /mnt/lfs/sources/glibc-build/csu/version.o -MD -M P -MF /mnt/lfs/sources/glibc-build/csu/version.o.dt -MT /mnt/lfs/sources/glibc-b uild/csu/version.o In file included from version.c:33: /mnt/lfs/sources/glibc-build/csu/version-info.h:2: error: missing terminating " character /mnt/lfs/sources/glibc-build/csu/version-info.h:3: error: missing terminating " character version.c:40: error: syntax error before string constant make[2]: *** [/mnt/lfs/sources/glibc-build/csu/version.o] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.6/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.6' make: *** [all] Error 2 configure.log ========== [EMAIL PROTECTED]:/mnt/lfs/sources/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... makeinfo checking version of makeinfo... 4.8, ok checking for sed... sed checking version of sed... 4.1.5, ok checking for autoconf... autoconf checking whether autoconf works... yes 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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
