AnsweredAssumed Answered

Gstreamer cross Compilation for arm

Question asked by sarah blessie on May 26, 2015
Latest reply on May 29, 2015 by sarah blessie

Hi All,


I am trying to cross compile the gstreamer-0.10.25 for arm I do the following

/configure --prefix=/home/sarahblessie/gstlib/ CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ --host=arm-linux LDFLAGS=-L/home/sarahblessie/gstlib/lib CFLAGS=-I/home/sarahblessie/gstlib/include --build=i686-linux



when I give make I get following error

Making all in pkgconfig
Making all in gst
Making all in parse
  CC    lex._gst_parse_yy.o
  CC    gst.o
  CC    gstobject.o
  CC    gstbin.o
  CC    gstbuffer.o
  CC    gstbufferlist.o
  CC    gstbus.o
  CC    gstcaps.o
  CC    gstchildproxy.o
  CC    gstclock.o
  CC    gstdebugutils.o
  CC    gstelement.o
gstelement.c: In function ‘gst_element_get_request_pad’:
gstelement.c:1017:8: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
  CC    gstelementfactory.o
gstelementfactory.c: In function ‘gst_element_factory_create’:
gstelementfactory.c:419:1: error: size of array ‘_GStaticAssertCompileTimeAssertion_3’ is negative
gstelementfactory.c:418:3: error: invalid use of void expression
gstelementfactory.c:418:3: error: incompatible type for argument 1 of ‘__sync_bool_compare_and_swap’
make[4]: *** [libgstreamer_0.10_la-gstelementfactory.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




Please give me some solution, Thanks in advance