On 01/30/2013 10:38 PM, Yusuf Yılmaz wrote:
> when i run make command it gives an error like this:
>
> ./scripts/mkinstalldirs /sources/glibc-build/linkobj
> mkdir /sources/glibc-build/linkobj
> (cd /sources/glibc-build/linkobj; \
>   /tools/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ar 
> x ../libc_pic.a; \
>   rm
> $(/tools/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ar
> t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//'); \
>   /tools/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ar 
> x ../sunrpc/librpc_compat_pic.a; \
>   /tools/lib/gcc/i686-pc-linux-gnu/4.7.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.7.2/../../../../i686-pc-linux-gnu/bin/ar
> t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//')'
> make[2]: *** [/sources/glibc-build/linkobj/libc_pic.a] Error 1
> make[2]: Leaving directory `/sources/glibc-2.17'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/sources/glibc-build'
>
>
>
> what can i do something to fix it?
>
> my host system:
> linux 3.5.2 kernel
> debian 7.0
>
>
>

check hostreqs. On Debian system /bin/sh points to /bin/dash iirc. You 
need to set it to point to /bin/bash ... Use dpkg-reconfigure dash and 
select "no"
-- 
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