[gst-devel] gstreamer-0.10.22 cross compile problem

yangsb yangsb05 at gmail.com
Wed Mar 18 12:32:40 CET 2009


More compiling info :
##############################################################
make[4]: Leaving directory
`/opt/dvsdk_1_30_00_40/355_gstreamer/new_gstreamer/opensource/gstreamer-0.10.22/gst/parse'
make[4]: Entering directory
`/opt/dvsdk_1_30_00_40/355_gstreamer/new_gstreamer/opensource/gstreamer-0.10.22/gst'
/bin/sh ../libtool --tag=CC   --mode=link
/opt/dvsdk_1_30_00_40/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc
-D_GNU_SOURCE -DGST_EXPORTS -DG_LOG_DOMAIN=g_log_domain_gstreamer
-DGST_MAJORMINOR=\""0.10"\" -DGST_DISABLE_DEPRECATED  -I../libs -I.. -I..
-pthread -I/home/filesys/usr/local/include/glib-2.0
-I/home/filesys/usr/local/lib/glib-2.0/include
-I/home/filesys/usr/local/include/libxml2   -Wall
-Wdeclaration-after-statement  -g    -I/home/filesys/usr/local/include
-export-symbols-regex \^_*\(gst_\|Gst\|GST_\).* -no-undefined -version-info
19:0:19  -o libgstreamer-0.10.la -rpath /home/filesys/usr/local/lib
libgstreamer_0.10_la-gst.lo libgstreamer_0.10_la-gstobject.lo
libgstreamer_0.10_la-gstbin.lo libgstreamer_0.10_la-gstbuffer.lo
libgstreamer_0.10_la-gstbus.lo libgstreamer_0.10_la-gstcaps.lo
libgstreamer_0.10_la-gstchildproxy.lo libgstreamer_0.10_la-gstclock.lo
libgstreamer_0.10_la-gstdebugutils.lo libgstreamer_0.10_la-gstelement.lo
libgstreamer_0.10_la-gstelementfactory.lo libgstreamer_0.10_la-gsterror.lo
libgstreamer_0.10_la-gstevent.lo libgstreamer_0.10_la-gstfilter.lo
libgstreamer_0.10_la-gstformat.lo libgstreamer_0.10_la-gstghostpad.lo
libgstreamer_0.10_la-gstindex.lo libgstreamer_0.10_la-gstindexfactory.lo
libgstreamer_0.10_la-gstinfo.lo libgstreamer_0.10_la-gstinterface.lo
libgstreamer_0.10_la-gstiterator.lo libgstreamer_0.10_la-gstmessage.lo
libgstreamer_0.10_la-gstminiobject.lo libgstreamer_0.10_la-gstpad.lo
libgstreamer_0.10_la-gstpadtemplate.lo libgstreamer_0.10_la-gstparamspecs.lo
libgstreamer_0.10_la-gstpipeline.lo libgstreamer_0.10_la-gstplugin.lo
libgstreamer_0.10_la-gstpluginfeature.lo libgstreamer_0.10_la-gstpoll.lo
libgstreamer_0.10_la-gstpreset.lo libgstreamer_0.10_la-gstquark.lo
libgstreamer_0.10_la-gstquery.lo libgstreamer_0.10_la-gstregistry.lo
libgstreamer_0.10_la-gstsegment.lo libgstreamer_0.10_la-gststructure.lo
libgstreamer_0.10_la-gstsystemclock.lo libgstreamer_0.10_la-gsttaglist.lo
libgstreamer_0.10_la-gsttagsetter.lo libgstreamer_0.10_la-gsttask.lo
libgstreamer_0.10_la-gsttrace.lo libgstreamer_0.10_la-gsttypefind.lo
libgstreamer_0.10_la-gsttypefindfactory.lo libgstreamer_0.10_la-gsturi.lo
libgstreamer_0.10_la-gstutils.lo libgstreamer_0.10_la-gstvalue.lo
libgstreamer_0.10_la-gstparse.lo libgstreamer_0.10_la-gstregistrybinary.lo
libgstreamer_0.10_la-gstxml.lo libgstreamer_0.10_la-gstenumtypes.lo
libgstreamer_0.10_la-gstmarshal.lo parse/libgstparse.la -pthread
-L/home/filesys/usr/local/lib -lgobject-2.0 -lgthread-2.0 -lrt -lgmodule-2.0
-lglib-2.0      -L/home/filesys/usr/local/lib -lxml2 -lpthread -lz -lm  
-lrt -ldl
libtool: link: link -dump -symbols  .libs/libgstreamer_0.10_la-gst.o
.libs/libgstreamer_0.10_la-gstobject.o .libs/libgstreamer_0.10_la-gstbin.o
.libs/libgstreamer_0.10_la-gstbuffer.o .libs/libgstreamer_0.10_la-gstbus.o
.libs/libgstreamer_0.10_la-gstcaps.o
.libs/libgstreamer_0.10_la-gstchildproxy.o
.libs/libgstreamer_0.10_la-gstclock.o
.libs/libgstreamer_0.10_la-gstdebugutils.o
.libs/libgstreamer_0.10_la-gstelement.o
.libs/libgstreamer_0.10_la-gstelementfactory.o
.libs/libgstreamer_0.10_la-gsterror.o .libs/libgstreamer_0.10_la-gstevent.o
.libs/libgstreamer_0.10_la-gstfilter.o
.libs/libgstreamer_0.10_la-gstformat.o
.libs/libgstreamer_0.10_la-gstghostpad.o
.libs/libgstreamer_0.10_la-gstindex.o
.libs/libgstreamer_0.10_la-gstindexfactory.o
.libs/libgstreamer_0.10_la-gstinfo.o
.libs/libgstreamer_0.10_la-gstinterface.o
.libs/libgstreamer_0.10_la-gstiterator.o
.libs/libgstreamer_0.10_la-gstmessage.o
.libs/libgstreamer_0.10_la-gstminiobject.o
.libs/libgstreamer_0.10_la-gstpad.o
.libs/libgstreamer_0.10_la-gstpadtemplate.o
.libs/libgstreamer_0.10_la-gstparamspecs.o
.libs/libgstreamer_0.10_la-gstpipeline.o
.libs/libgstreamer_0.10_la-gstplugin.o
.libs/libgstreamer_0.10_la-gstpluginfeature.o
.libs/libgstreamer_0.10_la-gstpoll.o .libs/libgstreamer_0.10_la-gstpreset.o
.libs/libgstreamer_0.10_la-gstquark.o .libs/libgstreamer_0.10_la-gstquery.o
.libs/libgstreamer_0.10_la-gstregistry.o
.libs/libgstreamer_0.10_la-gstsegment.o
.libs/libgstreamer_0.10_la-gststructure.o
.libs/libgstreamer_0.10_la-gstsystemclock.o
.libs/libgstreamer_0.10_la-gsttaglist.o
.libs/libgstreamer_0.10_la-gsttagsetter.o
.libs/libgstreamer_0.10_la-gsttask.o .libs/libgstreamer_0.10_la-gsttrace.o
.libs/libgstreamer_0.10_la-gsttypefind.o
.libs/libgstreamer_0.10_la-gsttypefindfactory.o
.libs/libgstreamer_0.10_la-gsturi.o .libs/libgstreamer_0.10_la-gstutils.o
.libs/libgstreamer_0.10_la-gstvalue.o .libs/libgstreamer_0.10_la-gstparse.o
.libs/libgstreamer_0.10_la-gstregistrybinary.o
.libs/libgstreamer_0.10_la-gstxml.o
.libs/libgstreamer_0.10_la-gstenumtypes.o
.libs/libgstreamer_0.10_la-gstmarshal.o   parse/.libs/libgstparse.a |  |
/bin/sed 's/.* //' | sort | uniq > .libs/libgstreamer-0.10.exp
../libtool: eval: line 951: syntax error near unexpected token `|'
../libtool: eval: line 951: `link -dump -symbols 
.libs/libgstreamer_0.10_la-gst.o .libs/libgstreamer_0.10_la-gstobject.o
.libs/libgstreamer_0.10_la-gstbin.o .libs/libgstreamer_0.10_la-gstbuffer.o
.libs/libgstreamer_0.10_la-gstbus.o .libs/libgstreamer_0.10_la-gstcaps.o
.libs/libgstreamer_0.10_la-gstchildproxy.o
.libs/libgstreamer_0.10_la-gstclock.o
.libs/libgstreamer_0.10_la-gstdebugutils.o
.libs/libgstreamer_0.10_la-gstelement.o
.libs/libgstreamer_0.10_la-gstelementfactory.o
.libs/libgstreamer_0.10_la-gsterror.o .libs/libgstreamer_0.10_la-gstevent.o
.libs/libgstreamer_0.10_la-gstfilter.o
.libs/libgstreamer_0.10_la-gstformat.o
.libs/libgstreamer_0.10_la-gstghostpad.o
.libs/libgstreamer_0.10_la-gstindex.o
.libs/libgstreamer_0.10_la-gstindexfactory.o
.libs/libgstreamer_0.10_la-gstinfo.o
.libs/libgstreamer_0.10_la-gstinterface.o
.libs/libgstreamer_0.10_la-gstiterator.o
.libs/libgstreamer_0.10_la-gstmessage.o
.libs/libgstreamer_0.10_la-gstminiobject.o
.libs/libgstreamer_0.10_la-gstpad.o
.libs/libgstreamer_0.10_la-gstpadtemplate.o
.libs/libgstreamer_0.10_la-gstparamspecs.o
.libs/libgstreamer_0.10_la-gstpipeline.o
.libs/libgstreamer_0.10_la-gstplugin.o
.libs/libgstreamer_0.10_la-gstpluginfeature.o
.libs/libgstreamer_0.10_la-gstpoll.o .libs/libgstreamer_0.10_la-gstpreset.o
.libs/libgstreamer_0.10_la-gstquark.o .libs/libgstreamer_0.10_la-gstquery.o
.libs/libgstreamer_0.10_la-gstregistry.o
.libs/libgstreamer_0.10_la-gstsegment.o
.libs/libgstreamer_0.10_la-gststructure.o
.libs/libgstreamer_0.10_la-gstsystemclock.o
.libs/libgstreamer_0.10_la-gsttaglist.o
.libs/libgstreamer_0.10_la-gsttagsetter.o
.libs/libgstreamer_0.10_la-gsttask.o .libs/libgstreamer_0.10_la-gsttrace.o
.libs/libgstreamer_0.10_la-gsttypefind.o
.libs/libgstreamer_0.10_la-gsttypefindfactory.o
.libs/libgstreamer_0.10_la-gsturi.o .libs/libgstreamer_0.10_la-gstutils.o
.libs/libgstreamer_0.10_la-gstvalue.o .libs/libgstreamer_0.10_la-gstparse.o
.libs/libgstreamer_0.10_la-gstregistrybinary.o
.libs/libgstreamer_0.10_la-gstxml.o
.libs/libgstreamer_0.10_la-gstenumtypes.o
.libs/libgstreamer_0.10_la-gstmarshal.o   parse/.libs/libgstparse.a |  |
/bin/sed 's/.* //' | sort | uniq > .libs/libgstreamer-0.10.exp'
make[4]: *** [libgstreamer-0.10.la] Error 1
make[4]: Leaving directory
`/opt/dvsdk_1_30_00_40/355_gstreamer/new_gstreamer/opensource/gstreamer-0.10.22/gst'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/opt/dvsdk_1_30_00_40/355_gstreamer/new_gstreamer/opensource/gstreamer-0.10.22/gst'
make[2]: *** [all] Error 2
#####################################################################

yangsb wrote:
> 
> Here is part of the error message : 
> 
> 
> 
> ../libtool: eval: line 951: syntax error near unexpected token `|'
> ../libtool: eval: line 951: `link -dump -symbols 
> .libs/libgstreamer_0.10_la-gst .o .libs/libgstreamer_0.10_la-gstobject.o
> .libs/libgstreamer_0.10_la-gstbin.o .l
> ibs/libgstreamer_0.10_la-gstbuffer.o .libs/libgstreamer_0.10_la-gstbus.o
> .libs/l ibgstreamer_0.10_la-gstcaps.o
> .libs/libgstreamer_0.10_la-gstchildproxy.o .libs/l
> ibgstreamer_0.10_la-gstclock.o .libs/libgstreamer_0.10_la-gstdebugutils.o
> .libs/ libgstreamer_0.10_la-gstelement.o
> .libs/libgstreamer_0.10_la-gstelementfactory.o 
> .libs/libgstreamer_0.10_la-gsterror.o
> .libs/libgstreamer_0.10_la-gstevent.o .li
> bs/libgstreamer_0.10_la-gstfilter.o .libs/libgstreamer_0.10_la-gstformat.o
> .libs /libgstreamer_0.10_la-gstghostpad.o
> .libs/libgstreamer_0.10_la-gstindex.o .libs/
> libgstreamer_0.10_la-gstindexfactory.o
> .libs/libgstreamer_0.10_la-gstinfo.o .lib
> s/libgstreamer_0.10_la-gstinterface.o
> .libs/libgstreamer_0.10_la-gstiterator.o .
> libs/libgstreamer_0.10_la-gstmessage.o
> .libs/libgstreamer_0.10_la-gstminiobject. o
> .libs/libgstreamer_0.10_la-gstpad.o
> .libs/libgstreamer_0.10_la-gstpadtemplate. o
> .libs/libgstreamer_0.10_la-gstparamspecs.o
> .libs/libgstreamer_0.10_la-gstpipel ine.o
> .libs/libgstreamer_0.10_la-gstplugin.o .libs/libgstreamer_0.10_la-gstplugi
> nfeature.o .libs/libgstreamer_0.10_la-gstpoll.o
> .libs/libgstreamer_0.10_la-gstpr eset.o
> .libs/libgstreamer_0.10_la-gstquark.o .libs/libgstreamer_0.10_la-gstquery
> .o .libs/libgstreamer_0.10_la-gstregistry.o
> .libs/libgstreamer_0.10_la-gstsegmen t.o
> .libs/libgstreamer_0.10_la-gststructure.o
> .libs/libgstreamer_0.10_la-gstsyst emclock.o
> .libs/libgstreamer_0.10_la-gsttaglist.o .libs/libgstreamer_0.10_la-gst
> tagsetter.o .libs/libgstreamer_0.10_la-gsttask.o
> .libs/libgstreamer_0.10_la-gstt race.o
> .libs/libgstreamer_0.10_la-gsttypefind.o .libs/libgstreamer_0.10_la-gstty
> pefindfactory.o .libs/libgstreamer_0.10_la-gsturi.o
> .libs/libgstreamer_0.10_la-g stutils.o
> .libs/libgstreamer_0.10_la-gstvalue.o .libs/libgstreamer_0.10_la-gstpa
> rse.o .libs/libgstreamer_0.10_la-gstregistrybinary.o
> .libs/libgstreamer_0.10_la- gstenumtypes.o
> .libs/libgstreamer_0.10_la-gstmarshal.o   parse/.libs/libgstparse .a |  |
> /bin/sed 's/.* //' | sort | uniq > .libs/libgstreamer-0.10.exp'
> make[4]: *** [libgstreamer-0.10.la] Error 1
> make[4]: Leaving directory
> `/opt/dvsdk_1_30_00_40/355_gstreamer/new_gstreamer/gs treamer-0.10.22/gst'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/opt/dvsdk_1_30_00_40/355_gstreamer/new_gstreamer/gs treamer-0.10.22/gst'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/opt/dvsdk_1_30_00_40/355_gstreamer/new_gstreamer/gs treamer-0.10.22/gst'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/opt/dvsdk_1_30_00_40/355_gstreamer/new_gstreamer/gs treamer-0.10.22'
> make: *** [all] Error 2
> 
> The toolchain is from montavista ( gcc 3.4.3  ).
> 
> 
> 
> 
> 
> 
> 
> 
> Tim-Philipp Müller wrote:
>> 
>> On Tue, 2009-02-17 at 19:39 +0800, yang shaobo wrote:
>>> Hi , everyone.
>>> I tried to cross compile gstreamer-0.10.22
>>> But the compile  stopped because of an error :
>>> 
>>> ../libtool: eval: line 951: syntax error near unexpected token ' | '
>>> 
>>> I can compile gstreamer-0.10.20 with the same toolchain ,and the
>>> arguments for compiling is also the same.
>> 
>> It *might* be helpful if you at least posted the command line that
>> caused the error message ... ie. the last 20-or-so lines of output of
>> 'make'.
>> 
>> 
>>> Can anyone give me some advice ?
>> 
>> You could compare the command line it ran in the version that works with
>> the command line it ran in the version that failed...
>> 
>> Cheers
>>  -Tim
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/gstreamer-0.10.22-cross-compile-problem-tp22055784p22577189.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.





More information about the gstreamer-devel mailing list