今天编译android源码ubuntu64位jdk1.6 3.1 遇到如下问题求解决阿大仙们?
frameworks/base/media/libstagefright/VideoSourceDownSampler.cpp: In member function 'void android::VideoSourceDownSampler::downSampleYUVImage(const android::MediaBuffer&, android::MediaBuffer**) const':
frameworks/base/media/libstagefright/VideoSourceDownSampler.cpp:90: warning: 'yuvFormat' may be used uninitialized in this function
target thumb C++: libstagefright <= frameworks/base/media/libstagefright/DataSource.cpp
In file included from frameworks/base/media/libstagefright/DataSource.cpp:20:
frameworks/base/media/libstagefright/include/SuperExtractor.h:33:29: error: NVOMX_TrackList.h: No such file or directory
frameworks/base/media/libstagefright/include/SuperExtractor.h:34:36: error: NVOMX_ParserExtensions.h: No such file or directory
In file included from frameworks/base/media/libstagefright/include/SuperExtractor.h:32,
from frameworks/base/media/libstagefright/DataSource.cpp:20:
frameworks/base/media/libstagefright/include/sfQueue.h:12: warning: 'typedef' was ignored in this declaration
In file included from frameworks/base/media/libstagefright/DataSource.cpp:20:
frameworks/base/media/libstagefright/include/SuperExtractor.h:87: error: 'ENvxStreamType' does not name a type
frameworks/base/media/libstagefright/include/SuperExtractor.h:88: error: 'ENvxStreamType' does not name a type
frameworks/base/media/libstagefright/include/SuperExtractor.h:132: error: 'NvxTrackInfo' does not name a type
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_intermediates/DataSource.o] 错误 1
make: *** 正在等待未完成的任务....
------解决方案--------------------
环境配置错误。重新搭建环境,一般拿到的android系统都是releasecode,如果是编译错误很大程度上是自己环境搭建的问题。
------解决方案--------------------
应该是编译所需要的库没装全。
------解决方案--------------------
基本上就是楼上说的那个意思了,一般拿到代码的同时,会有个叫做Readme的东西,先看看那个,它会告诉你该怎么做。我相信在那个readme里面会有提到xxx.sh的脚本之类的,会告诉你先运行那个脚本,后怎样执行,如果在你运行脚本出错的话,看看错误的log,应该会有类似于缺少xxx.lib或者xxx依赖不成立的错误,找到这些个lib,install后,确保所有的脚本执行没有任何error后就可以make你的android代码了。
------解决方案--------------------
LZ,你可是在Ubuntu下直接下载android源码?有没有遇到这个问题?麻烦帮看下!
http://topic.csdn.net/u/20110913/21/21d70f36-cac3-45d6-bcfb-af2cfe13a3b9.html?19551