ndk vlc播放器

gavin_jin 发布于 2014/06/19 17:06
阅读 2K+
收藏 0

最近开始研究Android版的vlc,但是有个问题已经让我郁闷很久不会解决,希望路过的高手能指导一下,问题如下

在编译ndk,使用ndk-build clean,效果如下:

####@ubuntugavin:~/vlc_programe/vlc-android$ ndk-build
Android NDK: WARNING:jni/Android.mk:iomx-gingerbread: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lbinder    
Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES    
Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the    
Android NDK:     current module    
Android NDK: WARNING:jni/Android.mk:iomx-hc: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lbinder    
Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES    
Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the    
Android NDK:     current module    
Android NDK: WARNING:jni/Android.mk:iomx-ics: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lbinder    
Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES    
Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the    
Android NDK:     current module    
Android NDK: WARNING:jni/Android.mk:vlcjni: non-system libraries in linker flags: /lib/.libs/libvlc.a /src/.libs/libvlccore.a /compat/.libs/libcompat.a -ldvbpsi -lebml -lmatroska -ltag -logg -lFLAC -ltheora -lvorbis -lmpeg2 -la52 -lavformat -lavcodec -lswscale -lavutil -lpostproc -lgsm -lopenjpeg -lliveMedia -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock -lspeex -lspeexdsp -lxml2 -lpng -lgnutls -lgcrypt -lgpg-error -lnettle -lhogweed -lgmp -lfreetype -liconv -lass -lfribidi -lopus -ljpeg -ldvdnav -ldvdread -ldvdcss /home/gavin/software/linux_soft/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/libs/x86/libgnustl_static.a    
Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES    
Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the    
Android NDK:     current module   

这是什么问题或什么可能的情况?

加载中
0
gavin_jin
gavin_jin
我的问题已经解决
0
seasonMJ
seasonMJ

请问楼主是怎么解决的,能否告知?我也正遇到类似的问题,不过是在编译的时候,用eclipse下的ndk编译:

non-system libraries in linker flags: -lbinder  

0
seasonMJ
seasonMJ
之后还会报错:是android:IInterface 和 android:BpRefBase没有链接到,我使用的binder是自己 使用android源码编译出来的,源码和ndk所使用的platform一致,都是platform14
返回顶部
顶部