|
发表于 2011-11-22 22:16:39
|
显示全部楼层
在chroot后编译glibc 出现如下错误
a - elf/tlsdesc.o
a - elf/dl-tlsdesc.o
./scripts/mkinstalldirs /tools/data/glibc-build/linkobj
mkdir /tools/data/glibc-build/linkobj
(cd /tools/data/glibc-build/linkobj; \
/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar x ../libc_pic.a; \
rm $(/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//'); \
/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar x ../sunrpc/librpc_compat_pic.a; \
/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar cr libc_pic.a *.os; \
rm *.os)
/bin/sh: command substitution: line 3: syntax error near unexpected token `)'
/bin/sh: command substitution: line 3: `/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//')'
make[1]: *** [/tools/data/glibc-build/linkobj/libc_pic.a] Error 1
make[1]: Leaving directory `/tools/data/glibc-2.14.1'
make: *** [all] Error 2 |
|