|
楼主 |
发表于 2006-8-25 12:55:18
|
显示全部楼层
Post by huandong
本人系统:
uname -a
Linux woaiwojia 2.6.15-26-amd64-k8 #1 SMP PREEMPT Thu Aug 3 03:11:38 UTC 2006 x86_64 GNU/Linux
gcc --version
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
本程序是自由软件;请参看源代码的版权声明。本软件没有任何担保;
包括没有适销性和适用性担保。
小弟是菜鸟,按照CLFS2.0 ARM进行操作,前面都顺利,操作到 5.6. Glibc-2.4 Headers时出错,错误如下:
..........................
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/clfs/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/clfs/glibc-2.4'
make[1]: Entering directory `/mnt/clfs/glibc-2.4'
{ echo '#include "posix/bits/posix1_lim.h"'; \
echo '#define _LIBC 1'; \
echo '#include "misc/sys/uio.h"'; } | \
gcc -E -dM -MD -MP -MF /mnt/clfs/glibc-build/bits/stdio_lim.dT -MT '/mnt/clfs/glibc-build/bits/stdio_lim.h /mnt/clfs/glibc-build/bits/stdio_lim.d' \
........................................................
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/clfs/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 ...
/usr/bin/install -c -m 644 include/limits.h /mnt/clfs/usr/include/limits.h
/usr/bin/install -c -m 644 include/values.h /mnt/clfs/usr/include/values.h
/usr/bin/install -c -m 644 include/features.h /mnt/clfs/usr/include/features.h
/usr/bin/install -c -m 644 include/gnu-versions.h /mnt/clfs/usr/include/gnu-versions.h
/usr/bin/install -c -m 644 nptl/sysdeps/pthread/bits/libc-lock.h /mnt/clfs/usr/include/bits/libc-lock.h
/usr/bin/install -c -m 644 include/bits/xopen_lim.h /mnt/clfs/usr/include/bits/xopen_lim.h
/usr/bin/install -c -m 644 include/gnu/libc-version.h /mnt/clfs/usr/include/gnu/libc-version.h
/usr/bin/install -c -m 644 /mnt/clfs/glibc-build/gnu/lib-names.h /mnt/clfs/usr/include/gnu/lib-names.h
/usr/bin/install: cannot stat `/mnt/clfs/glibc-build/gnu/lib-names.h': No such file or directory
make[1]: *** [/mnt/clfs/usr/include/gnu/lib-names.h] Error 1
make[1]: Leaving directory `/mnt/clfs/glibc-2.4'
make: *** [install-headers] Error 2
为了避免不必要的麻烦,小弟是完全按照CLFS 2.0 ARM一步一步操作的,至此出了这个错误,小弟找遍FAQ 和 mailing list也没有找到答案,还请各位大侠帮忙啊!!!!!!!!
我没用过Ubuntu,不太清楚Ubuntu的一些环境,但感觉可能是mawk导致的问题,LFS中是使用Gawk的,两者可能有些区别。 |
|