生成vlc-android/bin/VLC-debug.apk 出错了

  CC     libripple_plugin_la-ripple.lo
  CC     librotate_plugin_la-rotate.lo
  CC     librotate_plugin_la-motionlib.lo
../../../modules/video_filter/../control/motionlib.c: In function 'GetOrientation':
../../../modules/video_filter/../control/motionlib.c:199:1: warning: control reaches end of non-void function [-Wreturn-type]
  CC     librss_plugin_la-rss.lo
  CC     libscale_plugin_la-scale.lo
  CC     libscene_plugin_la-scene.lo
  CC     libsepia_plugin_la-sepia.lo
  CC     libsharpen_plugin_la-sharpen.lo
  CC     libsubsdelay_plugin_la-subsdelay.lo
  CC     libtransform_plugin_la-transform.lo
  CC     libwall_plugin_la-wall.lo
  CC     libwave_plugin_la-wave.lo
  CC     libgradfun_plugin_la-gradfun.lo
  CC     libyuvp_plugin_la-yuvp.lo
  CC     libantiflicker_plugin_la-antiflicker.lo
  CC     libhqdn3d_plugin_la-hqdn3d.lo
  CC     libanaglyph_plugin_la-anaglyph.lo
  CCLD   libpostproc_plugin.la
  CCLD   libswscale_plugin.la
  CCLD   libdeinterlace_plugin.la
  CCLD   libdynamicoverlay_plugin.la
  CCLD   libremoteosd_plugin.la
  CCLD   libadjust_plugin.la
  CCLD   libalphamask_plugin.la
  CCLD   libaudiobargraph_v_plugin.la
  CCLD   libball_plugin.la
  CXXLD  libblend_plugin.la
  CCLD   libblendbench_plugin.la
  CCLD   libbluescreen_plugin.la
  CCLD   libcanvas_plugin.la
  CCLD   libchain_plugin.la
  CCLD   libclone_plugin.la
  CCLD   libcolorthres_plugin.la
  CCLD   libcroppadd_plugin.la
  CCLD   liberase_plugin.la
  CCLD   libextract_plugin.la
  CCLD   libgradient_plugin.la
  CCLD   libgrain_plugin.la
  CCLD   libgaussianblur_plugin.la
  CCLD   libinvert_plugin.la
  CCLD   liblogo_plugin.la
  CCLD   libmagnify_plugin.la
  CCLD   libmarq_plugin.la
  CCLD   libmirror_plugin.la
  CCLD   libmosaic_plugin.la
  CCLD   libmotionblur_plugin.la
  CCLD   libmotiondetect_plugin.la
  CCLD   libposterize_plugin.la
  CCLD   libpsychedelic_plugin.la
  CCLD   libpuzzle_plugin.la
  CCLD   libripple_plugin.la
  CCLD   librotate_plugin.la
  CCLD   librss_plugin.la
  CCLD   libscale_plugin.la
  CCLD   libscene_plugin.la
  CCLD   libsepia_plugin.la
  CCLD   libsharpen_plugin.la
  CCLD   libsubsdelay_plugin.la
  CCLD   libtransform_plugin.la
  CCLD   libwall_plugin.la
  CCLD   libwave_plugin.la
  CCLD   libgradfun_plugin.la
  CCLD   libyuvp_plugin.la
  CCLD   libantiflicker_plugin.la
  CCLD   libhqdn3d_plugin.la
  CCLD   libanaglyph_plugin.la
make[4]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules/video_filter'
make[3]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules/video_filter'
Making all in video_output
make[3]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/modules/video_output'
make  all-am
make[4]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/modules/video_output'
  CC     libandroid_surface_plugin_la-androidsurface.lo
  CC     libfb_plugin_la-fb.lo
  CC     libvdummy_plugin_la-vdummy.lo
  CC     libvmem_plugin_la-vmem.lo
  CC     libyuv_plugin_la-yuv.lo
  CCLD   libandroid_surface_plugin.la
  CCLD   libfb_plugin.la
  CCLD   libvdummy_plugin.la
  CCLD   libvmem_plugin.la
  CCLD   libyuv_plugin.la
make[4]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules/video_output'
make[3]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules/video_output'
Making all in visualization
make[3]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/modules/visualization'
make  all-am
make[4]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/modules/visualization'
  CC     libvisual_plugin_la-visual.lo
  CC     libvisual_plugin_la-effects.lo
../../../modules/visualization/visual/visual.c: In function 'DoWork':
../../../modules/visualization/visual/visual.c:334:9: warning: call to 'harmful_delay.constprop.2' declared with attribute warning: use proper event handling instead of short delay [enabled by default]
  CC     libvisual_plugin_la-fft.lo
  CCLD   libvisual_plugin.la
make[4]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules/visualization'
make[3]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules/visualization'
Making all in arm_neon
make[3]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/modules/arm_neon'
make  all-am
make[4]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/modules/arm_neon'
  CPPAS  simple_channel_mixer.lo
  CC     libsimple_channel_mixer_neon_plugin_la-simple_channel_mixer.lo
<command-line>:0:36: warning: missing whitespace after the macro name [enabled by default]
  CPPAS  i420_yuyv.lo
<command-line>:0:25: warning: missing whitespace after the macro name [enabled by default]
  CPPAS  i422_yuyv.lo
<command-line>:0:25: warning: missing whitespace after the macro name [enabled by default]
  CPPAS  yuyv_i422.lo
  CC     libchroma_yuv_neon_plugin_la-chroma_yuv.lo
<command-line>:0:25: warning: missing whitespace after the macro name [enabled by default]
  CC     libvolume_neon_plugin_la-volume.lo
  CPPAS  amplify.lo
<command-line>:0:23: warning: missing whitespace after the macro name [enabled by default]
  CPPAS  i420_rgb.lo
  CPPAS  i420_rv16.lo
<command-line>:0:24: warning: missing whitespace after the macro name [enabled by default]
<command-line>:0:25: warning: missing whitespace after the macro name [enabled by default]
  CPPAS  nv21_rgb.lo
  CPPAS  nv12_rgb.lo
<command-line>:0:24: warning: missing whitespace after the macro name [enabled by default]
<command-line>:0:24: warning: missing whitespace after the macro name [enabled by default]
  CC     libyuv_rgb_neon_plugin_la-yuv_rgb.lo
  CCLD   libsimple_channel_mixer_neon_plugin.la
  CCLD   libchroma_yuv_neon_plugin.la
  CCLD   libvolume_neon_plugin.la
  CCLD   libyuv_rgb_neon_plugin.la
make[4]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules/arm_neon'
make[3]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules/arm_neon'
Making all in .
make[3]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/modules'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules'
make[2]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/modules'
Making all in lib
make[2]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/lib'
  GEN    ../include/vlc/libvlc_version.h
config.status: creating src/../include/vlc/libvlc_version.h

make  all-am
make[3]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/lib'
  CC     core.lo
  CC     error.lo
  CC     log.lo
  CC     playlist.lo
  CC     vlm.lo
  CC     video.lo
../../lib/vlm.c: In function 'recurse_answer':
../../lib/vlm.c:289:17: warning: comparison is always false due to limited range of data type [-Wtype-limits]
../../lib/vlm.c:303:17: warning: comparison is always false due to limited range of data type [-Wtype-limits]
../../lib/vlm.c: In function 'libvlc_vlm_get_event_manager':
../../lib/vlm.c:765:12: warning: variable 'p_vlm' set but not used [-Wunused-but-set-variable]
../../lib/video.c: In function 'get_object':
../../lib/video.c:622:9: warning: 'vlc_object_find_name' is deprecated (declared at ../../include/vlc_objects.h:51) [-Wdeprecated-declarations]
  CC     audio.lo
  CC     event.lo
  CC     event_async.lo
  CC     media.lo
../../lib/media.c: In function 'media_parse':
../../lib/media.c:594:2: warning: #warning FIXME: remove pl_Get [-Wcpp]
  CC     media_player.lo
  CC     media_list.lo
../../lib/media_list.c: In function 'libvlc_media_list_add_file_content':
../../lib/media_list.c:270:2: warning: #warning Missing error handling! [-Wcpp]
  CC     media_list_player.lo
  CC     media_library.lo
  CC     media_discoverer.lo
  CC     revision.lo
  GEN    libvlc.pc
  CCLD   libvlc.la

config.status: creating lib/libvlc.pc
make[3]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/lib'
make[2]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/lib'
Making all in test
make[2]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android/test'
make[2]: Entering directory `/home/zhangbin/vlc/android/android/vlc/android'
  GEN    cvlc
  GEN    rvlc

make[2]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android'
make[1]: Leaving directory `/home/zhangbin/vlc/android/android/vlc/android'
Building Android
cd vlc-android && rm -rf libs obj bin vlc-android/bin/VLC-debug.apk
rm -f android-libs/*.so android-libs/*.c
rm -rf vlc-android/gen java-libs/*/gen java-libs/*/bin

rm -f vlc-android/obj/local/armeabi-v7a/libvlcjni.so vlc-android/obj/local/armeabi-v7a/libiomx-ics.so vlc-android/obj/local/armeabi-v7a/libiomx-hc.so vlc-android/obj/local/armeabi-v7a/libiomx-gingerbread.so  vlc-android/jni/libvlcjni.h
Generating vlc-android/jni/libvlcjni.h
Generating android-libs/libstagefright.c
Generating android-libs/libstagefright.so
Generating android-libs/libmedia.c
Generating android-libs/libmedia.so
Generating android-libs/libutils.c
Generating android-libs/libutils.so
Generating android-libs/libbinder.c
Generating android-libs/libbinder.so


=== Building libvlcjni ===



make[1]: Entering directory `/home/zhangbin/vlc/android/android/vlc-android'
/home/zhangbin/android/android-ndk-r8e/build/core/add-application.mk:128: Android NDK: WARNING: APP_PLATFORM android-9 is larger than android:minSdkVersion 7 in ./AndroidManifest.xml    
Gdbserver      : [arm-linux-androideabi-4.6] libs/armeabi-v7a/gdbserver
Gdbsetup       : libs/armeabi-v7a/gdb.setup

Compile++ thumb  : iomx-gingerbread <= iomx.cpp
StaticLibrary  : libstdc++.a
SharedLibrary  : libiomx-gingerbread.so
Install        : libiomx-gingerbread.so => libs/armeabi-v7a/libiomx-gingerbread.so
Compile++ thumb  : iomx-hc <= iomx.cpp
SharedLibrary  : libiomx-hc.so
Install        : libiomx-hc.so => libs/armeabi-v7a/libiomx-hc.so
Compile++ thumb  : iomx-ics <= iomx.cpp
SharedLibrary  : libiomx-ics.so
Install        : libiomx-ics.so => libs/armeabi-v7a/libiomx-ics.so
Compile thumb  : vlcjni <= libvlcjni.c
In file included from jni/libvlcjni.c:30:0:
.././vlc/include/vlc_common.h: In function 'vlc_memalign':
.././vlc/include/vlc_common.h:834:5: warning: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration]
Compile thumb  : vlcjni <= aout.c
Compile thumb  : vlcjni <= thumbnailer.c
Compile thumb  : vlcjni <= pthread-condattr.c
Compile thumb  : vlcjni <= pthread-rwlocks.c
Compile thumb  : vlcjni <= pthread-once.c
Compile thumb  : vlcjni <= eventfd.c
Compile thumb  : vlcjni <= sem.c
Compile thumb  : vlcjni <= pipe2.c
Compile thumb  : vlcjni <= wcpcpy.c
Compile thumb  : vlcjni <= wcpncpy.c
Compile thumb  : vlcjni <= wcscasecmp.c
Compile thumb  : vlcjni <= wcscat.c
Compile thumb  : vlcjni <= wcschr.c
Compile thumb  : vlcjni <= wcscmp.c
Compile thumb  : vlcjni <= wcscoll.c
Compile thumb  : vlcjni <= wcscpy.c
Compile thumb  : vlcjni <= wcscspn.c
Compile thumb  : vlcjni <= wcsdup.c
Compile thumb  : vlcjni <= wcslcat.c
Compile thumb  : vlcjni <= wcslcpy.c
Compile thumb  : vlcjni <= wcslen.c
Compile thumb  : vlcjni <= wcsncasecmp.c
Compile thumb  : vlcjni <= wcsncat.c
Compile thumb  : vlcjni <= wcsncmp.c
Compile thumb  : vlcjni <= wcsncpy.c
Compile thumb  : vlcjni <= wcsnlen.c
Compile thumb  : vlcjni <= wcspbrk.c
Compile thumb  : vlcjni <= wcsrchr.c
Compile thumb  : vlcjni <= wcsspn.c
Compile thumb  : vlcjni <= wcsstr.c
Compile thumb  : vlcjni <= wcstok.c
Compile thumb  : vlcjni <= wcswidth.c
Compile thumb  : vlcjni <= wcsxfrm.c
Compile thumb  : vlcjni <= wmemchr.c
Compile thumb  : vlcjni <= wmemcmp.c
Compile thumb  : vlcjni <= wmemcpy.c
Compile thumb  : vlcjni <= wmemmove.c
Compile thumb  : vlcjni <= wmemset.c
SharedLibrary  : libvlcjni.so
Install        : libvlcjni.so => libs/armeabi-v7a/libvlcjni.so
make[1]: Leaving directory `/home/zhangbin/vlc/android/android/vlc-android'


=== Building vlc-android/bin/VLC-debug.apk for armeabi-v7a ===


date +"%Y-%m-%d" > vlc-android/assets/builddate.txt
echo `id -u -n`@`hostname` > vlc-android/assets/builder.txt
git rev-parse --short HEAD > vlc-android/assets/revision.txt

./gen-env.sh vlc-android
Buildfile: /home/zhangbin/vlc/android/android/vlc-android/build.xml


-set-mode-check:


-set-debug-files:


-check-env:


BUILD FAILED
/home/zhangbin/android/android-sdk-linux/tools/ant/build.xml:401: SDK Platform Tools component is missing. Please install it with the SDK Manager (tools/android)


apk是在vlc-android/bin 目录下生成的。

Total time: 2 seconds

make: *** [vlc-android/bin/VLC-debug.apk] Error 1
rm android-libs/libmedia.c android-libs/libutils.c android-libs/libstagefright.c android-libs/libbinder.c
root@Ubuntu32:/home/zhangbin/vlc/android/android# java
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32  use a 32-bit data model if available
    -d64  use a 64-bit data model if available
    -client  to select the "client" VM
    -server  to select the "server" VM
    -hotspot  is a synonym for the "client" VM  [deprecated]
                  The default VM is client.


    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A : separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
root@Ubuntu32:/home/zhangbin/vlc/android/android# which javac
root@Ubuntu32:/home/zhangbin/vlc/android/android# source /etc/profile
root@Ubuntu32:/home/zhangbin/vlc/android/android# which javac
/opt/sun_java/jdk1.7.0_17/bin/javac
root@Ubuntu32:/home/zhangbin/vlc/android/android# ls /opt/sun_java/jdk1.7.0_17/bin/javac
/opt/sun_java/jdk1.7.0_17/bin/javac
root@Ubuntu32:/home/zhangbin/vlc/android/android# l s /opt/sun_java/jdk1.7.0_17/bin/
appletviewer  idlj       javac           javap         jconsole  jinfo       jsadebugd  jvisualvm     pack200     rmiregistry  tnameserv  xjc
apt           jar        javadoc         java-rmi.cgi  jcontrol  jmap        jstack     keytool       policytool  schemagen    unpack200
ControlPanel  jarsigner  javafxpackager  javaws        jdb       jps         jstat      native2ascii  rmic        serialver    wsgen
extcheck      java       javah           jcmd          jhat      jrunscript  jstatd     orbd          rmid        servertool   wsimport

root@Ubuntu32:/home/zhangbin/vlc/android/android# 



============================难道是说,在host 位64的主机上编译的工具链???========================

我的工具链是x86的,不是64的。


root@Ubuntu32:/home/zhangbin/vlc/android/android#  /home/zhangbin/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -v
Using built-in specs.
COLLECT_GCC=/home/zhangbin/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
COLLECT_LTO_WRAPPER=/home/zhangbin/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86/bin/../libexec/gcc/arm-linux-androideabi/4.7/lto-wrapper
Target: arm-linux-androideabi
Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.7/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.22 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.7 --with-gdb-version=7.3.x --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.7 --with-bugurl=http://source.android.com/source/report-bugs.html --disable-bootstrap --disable-libquadmath --enable-plugins --enable-libgomp --enable-gold --enable-graphite=yes --with-cloog-version=0.17.0 --with-ppl-version=1.0 --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
Thread model: posix
gcc version 4.7 (GCC) 
root@Ubuntu32:/home/zhangbin/vlc/android/android# 

生成vlc-android/bin/VLC-debug.apk 出错了_第1张图片






你可能感兴趣的:(生成vlc-android/bin/VLC-debug.apk 出错了)