Firefly开源社区

标题: android5.1编译错误 [打印本页]

作者: ban    时间: 2016-12-8 17:15
标题: 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
编译步骤不对吧?
make firefly-rk3288_defconfig之后是
make -j8 firefly-rk3288.img

作者: ban    时间: 2016-12-9 14:48
我的编译步骤:
make firefly-rk3288-reload_defconfig
make -j8 firefly-rk3288-reload.img
. build.sh
make -j8
作者: ban    时间: 2016-12-9 14:58
暴走的阿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
那估计编译环境还没装好,可以单独装一下,有可能漏装一些
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
是有些库没有安装把




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1