Gstreamer cross compilation doubt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


i tried to install gstreamer-0.10.25.tar.bz2 ile. when i compile it by using
the above script i got a error as *"libxml2"missing. so i downloaded libxml2
file and compiled that for arm processor using the same script and i
exported the path of libxml2 by using **
*
*"export PATH=$PATH:/home/iqbal/Desktop/libxml2-2.7.6/"*
*and then again i compiled the same gstreamer-0.10.25 with using the same
script. now i didnt find that error. but i am getting some different error
shown below. whether am i doing the correct procedure?*
*This is the error which i am getting when i compile the gstreamer after
givng path of libxml2.*
*"** CC gstvalue.o**
**cc1: warning: include location "/usr/include/glib-2.0" is unsafe for
cross-compilation**
** CC gstparse.o**
**cc1: warning: include location "/usr/include/glib-2.0" is unsafe for
cross-compilation**
** CC gstregistrybinary.o**
**cc1: warning: include location "/usr/include/glib-2.0" is unsafe for
cross-compilation*
*CC gstxml.o
cc1: warning: include location "/usr/include/glib-2.0" is unsafe for
cross-compilation
CC gstenumtypes.o
cc1: warning: include location "/usr/include/glib-2.0" is unsafe for
cross-compilation
CC gstmarshal.o
cc1: warning: include location "/usr/include/glib-2.0" is unsafe for
cross-compilation
LINK libgstreamer-0.10.la
../libtool: eval: line 950: syntax error near unexpected token `|'
../libtool: eval: line 950: `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-**gstbufferlist.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-gsttaskpool.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[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Building of glib library has failed
iqbal at iqbal-laptop:~/Desktop/gstreamer-0.10.25$"*
Kindly help me
On Sun, Dec 27, 2009 at 3:13 PM, Niamathullah sharief
<armsharief at gmail.com>wrote:

> This is the script file i have...
> i am running this script file each and every time..
> *#!/bin/sh
> export PATH=$PATH:/home/iqbal/Desktop/Niamath/toolchain/bin/
> #export PARENT_DIR=/mnt/rbsys-icon1/
> #export
> PATH=$PARENT_DIR/toolchain/bin/:/bin/:/usr/bin/:/sbin/:/mnt/monta-vista/montavista/pro/bin/
> #export
> C6X_C_DIR="/mnt/rbsys-icon1/dvsdk_3_00_00_36/cgtools/include;/mnt/rbsys-icon1/dvsdk_3_00_00_36/cgtools/lib"
> #export KERNEL_DIR=$PARENT_DIR//kernel/linux-02.01.01.07/
> #export SDK_DIR=$PARENT_DIR/dvsdk_3_00_00_36
> export ARCH=arm
> export CROSS_COMPILE=arm-none-linux-gnueabi-
> export HOST=i686-pc-linux-gnu*
> *export T**ARGET=arm-linux-gnu
> #export ROOTFS=$PARENT_DIR/nfs-develop
> #export PREFIX=$PARENT_DIR/nfs-develop/usr/local
> export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/
> #export PATCH_SOURCE_DIR=/mnt/rbsys-icon1/patches_for_omap_sources/
> #export BASE_SOURCE_DIR=/mnt/rbsys-icon1/sources/
> #export DAVINCI_SOURCE_DIR=/mnt/rbsys-icon1/davinci_sources/
> #export PATCH_SOURCE_DIR=/mnt/rbsys-icon1/patches_for_omap_sources/
> #export
> QTSOURCEDIR=$DAVINCI_SOURCE_DIR/qt-embedded-linux-opensource-src-4.5.2/
> #export QTDIR=$DAVINCI_SOURCE_DIR/qt-embedded-linux-opensource-src-4.5.2/
> #export FLASHCOMPONENT=$ROOTFS/flash_component/
> #export QMAKESPEC=$QTSOURCEDIR/mkspecs/qws/linux-arm-g++/
> export CFLAGS="-O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8
> -mfloat-abi=softfp -mfpu=neon -ftree-**vectorize -funroll-all-loops"
> export CXXFLAGS="-O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8
> -mfloat-abi=softfp -mfpu=neon -ftree-vectorize -funroll-all-loops"
> CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++
> LD=arm-none-linux-gnueabi-ld AS=arm-none-linux-gnueabi-as
> AR=arm-none-linux-gnueabi-ar RANLIB=arm-none-linux-gnueabi-ranlib
> STRIP=arm-none-linux-gnueabi-strip OBJCOPY=arm-none-linux-gnueabi-objcopy
> OBJDUMP=arm-none-linux-gnueabi-objdump ./configure --prefix=$PREFIX
> --build=i386-pc-linux-gnu --host=arm-linux-gnu --without-python
> --cache-file=cache-file PLATFORM=MX51
>
> if [ $? != 0 ]
> then
> echo "Configuration of glib library has failed";
> exit 1;
> fi*
> *make
> if [ $? != 0 ]
> then
> echo "Building of glib library has failed ";
> exit 1;
> fi
> make uninstall
>
> make install
>
> if [ $? != 0 ]
> then
> echo "Installing of glib-library has failed ";
> exit 1;
> fi*
>
>    IN this cript i know about this cross compiler exporting and all other
> thngs i dont know. i got this script from my friend. he is using this script
> to compile for OMAP arm and i have to compile for freescale processor arm
> board.
>
> ll me.
> AND in this two files which one have to compile? whether it is needed to
> export any library files?i mean codec files?
> please help me
>
>>
>> doing cross-compilation and being a novice is not easy :-)
>>
>> you said that you exported some env var for you arm board. What exactly
>> did you do ?
>>
>> Vincent Torri
>>
>> PS: please, stop top post your comments
>>
>>
>>
>>> On Sun, Dec 27, 2009 at 2:04 PM, Vincent Torri <vtorri at univ-evry.fr>
>>> wrote:
>>>
>>>
>>>>
>>>> On Sun, 27 Dec 2009, Niamathullah sharief wrote:
>>>>
>>>>  No i didnt install any gst-plugin-base. i dont know what are all the
>>>> files
>>>>
>>>>> needed to compile the gstreamer for ARM board. and what are the
>>>>> commands
>>>>> used to compile. what are all things i have to export. so pleae help
>>>>> me.
>>>>> so
>>>>> tell me what are all the files needed to compile for arm. now i have
>>>>> 1)ARM coss compile
>>>>>
>>>>>
>>>> download
>>>> http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.25.tar.bz2
>>>> and
>>>>
>>>>
>>>> http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.25.tar.bz2
>>>>
>>>>
>>>>  2)gst-fsl-plugin-1.6.0
>>>>
>>>>> 3)fsl-mm-codeclib-1.6.0
>>>>>
>>>>>  THis are the steps i followed o compile the gstreamer
>>>>>     1)i exported cross compiler path.
>>>>>
>>>>>
>>>> compile and install gstreamer for your platform
>>>>
>>>> if you use:
>>>>
>>>> ./configure --prefix=/my/prefix/for/fsl
>>>>
>>>> execute:
>>>>
>>>> export PKG_CONFIG_PATH=/my/prefix/for/fsl/lib/pkgconfig
>>>>
>>>> Then compile and install gst-plugins-base for your platform with also:
>>>>
>>>> ./configure --prefix=/my/prefix/for/fsl
>>>>
>>>>
>>>>      2)then i tried to compile this gst-fsl-plugin-1.6.0
>>>>
>>>>>
>>>>>
>>>> Vincent Torri
>>>>
>>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20091227/c3e4dcf4/attachment.htm>


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux