2009/12/1 ekwang <[email protected]>: > Hello, > > How about to check required packages installation? > > Required Packages: > Git, JDK, flex, and the other packages as listed above in the i386 > instructions: > JDK 5.0, update 12 or higher. Java 6 is not supported, because of > incompatibilities with @Override. > Pieces from the 32-bit cross-building environment > X11 development > > $ sudo apt-get install git-core gnupg flex bison gperf build-essential > zip curl sun-java5-jdk zlib1g-dev gcc-multilib g++-multilib libc6-dev- > i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev > lib32readline5-dev lib32z-dev > > On 11월26일, 오후6시44분, Shaun <[email protected]> wrote: >> Hi all >> I'm trying to build android platform and I've get the following error >> >> So, I 've checked >> ps -p $$ >> and >> I 've tried >> source envsetup.sh >> >> Nevertheless, I've still got following error. >> >> jack...@power3:~/android/build$ . envsetup.sh >> 'bash: envsetup.sh: line 1: syntax error near unexpected token `{ >> 'bash: envsetup.sh: line 1: `function help() { >> jack...@power3:~/android/build$ > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel
What branch are you building. There was an bug in cupcake that make it not compiling on newer distros. Like it compiled on f9 and not on f11 It was fixed in donut I'm not sure but I think this is the fix ... just guessing. commit 239637eac86c8f4f92384891a8f99085039a5778 Author: Jean-Baptiste Queru <[email protected]> Date: Wed Jul 29 07:35:15 2009 -0700 findleaves.sh: Properly fix arguments. the first argument is the executable (here findleaves.sh), therefore we need to start popping from the 2nd argument (1). Conflicts: tools/findleaves.sh diff --git a/tools/findleaves.sh b/tools/findleaves.sh index 7cc0fa7..6e3aed0 100755 --- a/tools/findleaves.sh +++ b/tools/findleaves.sh @@ -86,7 +86,7 @@ filename="${!nargs}" # Print out all files that match, as long as the path isn't explicitly # pruned. This will print out extraneous results from directories whose # parents have a match. These are filtered out by the awk script below. -find "${@:0:$nargs}" $findargs -type f -name "$filename" -print | +find "${@:1:$nargs-1}" $findargs -type f -name "$filename" -print | # Only pass along the directory of each match. sed -e 's/\/[^\/]*$/\//' | -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
