ban 发表于 2016-12-8 17:15:09

android5.1编译错误

编译Android5.1提示错误
make firefly-rk3288_defconfig
. build.sh

host C++: libc++ <= external/libcxx/src/exception.cpp
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES/libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol std::string::_Rep::_S_empty_rep_storage
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES/libnativehelper_intermediates/JNIHelp.o: unsupported reloc 43 against global symbol std::string::_Rep::_S_empty_rep_storage

暴走的阿Sai 发表于 2016-12-9 14:45:07

编译步骤不对吧?
make firefly-rk3288_defconfig之后是
make -j8 firefly-rk3288.img

ban 发表于 2016-12-9 14:48:15

我的编译步骤:
make firefly-rk3288-reload_defconfig
make -j8 firefly-rk3288-reload.img
. build.sh
make -j8

ban 发表于 2016-12-9 14:58:49

暴走的阿Sai 发表于 2016-12-9 14:45
编译步骤不对吧?
make firefly-rk3288_defconfig之后是
make -j8 firefly-rk3288.img

我kernel已经编译通过
现在是编译Android
我的编译步骤是
我的编译步骤:
make firefly-rk3288-reload_defconfig
make -j8 firefly-rk3288-reload.img
. build.sh
make -j8

暴走的阿Sai 发表于 2016-12-9 15:40:08

那估计编译环境还没装好,可以单独装一下,有可能漏装一些
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev \
libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl \
libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 libxml2-utils \
xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev \
lib32readline-gplv2-dev gcc-multilib libswitch-perl \
libssl1.0.0 libssl-dev

shiqizheng 发表于 2017-1-13 15:47:23

是有些库没有安装把
页: [1]
查看完整版本: android5.1编译错误