gstreamer-1.91 compiling error on ubuntu for android

tony 842513780 at qq.com
Sat Jul 30 04:59:23 UTC 2016


hello everybody,
       i am a new guys on gstreamer and i have successfully compiling 
tutorial5 for android with gstreamer-1.0-android-arm-1.5.91.tar.bz2 and
running successfully on my android phone, but when i switch android lib to
newest gstreamer-1.0-android-arm-1.9.1.tar.bz2, there is following error, i
don't know what happen with it, can anybody give me some hint or help me,
thanks a lot!
      the environment is ubuntu14.04 64bit and use android studio 2.1.2, the
error message as below:

:app:processDebugAndroidTestResources
:app:generateDebugAndroidTestSources
:app:incrementalDebugJavaCompilationSafeguard
:app:ndkBuild
GStreamer      : [GEN] => gst-build-armeabi/gstreamer_android.c
/bin/bash: -c: line 1: syntax error: unexpected end of file
/bin/sh: 2: 	/bin/sed "s/@PLUGINS_REGISTRATION@/
GST_PLUGIN_STATIC_REGISTER(coreelements); 
GST_PLUGIN_STATIC_REGISTER(adder);  GST_PLUGIN_STATIC_REGISTER(app); 
GST_PLUGIN_STATIC_REGISTER(audioconvert); 
GST_PLUGIN_STATIC_REGISTER(audiorate); 
GST_PLUGIN_STATIC_REGISTER(audioresample); 
GST_PLUGIN_STATIC_REGISTER(audiotestsrc);  GST_PLUGIN_STATIC_REGISTER(gio); 
GST_PLUGIN_STATIC_REGISTER(pango); 
GST_PLUGIN_STATIC_REGISTER(typefindfunctions); 
GST_PLUGIN_STATIC_REGISTER(videoconvert); 
GST_PLUGIN_STATIC_REGISTER(videorate); 
GST_PLUGIN_STATIC_REGISTER(videoscale); 
GST_PLUGIN_STATIC_REGISTER(videotestsrc); 
GST_PLUGIN_STATIC_REGISTER(volume);  GST_PLUGIN_STATIC_REGISTER(autodetect); 
GST_PLUGIN_STATIC_REGISTER(videofilter); 
GST_PLUGIN_STATIC_REGISTER(playback);  GST_PLUGIN_STATIC_REGISTER(subparse); 
GST_PLUGIN_STATIC_REGISTER(ogg);  GST_PLUGIN_STATIC_REGISTER(theora); 
GST_PLUGIN_STATIC_REGISTER(vorbis);  GST_PLUGIN_STATIC_REGISTER(opus); 
GST_PLUGIN_STATIC_REGISTER(ivorbisdec);  GST_PLUGIN_STATIC_REGISTER(alaw); 
GST_PLUGIN_STATIC_REGISTER(apetag); 
GST_PLUGIN_STATIC_REGISTER(audioparsers); 
GST_PLUGIN_STATIC_REGISTER(auparse);  GST_PLUGIN_STATIC_REGISTER(avi); 
GST_PLUGIN_STATIC_REGISTER(dv);  GST_PLUGIN_STATIC_REGISTER(flac); 
GST_PLUGIN_STATIC_REGISTER(flv);  GST_PLUGIN_STATIC_REGISTER(flxdec); 
GST_PLUGIN_STATIC_REGISTER(icydemux);  GST_PLUGIN_STATIC_REGISTER(id3demux); 
GST_PLUGIN_STATIC_REGISTER(isomp4);  GST_PLUGIN_STATIC_REGISTER(jpeg); 
GST_PLUGIN_STATIC_REGISTER(matroska);  GST_PLUGIN_STATIC_REGISTER(mulaw); 
GST_PLUGIN_STATIC_REGISTER(multipart);  GST_PLUGIN_STATIC_REGISTER(png); 
GST_PLUGIN_STATIC_REGISTER(speex);  GST_PLUGIN_STATIC_REGISTER(taglib); 
GST_PLUGIN_STATIC_REGISTER(vpx);  GST_PLUGIN_STATIC_REGISTER(wavenc); 
GST_PLUGIN_STATIC_REGISTER(wavpack);  GST_PLUGIN_STATIC_REGISTER(wavparse); 
GST_PLUGIN_STATIC_REGISTER(y4menc);  GST_PLUGIN_STATIC_REGISTER(adpcmdec); 
GST_PLUGIN_STATIC_REGISTER(adpcmenc); 
GST_PLUGIN_STATIC_REGISTER(dashdemux); 
GST_PLUGIN_STATIC_REGISTER(dvbsuboverlay); 
GST_PLUGIN_STATIC_REGISTER(dvdspu);  GST_PLUGIN_STATIC_REGISTER(hls); 
GST_PLUGIN_STATIC_REGISTER(id3tag);  GST_PLUGIN_STATIC_REGISTER(kate); 
GST_PLUGIN_STATIC_REGISTER(midi);  GST_PLUGIN_STATIC_REGISTER(mxf); 
GST_PLUGIN_STATIC_REGISTER(openh264); 
GST_PLUGIN_STATIC_REGISTER(opusparse); 
GST_PLUGIN_STATIC_REGISTER(pcapparse);  GST_PLUGIN_STATIC_REGISTER(pnm); 
GST_PLUGIN_STATIC_REGISTER(rfbsrc);  GST_PLUGIN_STATIC_REGISTER(schro); 
GST_PLUGIN_STATIC_REGISTER(gstsiren); 
GST_PLUGIN_STATIC_REGISTER(smoothstreaming); 
GST_PLUGIN_STATIC_REGISTER(subenc); 
GST_PLUGIN_STATIC_REGISTER(videoparsersbad); 
GST_PLUGIN_STATIC_REGISTER(y4mdec);  GST_PLUGIN_STATIC_REGISTER(jpegformat); 
GST_PLUGIN_STATIC_REGISTER(gdp);  GST_PLUGIN_STATIC_REGISTER(rsvg); 
GST_PLUGIN_STATIC_REGISTER(openjpeg);  GST_PLUGIN_STATIC_REGISTER(spandsp); 
GST_PLUGIN_STATIC_REGISTER(androidmedia);  GST_PLUGIN_STATIC_REGISTER(tcp); 
GST_PLUGIN_STATIC_REGISTER(rtsp);  GST_PLUGIN_STATIC_REGISTER(rtp); 
GST_PLUGIN_STATIC_REGISTER(rtpmanager);  GST_PLUGIN_STATIC_REGISTER(soup); 
GST_PLUGIN_STATIC_REGISTER(udp);  GST_PLUGIN_STATIC_REGISTER(dataurisrc); 
GST_PLUGIN_STATIC_REGISTER(sdp);  GST_PLUGIN_STATIC_REGISTER(srtp); 
GST_PLUGIN_STATIC_REGISTER(rtspclientsink); 
GST_PLUGIN_STATIC_REGISTER(opensles);  GST_PLUGIN_STATIC_REGISTER(opengl); 
GST_PLUGIN_STATIC_REGISTER(asfmux);  GST_PLUGIN_STATIC_REGISTER(dtsdec); 
GST_PLUGIN_STATIC_REGISTER(faad);  GST_PLUGIN_STATIC_REGISTER(mpegpsdemux); 
GST_PLUGIN_STATIC_REGISTER(mpegpsmux); 
GST_PLUGIN_STATIC_REGISTER(mpegtsdemux); 
GST_PLUGIN_STATIC_REGISTER(mpegtsmux); 
GST_PLUGIN_STATIC_REGISTER(voaacenc);  GST_PLUGIN_STATIC_REGISTER(a52dec); 
GST_PLUGIN_STATIC_REGISTER(amrnb);  GST_PLUGIN_STATIC_REGISTER(amrwbdec); 
GST_PLUGIN_STATIC_REGISTER(asf);  GST_PLUGIN_STATIC_REGISTER(dvdsub); 
GST_PLUGIN_STATIC_REGISTER(dvdlpcmdec);  GST_PLUGIN_STATIC_REGISTER(mad); 
GST_PLUGIN_STATIC_REGISTER(mpeg2dec);  GST_PLUGIN_STATIC_REGISTER(xingmux); 
GST_PLUGIN_STATIC_REGISTER(realmedia);  GST_PLUGIN_STATIC_REGISTER(x264); 
GST_PLUGIN_STATIC_REGISTER(lame);  GST_PLUGIN_STATIC_REGISTER(mpg123); 
GST_PLUGIN_STATIC_REGISTER(libav);/g" | \: File name too long
/bin/sh: 3: 	/bin/sed "s/@G_IO_MODULES_LOAD@/
GST_G_IO_MODULE_LOAD(gnutls);/g" | \: not found
/bin/sh: 4: 	/bin/sed "s/@G_IO_MODULES_DECLARE@/
GST_G_IO_MODULE_DECLARE(gnutls);/g" > gst-build-armeabi/gstreamer_android.c:
not found
make: *** [genstatic_armeabi] Error 127
:app:ndkBuild FAILED
Error:Execution failed for task ':app:ndkBuild'.
> Process 'command '/home/tony/android_ndk/android-ndk-r12b/ndk-build''
> finished with non-zero exit value 2
Information:BUILD FAILED
Information:Total time: 1.949 secs
Information:1 error
Information:0 warnings
Information:See complete output in console



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-1-91-compiling-error-on-ubuntu-for-android-tp4678908.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list