shell编译问题

s_h_5*2_1再次编译出现错误:

build_android.sh: 9: build_android.sh: pushd: not found
build_android.sh: 10: build_android.sh: source: not found
build_android.sh: 12: [: SHIP: unexpected operator
build_android.sh: 15: build_android.sh: choosecombo: not found


网上很多english的论坛说了很多都没有解决我的问题,还是国内的如下一句话解决了我的问题:

make出现错误 /bin/sh: pushd: not found

   This has to do with /bin/sh being linked to /bin/dash instead of /bin/bash in ubuntu’s    latest releases. To fix it once and for all do the following:

   # rm -f /bin/sh

   # ln -s /bin/bash /bin/sh


问题2:

/bin/bash: glib-genmarshal: command not found
/bin/bash: line 1: glib-mkenums: command not found

解决:

sudo apt-get install libglib2.0-dev


问题3:

selected multilib '32' not installed

sudo apt-get install g++-4.4-multilib


问题4:

imcompitable version of liblzo2 and libuuid

解决:

在64位上安装的版本不能用,在32位ubuntu上安装后将32位版本的lzo2和uuid拷贝过来编译通过。

你可能感兴趣的:(LINUX_KERNEL)