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

Tarandeep Gill taran.iota at gmail.com
Wed Jan 7 22:38:57 CET 2009


Ok. I found out what was wrong, as someone has already pointed in this
mailing list, I had to make a local branch. But now I get the
following error:
--------------------------------------------------------------------------------------------
scripts/kconfig/conf -s arch/arm/Kconfig
  CHK     include/linux/version.h
  GEN     /home/taran/Openmoko/linux-2.6/GTA03/Makefile
  CHK     include/linux/utsrelease.h
"2.6.28-GTA03_origin/my-andy-tracking_03a07f0da5734683-g03a07f0-dirty"
exceeds 64 characters
make[1]: *** [include/linux/utsrelease.h] Error 1
make: *** [sub-make] Error 2
make: INTERNAL: Exiting with 6 jobserver tokens available; should be 5!
--------------------------------------------------------------------------------------------


 - Tarandeep

On Wed, Jan 7, 2009 at 4:34 PM, Tarandeep Gill <taran.iota at gmail.com> wrote:
> 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