Mag. Leonhard Landrock wrote: > Hi all! > > Some time ago I got a LFS up and running. :-) > > Now I take another try with the latest version. My base system is Debian > Lenny. > > In "5.6. Glibc-2.7" make doesn' work as expected. > > As I have no idea so far where the problem is I post the whole output of make > after a second invocation. > > > [EMAIL PROTECTED]:/home/leo/mnt/lfs/sources/glibc-build$ make > make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.7 objdir=`pwd` all > make[1]: Entering directory `/home/leo/mnt/lfs/sources/glibc-2.7' > 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 po argp crypt nss localedata timezone rt conform debug > 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 > >> /home/leo/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]: *** No rule to make target > `/home/leo/mnt/lfs/sources/glibc-build/Versions.all', needed by > `/home/leo/mnt/lfs/sources/glibc-build/abi-versions.h'. Stop. > make[1]: Leaving directory `/home/leo/mnt/lfs/sources/glibc-2.7' > make: *** [all] Error 2 > > > > If I understand it right something with "mawk -f scripts/gen-sorted.awk" went > wrong. > > Maybe there is anyone who has a good idea. > > Leonhard. > I encountered the same problem when I was making my LFS on my ubuntu as host. debian and ubuntu use mawk default, and the grammers of mawk and gawk are different. you can install gawk, or you can modify the
scripts/gen-sorted.awk file manually. simply replace all the slashes / in [] to \/ (add a backslash in front of the slash) -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
