编译cm11出错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编译cm11出错相关的知识,希望对你有一定的参考价值。
In file included from frameworks/av/media/libstagefright/AwesomePlayer.cpp:29:0:
frameworks/av/media/libstagefright/include/AwesomePlayer.h: In constructor 'android::AwesomePlayer::AwesomePlayer()':
frameworks/av/media/libstagefright/include/AwesomePlayer.h:415:10: warning: 'android::AwesomePlayer::mReadRetry' will be initialized after [-Wreorder]
frameworks/av/media/libstagefright/include/AwesomePlayer.h:222:10: warning: 'bool android::AwesomePlayer::mIsFirstFrameAfterResume' [-Wreorder]
frameworks/av/media/libstagefright/AwesomePlayer.cpp:218:1: warning: when initialized here [-Wreorder]
frameworks/av/media/libstagefright/AwesomePlayer.cpp: In member function 'android::status_t android::AwesomePlayer::finishSetDataSource_l()':
frameworks/av/media/libstagefright/AwesomePlayer.cpp:2903:62: error: expected primary-expression before ')' token
还是不行
LinuxMint 18 编译cm 笔记
1安装软件
sudo apt-get install gedit git-core gnupg flex bison gperf libsdl1.2-dev libesd0-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 gcc-multilib maven tmux screen w3m ncftp ccache
2 安装repo
mkdir ~/bin
git clone git://aosp.tuna.tsinghua.edu.cn/android/git-repo.git/
cp git-repo/repo ~/bin/
3 设置环境
gedit ~/.bashrc
source ~/.bashrc
alias repo="~/bin/repo"
export USE_CCACHE=1
export CCACHE_DIR=/media/changyuet/cache/ccache
4 同步源码
cd /media/changyuet/android/
mkdir CM13
cd CM13
repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0
repo sync --no-clone-bundle -c -j4
5 编译
. build/envsetup.sh
prebuilts/misc/linux-x86/ccache/ccache -M 50G
brunch xxx
or
lunch
make -j8 otapackage
以上是关于编译cm11出错的主要内容,如果未能解决你的问题,请参考以下文章
vcs生成覆盖率时,条件编译的顶层会被当做不同的项目,合并覆盖率时会出错,怎么解决
CyanogenMod 11.0模拟器goldfish的编译方法及下载地址
编译 Angular 11(从 Angular 9 升级)应用程序时出错
plt.scatter(X[0, :], X[1, :], c=Y, s=40, cmap=plt.cm.Spectral)出错