Trouble Building Kernel

shawnzier at gmail.com shawnzier at gmail.com
Tue Sep 9 04:26:25 CEST 2008


I wanted to build a kernel to get some drivers as modules instead of built-in. I followed

http://wiki.openmoko.org/wiki/Toolchain

When I went to build the kernel, I had to change the 'build' script to point to the toolchain. After that was fixed, I got this error when running the 'build' script.

# configuration written to .config
#
+ VERSION=
+ '[' -d .git ']'
++ git show --pretty=oneline
++ cut '-d ' -f1
++ cut -b1-16
++ head -n1
+ HEAD=ca19d156400f8179
++ git branch
++ grep '^*'
++ cut '-d ' -f2
+ BRANCH='(no'
+ VERSION='-(no_ca19d156400f8179'
+ make -j5 ARCH=arm 'EXTRAVERSION=-(no_ca19d156400f8179'
  CHK     include/linux/version.h
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-s3c2410
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo 2.6.24-(no_ca19d156400f8179 > include/config/kernel.release'
make: *** [include/config/kernel.release] Error 2
make: INTERNAL: Exiting with 6 jobserver tokens available; should be 5!
+ exit 1


Anybody have any idea what might be wrong here?





More information about the community mailing list