[gst-devel] issues about cross compile gst-plugins-base

Stefan Kost ensonic at hora-obscura.de
Thu Aug 2 13:29:17 CEST 2007


Raymond,

it has nothing to do with libraries. WHen building it includes files that the
compiler can't use for the target system (probably the x86 ones from your x86
host). Nothing we can help here really.

For a test rename the system /usr/include/bits/mathinline.h to e.g.
/usr/include/bits/mathinline.h.bak and recompile if it then complains about a
missing include you need to work on your crosscompiler installation to fix the
issue.

Stefan

Raymond Hung wrote:
> I've found that my include statement seems correct, so i afraid my i
> have any libraries missed out. Actually I would like to ask that the
> gst-plugin-base depends on what libraries other then gstreamer itself ?
> Thanks very much.
>  
> Regards,
> Raymond
>  
> 
> 
> 2007/7/16, Raymond Hung <raymondhwh at gmail.com
> <mailto:raymondhwh at gmail.com>>:
> 
>     ok, i will try to figure it out , thanks:)
> 
>     2007/7/16, Stefan Kost <ensonic at hora-obscura.de
>     <mailto:ensonic at hora-obscura.de>>:
> 
>         Hi,
> 
>         you need to figure out thing yourself. ximagesink does not
>         inclde this
>         direcly. Check the incude statements and -I directives. Make
>         sure only
>         paths inside your cross-compilation environmentare used. If it
>         picks
>         up a path fro m your host system try to figure out why. This is
>         quite
>         liekly the cause of the problem you face.
> 
>         Stefan
> 
>         Quoting Raymond Hung < raymondhwh at gmail.com
>         <mailto:raymondhwh at gmail.com>>:
> 
>         > Hi all,
>         >
>         > When I tried to cross compile gst-plugins-base for ARM9 , i met
>         the
>         > following error :
>         >
>         > if /bin/sh ../../libtool --tag=CC --mode=compile arm-linux-gcc
>         > -DHAVE_CONFIG_H -I. -I. -I../..    -I../../gst-libs
>         -I../../gst-libs
>         > -pthread -I/media/disk/include/gstreamer- 0.10
>         > -I/media/disk/include/glib-2.0-I/media/disk/lib/glib-
>         > 2.0/include   -pthread
>         > -I/media/disk/include/gstreamer-0.10-I/media/disk/include/glib-
>         > 2.0 -I/media/disk/lib/glib-2.0/include -Wall    
>         -DGST_DISABLE_DEPRECATED
>         > -I/usr/include -g -O2 -MT libgstximagesink_la-ximagesink.lo -MD
>         -MP -MF
>         > ".deps/libgstximagesink_la-ximagesink.Tpo" -c -o
>         libgstximagesink_la-
>         > ximagesink.lo `test -f 'ximagesink.c' || echo './'`ximagesink.c; \
>         > then mv -f ".deps/libgstximagesink_la- ximagesink.Tpo"
>         > ".deps/libgstximagesink_la-ximagesink.Plo"; else rm -f
>         > ".deps/libgstximagesink_la-ximagesink.Tpo"; exit 1; fi
>         > mkdir .libs
>         > arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs
>         > -I../../gst-libs -pthread
>         > -I/media/disk/include/gstreamer-0.10-I/media/disk/include/glib-
>         > 2.0 -I/media/disk/lib/glib- 2.0/include -pthread
>         > -I/media/disk/include/gstreamer-0.10
>         > -I/media/disk/include/glib- 2.0-I/media/disk/lib/glib-
>         > 2.0/include -Wall -DGST_DISABLE_DEPRECATED -I/usr/include -g
>         -O2 -MT
>         > libgstximagesink_la- ximagesink.lo -MD -MP -MF
>         .deps/libgstximagesink_la-
>         > ximagesink.Tpo -c ximagesink.c   -fPIC -DPIC -o
>         .libs/libgstximagesink_la-
>         > ximagesink.o
>         > /usr/include/bits/mathinline.h: In function `__atan2l':
>         > /usr/include/bits/mathinline.h:445: unknown register name
>         `st(1)' in `asm'
>         > make: *** [libgstximagesink_la-ximagesink.lo] Error 1
>         >
>         > Can anyone kindly help me? Thanks very much.
>         >
>         > Regards,
>         > Raymond
> 
> 
> 
>         -------------------------------------------------------------------------
> 
>         This SF.net email is sponsored by DB2 Express
>         Download DB2 Express C - the FREE version of DB2 express and take
>         control of your XML. No limits. Just data. Click to get it now.
>         http://sourceforge.net/powerbar/db2/
>         <http://sourceforge.net/powerbar/db2/>
>         _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel at lists.sourceforge.net
>         <mailto:gstreamer-devel at lists.sourceforge.net>
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list