Gstreamer cross Compilation for arm

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Gstreamer cross Compilation for arm

1,805 Views
sarahblessie
Contributor I

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    grammar.tab.o
  LINK  libgstparse.la
  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

Regards,

Sarah

Labels (3)
0 Kudos
2 Replies

890 Views
joanxie
NXP TechSupport
NXP TechSupport

why don' t you use freescale bsp? which includes corss compilation for arm, the old version is linux3.0.101. the latest version is 3.10.53

0 Kudos

890 Views
sarahblessie
Contributor I

I have a vayu evm board and trying to compile it for the board

0 Kudos