Hello everybody,

I am new to this mailing list and this is also my first try to build a LFS. I 
am using Linux for several years now and decided now to try to build my own 
Linux.

Ok, now for my building environment. If there are any infos missing, just ask:

Base system: Debian kernel 2.6.26-2-686
Minmal system installed, no X
I am running the system as a vmware machine

Ok, now to my problem. I tried to follow the book word by word. I say try 
because during my last try I mixed up some paths and the error occured so I 
thought I start all over again. Now all the paths are (hopefully) correct, but 
the same error occurs. 

The compilation of the binutils, gcc, gmp and mpfr went just fine without any 
errors ... or I didn´t see them but it looks all good to me.

Anyway, during the "make" of glibc I noticed that he failed to compile a 
regular expression (see log for details). I don´t know if that is important. 
Finally he breaks down when he tries to make target (Log: No rule to make 
target `/mnt/lfs/sources/glibc-build/Versions.all', needed by 
`/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.) 

??? I absolutely don´t have any clue what to do and what to fix! I guess the 
scripts are all good, so I don´t want to touch them. Anyone with an idea what 
to do? 

I would apreciate it very much if there would be someone who could help me or 
give me a hint! Many thanks in advance.

If there are any infromations missing, please ask, ok?

Thanks and greetings
Pascal


#########
--BEGIN CODE:--

make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.11.1 objdir=`pwd` all
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.11.1'
(echo 'sysd-rules-sysdirs := sysdeps/i386/elf 
nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 
nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread 
sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman 
sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv 
sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix 
sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 
sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 
sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 
sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic';    
                \
         for dir in sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 
sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 
sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread 
sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common 
sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 
nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix 
sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 
sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu 
nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 
sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 
sysdeps/generic/elf sysdeps/generic; do                                   \
           case "$dir" in                                                     \
           /*) ;;                                                             \
           *) dir="\$(..)$dir" ;;                                             \
           esac;                                                              \
           asm='.S .s';                                                       \
                                                              \
           for o in .o .os .op .og .ob .oS; do                                \
             set % % rtld-% % m_% s_% ptw-% %;                        \
             while [ $# -ge 2 ]; do                                           \
               t=$1; shift;                                                   \
               d=$1; shift;                                                   \
               v=${t%%%}; [ x"$v" = x ] || v="\$(${v}CPPFLAGS)";              \
               for s in $asm .c; do                                           \
                 echo "\$(objpfx)$t$o: $dir/$d$s \$(before-compile)";  \
                 echo " \$(compile-command$s) $v";                            \
               done;                                                          \
             done;                                                            \
           done;                                                              \
           echo "\$(inst_includedir)/%.h: $dir/%.h \$(+force)";       \
           echo "       \$(do-install)";                                      \
         done;                                                                \
         echo 'sysd-rules-done = t') > /mnt/lfs/sources/glibc-build/sysd-rulesT
mv -f /mnt/lfs/sources/glibc-build/sysd-rulesT 
/mnt/lfs/sources/glibc-build/sysd-rules
for dir in /mnt/lfs/sources/glibc-build sysdeps/i386/elf 
nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 
nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread 
sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman 
sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv 
sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix 
sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 
sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 
sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 
sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic  
nptl; do \
          test -f $dir/syscalls.list && \
          { sysdirs='sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 
sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 
sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread 
sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common 
sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 
nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix 
sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 
sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu 
nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 
sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 
sysdeps/generic/elf sysdeps/generic' \
            asm_CPP='i686-pc-linux-gnu-gcc -c  -Iinclude  
-I/mnt/lfs/sources/glibc-build -Isysdeps/i386/elf 
-Inptl/sysdeps/unix/sysv/linux/i386/i686 -Isysdeps/unix/sysv/linux/i386/i686 
-Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 
-Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread 
-Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common 
-Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 
-Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 
-Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu 
-Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 
-Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 
-Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 
-Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf 
-Isysdeps/generic -Inptl   -Ilibio -I. -nostdinc -isystem 
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.3/include -isystem 
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.3/include-fixed -isystem 
/tools/include -D_LIBC_REENTRANT -include include/libc-symbols.h       
-DASSEMBLER  -DGAS_SYNTAX -g -Wa,--noexecstack   -E -x assembler-with-cpp' \
            /bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
          test $dir = sysdeps/unix && break; \
        done > /mnt/lfs/sources/glibc-build/sysd-syscallsT
mv -f /mnt/lfs/sources/glibc-build/sysd-syscallsT 
/mnt/lfs/sources/glibc-build/sysd-syscalls
mawk -f scripts/gen-sorted.awk \
               -v subdirs='csu assert ctype locale intl catgets math setjmp 
signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix 
io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype 
manual shadow gshadow po argp crypt nss localedata timezone rt conform debug 
libidn dlfcn elf' \
               -v srcpfx='' \
               nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs 
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend 
stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend 
time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend 
rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad 
class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd 
...
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1'
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.11.1'
{ echo '#include "posix/bits/posix1_lim.h"';            \
          echo '#define _LIBC 1';                                       \
          echo '#include "misc/sys/uio.h"'; } |                 \
        i686-pc-linux-gnu-gcc -E -dM -MD -MP -MF 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.dT -MT 
'/mnt/lfs/sources/glibc-build/bits/stdio_lim.h 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.d'     \
              -Iinclude  -I/mnt/lfs/sources/glibc-build -Isysdeps/i386/elf 
-Inptl/sysdeps/unix/sysv/linux/i386/i686 -Isysdeps/unix/sysv/linux/i386/i686 
-Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 
-Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread 
-Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common 
-Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 
-Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 
-Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu 
-Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 
-Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 
-Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 
-Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf 
-Isysdeps/generic -Inptl   -Ilibio -I. -nostdinc -isystem 
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.3/include -isystem 
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.3/include-fixed -isystem 
/tools/include -xc - -o /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT
sed -e 's@ /mnt/lfs/sources/glibc-build/@ $(common-objpfx)@g' -e 
's...@^/mnt/lfs/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\([^    
\/$][^  \]*\)@ $(..)\...@g' -e 's...@^\([^         \/$][^  \]*\)@$(..)\...@g'   
                     \
            /mnt/lfs/sources/glibc-build/bits/stdio_lim.dT > 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.dt
mv -f /mnt/lfs/sources/glibc-build/bits/stdio_lim.dt 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.d
fopen_max=`sed -n 's/^#define OPEN_MAX //1p' 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.hT`;   \
        filename_max=`sed -n 's/^#define PATH_MAX //1p' 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.hT`;        \
        iov_max=`sed -n 's/^#define UIO_MAXIOV //p' 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.hT`;    \
        fopen_max=${fopen_max:-16};                                     \
        filename_max=${filename_max:-1024};                             \
        if [ -z "$iov_max" ]; then                                      \
          define_iov_max="# undef IOV_MAX";                             \
        else                                                            \
          define_iov_max="# define IOV_MAX $iov_max";                   \
        fi;                                                             \
        sed -e "s/@FOPEN_MAX@/$fopen_max/"                              \
            -e "s/@FILENAME_MAX@/$filename_max/"                        \
            -e "s/@L_tmpnam@/20/"                               \
            -e "s/@TMP_MAX@/238328/"                            \
            -e "s/@L_ctermid@/9/"                               \
            -e "s/@L_cuserid@/9/"                               \
            -e "s/@define_IOV_MAX@/$define_iov_max/"                    \
            stdio-common/stdio_lim.h.in > 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.h.new
/bin/sh scripts/move-if-change 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.h.new 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.h
rm -f /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.dT 
/mnt/lfs/sources/glibc-build/bits/stdio_lim.dt
touch /mnt/lfs/sources/glibc-build/bits/stdio_lim.st
mawk -f scripts/gen-sorted.awk \
               -v subdirs='csu assert ctype locale intl catgets math setjmp 
signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix 
io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype 
manual shadow gshadow po argp crypt nss localedata timezone rt conform debug 
libidn dlfcn elf' \
               -v srcpfx='' \
               nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs 
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend 
stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend 
time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend 
rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad 
class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd 
...
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1'
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.11.1'
mawk -f scripts/gen-sorted.awk \
               -v subdirs='csu assert ctype locale intl catgets math setjmp 
signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix 
io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype 
manual shadow gshadow po argp crypt nss localedata timezone rt conform debug 
libidn dlfcn elf' \
               -v srcpfx='' \
               nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs 
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend 
stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend 
time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend 
rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad 
class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd 
...
rm -f /mnt/lfs/sources/glibc-build/stamp.o; > 
/mnt/lfs/sources/glibc-build/stamp.o
rm -f /mnt/lfs/sources/glibc-build/stamp.os; > 
/mnt/lfs/sources/glibc-build/stamp.os
rm -f /mnt/lfs/sources/glibc-build/stamp.oS; > 
/mnt/lfs/sources/glibc-build/stamp.oS
cd /mnt/lfs/sources/glibc-build && 
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ar
 cruv libc.a `cat stamp.o`
: /mnt/lfs/sources/glibc-build/libc.a
cd /mnt/lfs/sources/glibc-build && 
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ar
 cruv libc_pic.a `cat stamp.os`
: /mnt/lfs/sources/glibc-build/libc_pic.a
cd /mnt/lfs/sources/glibc-build && 
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ar
 cruv libc_nonshared.a `cat stamp.oS`
: /mnt/lfs/sources/glibc-build/libc_nonshared.a
make[1]: *** No rule to make target 
`/mnt/lfs/sources/glibc-build/Versions.all', needed by 
`/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1'
make: *** [all] Error 2

--END CODE--
#########
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to