Hi
 
I am using the Cross-Compiled Linux From Scratch (excellent resource by the way) notes to create a mipsel toolchain on a pentium 3.  I came across a problem when trying to compile glibc-2.4:
 
mawk -f scripts/gen-sorted.awk \
       -v subdirs='csu assert ctype locale intl catgets math setjmp signalb stdio-common libio malloc string wcsmbs time dirent grp pwd posix io teresource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadargp crypt nss localedata timezone rt conform debug  dlfcn elf' \
       -v srcpfx='' \
       nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unixrs assert/Depend intl/Depend catgets/Depend stdlib/Depend stdio-common/Depbio/Depend malloc/Depend string/Depend wcsmbs/Depend time/Depend posix/Deponvdata/Depend nss/Depend localedata/Depend rt/Depend debug/Depend > /lfs/s/glibc-build/sysd-sorted-tmp
mawk: scripts/gen-sorted.awk: line 19: regular _expression_ compile failed (ass -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular _expression_ /, "", s.
make[1]: *** [/lfs/sources/glibc-build/sysd-sorted] Error 2
make[1]: Leaving directory `/lfs/sources/glibc-2.4'
make: *** [install] Error 2
[EMAIL PROTECTED] glibc-build $
 
I did what I thought was a useful fix - i changed lines 19, 59 and 65 of $LFS/sources/glibc-2.4/scripts/gen-sorted.awk
 
from:
sub(/\/[^/]+$/, "", subdir);
 
to:
sub(/\/[^\/]+$/, "", subdir);
 
this got me past the make error.
 
I tried to find the errata page to see if this bug had been reported before: http://www.linuxfromscratch.org/clfs/errata/svn/
 
and I got a "Page not found!" error.
 
Let me know if I am doing something wrong - and I hope this helps.
 
Tom Head
Aereo Networks
_______________________________________________
Clfs-support mailing list
[email protected]
http://ninja.linux-phreak.biz/mailman/listinfo/clfs-support

Reply via email to