"/bin/sh: Syntax error: "(" unexpected" building kernel

Tarandeep Gill taran.iota at gmail.com
Wed Jan 7 22:34:18 CET 2009


I am receiving the same error, and even changing bin/sh to bin/bash
does not help.

This is what I get:

------------------------------------------------------------------------------------------
scripts/kconfig/conf -s arch/arm/Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
/bin/sh: Syntax error: "(" unexpected
make[1]: *** [include/config/kernel.release] Error 2
make: *** [sub-make] Error 2
make: INTERNAL: Exiting with 6 jobserver tokens available; should be 5!
------------------------------------------------------------------------------------------

Any help would be appreciated!

 - Tarandeep

On Mon, Dec 8, 2008 at 1:07 AM, Asheesh Laroia <openmoko at asheesh.org> wrote:
> On Mon, 8 Dec 2008, Rui Castro wrote:
>
>> Hi,
>>
>> I've been trying to compile openmoko kernel and I can't even start
>> because of this dummy error:
>> -----------------------------------------------------------------------------------------
>> $ ./build dummy
>> scripts/kconfig/conf -s arch/arm/Kconfig
>>
>> scripts/kconfig/conf -s arch/arm/Kconfig
>> CHK     include/linux/version.h
>> /bin/sh: Syntax error: "(" unexpected
>
> The script probably has bashisms.  Set /bin/sh to /bin/bash and you'll do
> fine.
>
> See "My production system has broken and I just want to get it back up!"
> at https://wiki.ubuntu.com/DashAsBinSh .
>
> -- Asheesh.
>
> --
> The Tree of Learning bears the noblest fruit, but noble fruit tastes bad.
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>




More information about the community mailing list