=?utf-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9A_?=build error of gstreamer SDK for android

jojo rjiejie at gmail.com
Mon Aug 19 23:55:32 PDT 2013


Hi,  
Some errors are reported as bellow when i build "gst-omx" plugin,

Have you met this issue when you build with gstreamer SDK ?


@jojo:~/code/gst-omx-0.10$ make
make  all-recursive
Making all in common
Making all in m4
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in gst
Making all in egl
  CC       libgstegl_0.10_la-egl.lo
In file included from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstelement.h:56:0,
                 from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gst.h:35,
                 from ../../gst/egl/egl.h:25,
                 from egl.c:38:
/home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstobject.h:284:3: error: unknown type name 'GStaticRecMutex'
In file included from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstpad.h:35:0,
                 from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstelement.h:57,
                 from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gst.h:35,
                 from ../../gst/egl/egl.h:25,
                 from egl.c:38:
/home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
/home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
/home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
In file included from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstelement.h:57:0,
                 from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gst.h:35,
                 from ../../gst/egl/egl.h:25,
                 from egl.c:38:
/home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
In file included from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstbin.h:27:0,
                 from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gst.h:35,
                 from ../../gst/egl/egl.h:25,
                 from egl.c:38:
/home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
In file included from /home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gst.h:71:0,
                 from ../../gst/egl/egl.h:25,
                 from egl.c:38:
/home/slomo/Projects/gstreamer/gst-sdk/cerbero/dist/android-0.10/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
egl.c: In function 'gst_egl_image_memory_pool_new':
egl.c:238:3: error: implicit declaration of function 'g_mutex_new' [-Werror=implicit-function-declaration]
egl.c:238:3: error: nested extern declaration of 'g_mutex_new' [-Werror=nested-externs]
egl.c:238:14: error: assignment makes pointer from integer without a cast [-Werror]
egl.c:239:3: error: implicit declaration of function 'g_cond_new' [-Werror=implicit-function-declaration]
egl.c:239:3: error: nested extern declaration of 'g_cond_new' [-Werror=nested-externs]
egl.c:239:14: error: assignment makes pointer from integer without a cast [-Werror]
egl.c: In function 'gst_egl_image_memory_pool_free':
egl.c:291:3: error: implicit declaration of function 'g_mutex_free' [-Werror=implicit-function-declaration]
egl.c:291:3: error: nested extern declaration of 'g_mutex_free' [-Werror=nested-externs]
egl.c:292:3: error: implicit declaration of function 'g_cond_free' [-Werror=implicit-function-declaration]
egl.c:292:3: error: nested extern declaration of 'g_cond_free' [-Werror=nested-externs]
cc1: all warnings being treated as errors
make[3]: *** [libgstegl_0.10_la-egl.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




Thanks,

- Jojo


在 2013年8月20日星期二,下午1:09,jojo 写道:

> Hi,
> I build gstreamer SDK in Mac os x (mountain lion) from source code with cerebro for android platform,
>  
> some errors are reported as bellow, someone meets this issue ?
>  
> Any hints will be helpful.
>  
>  
> @jojo:~/code/cerbero$ ./cerbero-uninstalled -c config/cross-android.cbc package gstreamer-sdk
> WARNING: Using default configuration because /Users/rjiejie/.cerbero/cerbero.cbc is missing
> WARNING: Android NDK not found
> WARNING: Android NDK not found
> Building the following recipes: gettext libiconv gnustl libffi zlib glib gtk-doc-lite gstreamer-1.0 libxml2 libogg libpng pixman expat freetype bzip2 fontconfig cairo pango libvorbis libtheora libvisual orc tremor gst-plugins-base-1.0 gst-sdk-shell jpeg speex tiff gdk-pixbuf gmp nettle libtasn1 gnutls glib-networking libsoup wavpack flac taglib libvpx libdv gst-plugins-good-1.0 fribidi libass faad2 libkate opus schroedinger libdca libmms soundtouch gst-plugins-bad-1.0 a52dec opencore-amr libdvdread libmpeg2 libmad x264 gst-plugins-ugly-1.0 gst-android-1.0 gstreamer-1.0-static gst-plugins-base-1.0-static gst-plugins-good-1.0-static gst-plugins-bad-1.0-static gst-plugins-ugly-1.0-static glib-networking-static gst-libav-1.0 gst-libav-1.0-static
> [(1/67) gettext -> already built ]
> [(2/67) libiconv -> already built ]
> [(3/67) gnustl -> already built ]
> [(4/67) libffi -> already built ]
> [(5/67) zlib -> fetch ]
> -----> Step done
> [(5/67) zlib -> extract ]
> -----> Step done
> [(5/67) zlib -> configure ]
> -----> Step done
> [(5/67) zlib -> compile ]
> Running command 'make'
> /usr/bin/libtool -o libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o  
> /usr/bin/libtool: file: adler32.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: crc32.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: deflate.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: infback.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: inffast.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: inflate.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: inftrees.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: trees.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: zutil.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: compress.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: uncompr.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: gzclose.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: gzlib.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: gzread.o is not an object file (not allowed in a library)
> /usr/bin/libtool: file: gzwrite.o is not an object file (not allowed in a library)
> make: *** [libz.a] Error 1
> ***** Error running 'package' command:
> Recipe 'zlib' failed at the build step 'compile'
>  
>  
> Thanks,
>  
> - Jojo
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130820/0ab14312/attachment-0001.html>


More information about the gstreamer-android mailing list