From: Niamathullah s. <arm...@gm...> - 2009-12-26 20:18:46
|
Hello, I am compiling gstreamer for my freescale arm based board. i am getting some errors when i compile it. actually the problem might be with my side. because i dont know how to link all the files and library files which is needed for compilation. i exported the cross compiler path. after that i used ".configure" command. In that i am getting this below error "checking for arm-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GST... yes checking for GST_BASE... yes checking for GST_PLUGINS_BASE... no configure: error: no GStreamer plugin base libs found Configuration of glib library has failed" Now i to solve this problem and how to link codecs with this compilation and how to link codec libary files. please help me |
From: Stefan K. <en...@ho...> - 2009-12-26 20:22:14
|
Am 26.12.2009 22:18, schrieb Niamathullah sharief: > Hello, > I am compiling gstreamer for my freescale arm based board. i am > getting some errors when i compile it. actually the problem might be > with my side. because i dont know how to link all the files and library > files which is needed for compilation. > i exported the cross compiler path. after that i used ".configure" > command. In that i am getting this below error > "checking for arm-linux-gnu-pkg-config... no > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for GST... yes > checking for GST_BASE... yes > checking for GST_PLUGINS_BASE... no > configure: error: no GStreamer plugin base libs found > Configuration of glib library has failed" > > Now i to solve this problem and how to link codecs with this compilation > and how to link codec libary files. please help me > you need to export PKG_CONFIG_PATH to include $prefix/lib. RUn pkg-config --list-all | grep gstreamer and check that it lists the missing ones. Make sure its not picking up the host ones. Stefan |
From: Vincent T. <vt...@un...> - 2009-12-26 20:25:53
|
On Sat, 26 Dec 2009, Stefan Kost wrote: > Am 26.12.2009 22:18, schrieb Niamathullah sharief: >> Hello, >> I am compiling gstreamer for my freescale arm based board. i am >> getting some errors when i compile it. actually the problem might be >> with my side. because i dont know how to link all the files and library >> files which is needed for compilation. >> i exported the cross compiler path. after that i used ".configure" >> command. In that i am getting this below error >> "checking for arm-linux-gnu-pkg-config... no >> checking for pkg-config... /usr/bin/pkg-config >> checking pkg-config is at least version 0.9.0... yes >> checking for GST... yes >> checking for GST_BASE... yes >> checking for GST_PLUGINS_BASE... no >> configure: error: no GStreamer plugin base libs found >> Configuration of glib library has failed" >> >> Now i to solve this problem and how to link codecs with this compilation >> and how to link codec libary files. please help me >> > > you need to export PKG_CONFIG_PATH to include $prefix/lib $prefix/lib/pkgconfig Vincent Torri > . RUn pkg-config > --list-all | grep gstreamer and check that it lists the missing ones. Make sure > its not picking up the host ones. > > Stefan > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Gstreamer-embedded mailing list > Gst...@li... > https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded > > |
From: Niamathullah s. <arm...@gm...> - 2009-12-27 03:28:07
|
ya. but i didnt find any "pkg-config" file.where it wil be?what it will contains? and where we have to copy that file?please help me and ecause i am newbie On Sun, Dec 27, 2009 at 1:55 AM, Vincent Torri <vt...@un...> wrote: > > > On Sat, 26 Dec 2009, Stefan Kost wrote: > > Am 26.12.2009 22:18, schrieb Niamathullah sharief: >> >>> Hello, >>> I am compiling gstreamer for my freescale arm based board. i am >>> getting some errors when i compile it. actually the problem might be >>> with my side. because i dont know how to link all the files and library >>> files we needed for compilation. >>> i exported the cross compiler path. after that i used ".configure" >>> command. In that i am getting this below error >>> "checking for arm-linux-gnu-pkg-config... no >>> checking for pkg-config... /usr/bin/pkg-config >>> checking pkg-config is at least version 0.9.0... yes >>> checking for GST... yes >>> checking for GST_BASE... yes >>> checking for GST_PLUGINS_BASE... no >>> configure: error: no GStreamer plugin base libs found >>> Configuration of glib library has failed" >>> >>> Now i to solve this problem and how to link codecs with this compilation >>> and how to link codec libary files. please help me >>> >>> >> you need to export PKG_CONFIG_PATH to include $prefix/lib >> > > $prefix/lib/pkgconfig > > Vincent Torri > > . RUn pkg-config >> > > --list-all | grep gstreamer and check that it lists the missing ones. Make >> sure >> its not picking up the host ones. >> >> Stefan >> >> >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and >> easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> Gstreamer-embedded mailing list >> Gst...@li... >> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded >> >> >> |
From: Vincent T. <vt...@un...> - 2009-12-27 07:49:38
|
On Sun, 27 Dec 2009, Niamathullah sharief wrote: > ya. but i didnt find any "pkg-config" file.where it wil be?what it will > contains? and where we have to copy that file?please help me and ecause i am > newbie 1) if you just used "./configure" to configure gst-plugins-base, then the pkgconfig files are located in /usr/local/lib/pkgconfig. pkgconfig files extension is ".pc" 2) verify that you have gstreamer-plugins-base-0.10.pc in /usr/local/lib/pkgconfig 3) if not, are you sure that you installed gst-plugins-base ? Vincent Torri > > On Sun, Dec 27, 2009 at 1:55 AM, Vincent Torri <vt...@un...> wrote: > >> >> >> On Sat, 26 Dec 2009, Stefan Kost wrote: >> >> Am 26.12.2009 22:18, schrieb Niamathullah sharief: >>> >>>> Hello, >>>> I am compiling gstreamer for my freescale arm based board. i am >>>> getting some errors when i compile it. actually the problem might be >>>> with my side. because i dont know how to link all the files and library >>>> files we needed for compilation. >>>> i exported the cross compiler path. after that i used ".configure" >>>> command. In that i am getting this below error >>>> "checking for arm-linux-gnu-pkg-config... no >>>> checking for pkg-config... /usr/bin/pkg-config >>>> checking pkg-config is at least version 0.9.0... yes >>>> checking for GST... yes >>>> checking for GST_BASE... yes >>>> checking for GST_PLUGINS_BASE... no >>>> configure: error: no GStreamer plugin base libs found >>>> Configuration of glib library has failed" >>>> >>>> Now i to solve this problem and how to link codecs with this compilation >>>> and how to link codec libary files. please help me >>>> >>>> >>> you need to export PKG_CONFIG_PATH to include $prefix/lib >>> >> >> $prefix/lib/pkgconfig >> >> Vincent Torri >> >> . RUn pkg-config >>> >> >> --list-all | grep gstreamer and check that it lists the missing ones. Make >>> sure >>> its not picking up the host ones. >>> >>> Stefan >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.Net email is sponsored by the Verizon Developer Community >>> Take advantage of Verizon's best-in-class app development support >>> A streamlined, 14 day to market process makes app distribution fast and >>> easy >>> Join now and get one step closer to millions of Verizon customers >>> http://p.sf.net/sfu/verizon-dev2dev >>> _______________________________________________ >>> Gstreamer-embedded mailing list >>> Gst...@li... >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded >>> >>> >>> > |
From: Niamathullah s. <arm...@gm...> - 2009-12-27 08:22:57
|
No i didnt have that "pkg-config" in that folder. see i have only one file in /usr/local/lib directory. see *iqbal@iqbal-laptop:/usr/local/lib$ ls python2.6 iqbal@iqbal-laptop:/usr/local/lib$* 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 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. 2)then i tried to compile this gst-fsl-plugin-1.6.0 by that time only i got this error. so please help me what to do?what are the things i have to do now? and what are the files needed?please help me On Sun, Dec 27, 2009 at 1:19 PM, Vincent Torri <vt...@un...> wrote: > > > On Sun, 27 Dec 2009, Niamathullah sharief wrote: > > ya. but i didnt find any "pkg-config" file.where it wil be?what it will >> contains? and where we have to copy that file?please help me and ecause i >> am >> newbie >> > > 1) if you just used "./configure" to configure gst-plugins-base, then the > pkgconfig files are located in /usr/local/lib/pkgconfig. pkgconfig files > extension is ".pc" > > 2) verify that you have gstreamer-plugins-base-0.10.pc in > /usr/local/lib/pkgconfig > > 3) if not, are you sure that you installed gst-plugins-base ? > > Vincent Torri > > > >> On Sun, Dec 27, 2009 at 1:55 AM, Vincent Torri <vt...@un...> >> wrote: >> >> >>> >>> On Sat, 26 Dec 2009, Stefan Kost wrote: >>> >>> Am 26.12.2009 22:18, schrieb Niamathullah sharief: >>> >>>> >>>> Hello, >>>>> I am compiling gstreamer for my freescale arm based board. i am >>>>> getting some errors when i compile it. actually the problem might be >>>>> with my side. because i dont know how to link all the files and library >>>>> files we needed for compilation. >>>>> i exported the cross compiler path. after that i used ".configure" >>>>> command. In that i am getting this below error >>>>> "checking for arm-linux-gnu-pkg-config... no >>>>> checking for pkg-config... /usr/bin/pkg-config >>>>> checking pkg-config is at least version 0.9.0... yes >>>>> checking for GST... yes >>>>> checking for GST_BASE... yes >>>>> checking for GST_PLUGINS_BASE... no >>>>> configure: error: no GStreamer plugin base libs found >>>>> Configuration of glib library has failed" >>>>> >>>>> Now i to solve this problem and how to link codecs with this >>>>> compilation >>>>> and how to link codec libary files. please help me >>>>> >>>>> >>>>> you need to export PKG_CONFIG_PATH to include $prefix/lib >>>> >>>> >>> $prefix/lib/pkgconfig >>> >>> Vincent Torri >>> >>> . RUn pkg-config >>> >>>> >>>> >>> --list-all | grep gstreamer and check that it lists the missing ones. >>> Make >>> >>>> sure >>>> its not picking up the host ones. >>>> >>>> Stefan >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.Net email is sponsored by the Verizon Developer Community >>>> Take advantage of Verizon's best-in-class app development support >>>> A streamlined, 14 day to market process makes app distribution fast and >>>> easy >>>> Join now and get one step closer to millions of Verizon customers >>>> http://p.sf.net/sfu/verizon-dev2dev >>>> _______________________________________________ >>>> Gstreamer-embedded mailing list >>>> Gst...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded >>>> >>>> >>>> >>>> >> |
From: Vincent T. <vt...@un...> - 2009-12-27 08:35:01
|
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 |
From: Niamathullah s. <arm...@gm...> - 2009-12-27 08:55:27
|
yes i downloaed this two files. now i have an another doubt?what is this "--prefix". why it is needed? what PATH is this "/my/prefix/for/fsl". dont mistake me. i am novice. tell 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 On Sun, Dec 27, 2009 at 2:04 PM, Vincent Torri <vt...@un...> 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 > |
From: Vincent T. <vt...@un...> - 2009-12-27 09:35:53
|
On Sun, 27 Dec 2009, Niamathullah sharief wrote: > yes i downloaed this two files. now i have an another doubt?what is this > "--prefix". why it is needed? what PATH is this "/my/prefix/for/fsl". dont > mistake me. i am novice. tell 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 <vt...@un...> 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 >> > |
From: Niamathullah s. <arm...@gm...> - 2009-12-27 09:43:52
|
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 <vt...@un...> >> 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 >>> >>> >> |
From: Niamathullah s. <arm...@gm...> - 2009-12-27 10:27:59
|
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@iqbal-laptop:~/Desktop/gstreamer-0.10.25$"* Kindly help me On Sun, Dec 27, 2009 at 3:13 PM, Niamathullah sharief <arm...@gm...>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 <vt...@un...> >>> 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 >>>> >>>> >>> > |
From: Vincent T. <vt...@un...> - 2009-12-27 10:33:08
|
On Sun, 27 Dec 2009, Niamathullah sharief wrote: > **cc1: warning: include location "/usr/include/glib-2.0" is unsafe for > cross-compilation* install ALL the dependencoes of gstreamer for your platform. Including glib-2.0 it could also mean libjpeg, gettext, etc... Vincent Torri |
From: Niamathullah s. <arm...@gm...> - 2009-12-27 10:59:01
|
i dont know how to find what are all the dependencies need for gstreamer. may i know how to find that? if you know please tell me or tell me how to do. i will be very happy if i solve this problem. then why this gst-plugin-base?which i downloaded from link which you gave to me..? On Sun, Dec 27, 2009 at 4:02 PM, Vincent Torri <vt...@un...> wrote: > > > On Sun, 27 Dec 2009, Niamathullah sharief wrote: > > **cc1: warning: include location "/usr/include/glib-2.0" is unsafe for >> cross-compilation* >> > > install ALL the dependencoes of gstreamer for your platform. Including > glib-2.0 > > it could also mean libjpeg, gettext, etc... > > Vincent Torri > |
From: Vincent T. <vt...@un...> - 2009-12-27 11:24:41
|
On Sun, 27 Dec 2009, Niamathullah sharief wrote: > i dont know how to find what are all the dependencies need for gstreamer. > may i know how to find that? there is at least glib-2.0 and its dependencies. libxml2 is, iirc, optionnal (there is a configure option to have a binary registry base). I think that those are the only dependencies of gstreamer. glib-2.0 has some dependencies too. the plugins of gstreamer could need some libraries too (like libogg to have the ogg plugin) Vincent Torri > if you know please tell me or tell me how to do. i will be very happy if i > solve this problem. > then why this gst-plugin-base?which i downloaded from link which you gave to > me..? > > On Sun, Dec 27, 2009 at 4:02 PM, Vincent Torri <vt...@un...> wrote: > >> >> >> On Sun, 27 Dec 2009, Niamathullah sharief wrote: >> >> **cc1: warning: include location "/usr/include/glib-2.0" is unsafe for >>> cross-compilation* >>> >> >> install ALL the dependencoes of gstreamer for your platform. Including >> glib-2.0 >> >> it could also mean libjpeg, gettext, etc... >> >> Vincent Torri >> > |
From: Niamathullah s. <arm...@gm...> - 2009-12-27 11:40:51
|
On Sun, Dec 27, 2009 at 4:54 PM, Vincent Torri <vt...@un...> wrote: > > > > > libxml2 is, iirc, > (there is a configure option to have a binary registry base). I think that > those are the only dependencies of gstreamer. > where is this binary registry base is? > glib-2.0 has some dependencies too. > > > the plugins of gstreamer could need some libraries too (like libogg to > have the ogg plugin) > > which plugin you mean?is that gst-plugin-base? or any other? when i have to compile this gst-plugin-base?after completing this gstreamer? Thank you in advance > Vincent Torri > > > if you know please tell me or tell me how to do. i will be very happy if i >> solve this problem. >> then why this gst-plugin-base?which i downloaded from link which you gave >> to >> me..? >> >> On Sun, Dec 27, 2009 at 4:02 PM, Vincent Torri <vt...@un...> >> wrote: >> >> >>> >>> On Sun, 27 Dec 2009, Niamathullah sharief wrote: >>> >>> **cc1: warning: include location "/usr/include/glib-2.0" is unsafe for >>> >>>> cross-compilation* >>>> >>>> >>> install ALL the dependencoes of gstreamer for your platform. Including >>> glib-2.0 >>> >>> it could also mean libjpeg, gettext, etc... >>> >>> Vincent Torri >>> >>> >> |
From: Niamathullah s. <arm...@gm...> - 2009-12-27 11:43:24
|
what about that script which i have sent...is that correct? On Sun, Dec 27, 2009 at 5:10 PM, Niamathullah sharief <arm...@gm...>wrote: > > > On Sun, Dec 27, 2009 at 4:54 PM, Vincent Torri <vt...@un...>wrote: > >> >> >> >> >> libxml2 is, iirc, > > > >> (there is a configure option to have a binary registry base). I think that >> those are the only dependencies of gstreamer. >> > > where is this binary registry base is? > > >> glib-2.0 has some dependencies too. >> > > > >> >> the plugins of gstreamer could need some libraries too (like libogg to >> have the ogg plugin) >> >> which plugin you mean?is that gst-plugin-base? or any other? > when i have to compile this gst-plugin-base?after completing this > gstreamer? > Thank you in advance > > >> Vincent Torri >> >> >> if you know please tell me or tell me how to do. i will be very happy if >>> i >>> solve this problem. >>> then why this gst-plugin-base?which i downloaded from link which you gave >>> to >>> me..? >>> >>> On Sun, Dec 27, 2009 at 4:02 PM, Vincent Torri <vt...@un...> >>> wrote: >>> >>> >>>> >>>> On Sun, 27 Dec 2009, Niamathullah sharief wrote: >>>> >>>> **cc1: warning: include location "/usr/include/glib-2.0" is unsafe for >>>> >>>>> cross-compilation* >>>>> >>>>> >>>> install ALL the dependencoes of gstreamer for your platform. Including >>>> glib-2.0 >>>> >>>> it could also mean libjpeg, gettext, etc... >>>> >>>> Vincent Torri >>>> >>>> >>> > |
From: Vincent T. <vt...@un...> - 2009-12-27 13:03:38
|
On Sun, 27 Dec 2009, Niamathullah sharief wrote: > what about that script which i have sent...is that correct? imho it is *too* complicated. For cross compilation for Windows CE, i use the following script: #! /bin/sh export MINGW32CE_PATH=$HOME/local/opt/mingw32ce export WINCE_PATH=$HOME/local/wince export PATH=$CEGCC_PATH/bin:$MINGW32CE_PATH/bin:$PATH export CPPFLAGS="-I$WINCE_PATH/include" export LDFLAGS="-L$WINCE_PATH/lib" export LD_LIBRARY_PATH="$WINCE_PATH/bin" export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig" I save it in a file named mingw32ce.sh. To use it, in a terminal i launch it, only once, with: source /path/to/mingw32ce.sh MINGW32CE_PATH is where the cross compilation tool chain is located. WINCE_PATH is where i install the cross compiled libraries/programs. Then I update some necessary variables with the 2 variables above. PATH, of course, plus other compilation env var. I think that you should also add CFLAGS and CXXFLAGS for optimizations (like in your script). to configure a library: ./configure --host=arm-mingw32ce --prefix=$WINCE_PATH I don't put the launch of ./configure in script, like your script, for some reasons. I would suggest that you also don't put it in your script. For the compilation of gstreamer, compile and install for your target: 1) dependencies of glib-2.0 (ask in the glib related mailing lists for that) 2) glib-2.0 3) gstreamer without libxml2 if you succeed, you can try gst-plugins-base. Vincent Torri |
From: Niamathullah s. <arm...@gm...> - 2009-12-27 17:28:27
|
Thanks for your valuable information. Thanks a lot. I have an another doubt what is this "WINCE_PATH is where i install the cross compiled libraries/programs." mean? whether you are telling about cross compiling libraries like libxml2,glib etc..?or any other libraries? if yes where we have to keep that libraries? and where is this "pkg-config: file exist?i didnt hve any file like that?what is the content of that file?from where i can get that file?please tell me And the main thing is whether this gst-plugin base is required while compiling this gstreamer i mean whether we have to use some libraries and some codecs file whle compiling gstreamer?or both are seperate one? Thank a lot in advance On Sun, Dec 27, 2009 at 6:33 PM, Vincent Torri <vt...@un...> wrote: > > > On Sun, 27 Dec 2009, Niamathullah sharief wrote: > > what about that script which i have sent...is that correct? >> > > imho it is *too* complicated. For cross compilation for Windows CE, i use > the following script: > > #! /bin/sh > > export MINGW32CE_PATH=$HOME/local/opt/mingw32ce > export WINCE_PATH=$HOME/local/wince > > export PATH=$CEGCC_PATH/bin:$MINGW32CE_PATH/bin:$PATH > export CPPFLAGS="-I$WINCE_PATH/include" > export LDFLAGS="-L$WINCE_PATH/lib" > export LD_LIBRARY_PATH="$WINCE_PATH/bin" > export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig" > > I save it in a file named mingw32ce.sh. To use it, in a terminal i launch > it, only once, with: > > source /path/to/mingw32ce.sh > > MINGW32CE_PATH is where the cross compilation tool chain is located. > WINCE_PATH is where i install the cross compiled libraries/programs. > > Then I update some necessary variables with the 2 variables above. PATH, of > course, plus other compilation env var. I think that you should also add > CFLAGS and CXXFLAGS for optimizations (like in your script). > > to configure a library: > > ./configure --host=arm-mingw32ce --prefix=$WINCE_PATH > > > I don't put the launch of ./configure in script, like your script, for some > reasons. I would suggest that you also don't put it in your script. > > For the compilation of gstreamer, compile and install for your target: > > 1) dependencies of glib-2.0 (ask in the glib related mailing lists for > that) > 2) glib-2.0 > 3) gstreamer without libxml2 > > if you succeed, you can try gst-plugins-base. > > Vincent Torri > |
From: Vincent T. <vt...@un...> - 2009-12-27 20:30:22
|
On Sun, 27 Dec 2009, Niamathullah sharief wrote: > Thanks for your valuable information. Thanks a lot. I have an another doubt > what is this "WINCE_PATH is where i install the cross compiled > libraries/programs." mean? make install copies the necessary files in a path. It is that path. > whether you are telling about cross compiling libraries like libxml2,glib > etc..?or any other libraries? cross compiling libraries, of course > if yes where we have to keep that libraries? and where is this "pkg-config: > file exist?i didnt hve any file like that?what is the content of that > file?from where i can get that file?please tell me try to compile glib-2.0 first. Vincnet Torri > And the main thing is whether this gst-plugin base is required while > compiling this gstreamer i mean whether we have to use some libraries and > some codecs file whle compiling gstreamer?or both are seperate one? > Thank a lot in advance > > On Sun, Dec 27, 2009 at 6:33 PM, Vincent Torri <vt...@un...> wrote: > >> >> >> On Sun, 27 Dec 2009, Niamathullah sharief wrote: >> >> what about that script which i have sent...is that correct? >>> >> >> imho it is *too* complicated. For cross compilation for Windows CE, i use >> the following script: >> >> #! /bin/sh >> >> export MINGW32CE_PATH=$HOME/local/opt/mingw32ce >> export WINCE_PATH=$HOME/local/wince >> >> export PATH=$CEGCC_PATH/bin:$MINGW32CE_PATH/bin:$PATH >> export CPPFLAGS="-I$WINCE_PATH/include" >> export LDFLAGS="-L$WINCE_PATH/lib" >> export LD_LIBRARY_PATH="$WINCE_PATH/bin" >> export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig" >> >> I save it in a file named mingw32ce.sh. To use it, in a terminal i launch >> it, only once, with: >> >> source /path/to/mingw32ce.sh >> >> MINGW32CE_PATH is where the cross compilation tool chain is located. >> WINCE_PATH is where i install the cross compiled libraries/programs. >> >> Then I update some necessary variables with the 2 variables above. PATH, of >> course, plus other compilation env var. I think that you should also add >> CFLAGS and CXXFLAGS for optimizations (like in your script). >> >> to configure a library: >> >> ./configure --host=arm-mingw32ce --prefix=$WINCE_PATH >> >> >> I don't put the launch of ./configure in script, like your script, for some >> reasons. I would suggest that you also don't put it in your script. >> >> For the compilation of gstreamer, compile and install for your target: >> >> 1) dependencies of glib-2.0 (ask in the glib related mailing lists for >> that) >> 2) glib-2.0 >> 3) gstreamer without libxml2 >> >> if you succeed, you can try gst-plugins-base. >> >> Vincent Torri >> > |
From: Niamathullah s. <arm...@gm...> - 2009-12-28 05:40:11
|
yes i tried to compile glib and i got error in that. *checking for msgfmt... no configure: error: *** You must have either have gettext support in your C library, or use the *** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html Configuration of glib library has failed* So after that i downloaded gettext and tried to cross compile that.but i am getting some errors in that *mbuiter.h:112: error: expected specifier-qualifier-list before 'mbstate_t'* * **mbuiter.h: In function 'mbuiter_multi_next':** **mbuiter.h:126: error: 'struct mbuiter_multi' has no member named 'next_done'** **mbuiter.h:131: error: 'struct mbuiter_multi' has no member named 'cur'** **mbuiter.h:136: error: 'struct mbuiter_multi' has no member named 'cur'** **mbuiter.h:137: error: 'struct mbuiter_multi' has no member named 'cur'** **mbuiter.h:137: error: 'struct mbuiter_multi' has no member named 'cur'** **mbuiter.h:138: error: 'struct mbuiter_multi' has no member named 'cur'* *mbuiter.h:142: error: 'struct mbuiter_multi' has no member named 'state' mbuiter.h:145: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:145: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:145: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:146: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:147: error: 'struct mbuiter_multi' has no member named 'state' mbuiter.h:148: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:151: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:152: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:156: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:159: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:159: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:160: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:166: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:169: error: 'struct mbuiter_multi' has no member named 'cur'* *mbuiter.h:170: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:171: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:173: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:177: error: 'struct mbuiter_multi' has no member named 'state' mbuiter.h:181: error: 'struct mbuiter_multi' has no member named 'next_done' mbuiter.h: In function 'mbuiter_multi_reloc': mbuiter.h:187: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h: In function 'mbuiter_multi_copy': mbuiter.h:194: error: 'struct mbuiter_multi' has no member named 'state' mbuiter.h:194: error: 'const struct mbuiter_multi' has no member named 'state' mbuiter.h:194: error: 'mbstate_t' undeclared (first use in this function) mbuiter.h:194: error: (Each undeclared identifier is reported only once mbuiter.h:194: error: for each function it appears in.) mbuiter.h:196: error: 'struct mbuiter_multi' has no member named 'state'* *mbuiter.h:197: error: 'struct mbuiter_multi' has no member named 'next_done' mbuiter.h:197: error: 'const struct mbuiter_multi' has no member named 'next_done' mbuiter.h:198: error: 'struct mbuiter_multi' has no member named 'cur' mbuiter.h:198: error: 'const struct mbuiter_multi' has no member named 'cur' mbslen.c: In function 'mbslen': mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' mbslen.c:40: error: 'mbui_iterator_t' has no member named 'state' mbslen.c:40: error: 'mbstate_t' undeclared (first use in this function) mbslen.c:40: error: 'mbui_iterator_t' has no member named 'next_done'* *mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' mbslen.c:40: error: 'mbui_iterator_t' has no member named 'next_done' make[4]: *** [mbslen.o] Error 1 make[4]: Leaving directory `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime/gnulib-lib' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime/gnulib-lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime' make: *** [all-recursive] Error 1 Building of glib library has failed* Now i am confused. On Mon, Dec 28, 2009 at 2:00 AM, Vincent Torri <vt...@un...> wrote: > > > On Sun, 27 Dec 2009, Niamathullah sharief wrote: > > Thanks for your valuable information. Thanks a lot. I have an another >> doubt >> what is this "WINCE_PATH is where i install the cross compiled >> libraries/programs." mean? >> > > make install copies the necessary files in a path. It is that path. > > > whether you are telling about cross compiling libraries like libxml2,glib >> etc..?or any other libraries? >> > > cross compiling libraries, of course > > > if yes where we have to keep that libraries? and where is this >> "pkg-config: >> file exist?i didnt hve any file like that?what is the content of that >> file?from where i can get that file?please tell me >> > > try to compile glib-2.0 first. > > Vincnet Torri > > > And the main thing is whether this gst-plugin base is required while >> compiling this gstreamer i mean whether we have to use some libraries and >> some codecs file whle compiling gstreamer?or both are seperate one? >> Thank a lot in advance >> >> On Sun, Dec 27, 2009 at 6:33 PM, Vincent Torri <vt...@un...> >> wrote: >> >> >>> >>> On Sun, 27 Dec 2009, Niamathullah sharief wrote: >>> >>> what about that script which i have sent...is that correct? >>> >>>> >>>> >>> imho it is *too* complicated. For cross compilation for Windows CE, i use >>> the following script: >>> >>> #! /bin/sh >>> >>> export MINGW32CE_PATH=$HOME/local/opt/mingw32ce >>> export WINCE_PATH=$HOME/local/wince >>> >>> export PATH=$CEGCC_PATH/bin:$MINGW32CE_PATH/bin:$PATH >>> export CPPFLAGS="-I$WINCE_PATH/include" >>> export LDFLAGS="-L$WINCE_PATH/lib" >>> export LD_LIBRARY_PATH="$WINCE_PATH/bin" >>> export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig" >>> >>> I save it in a file named mingw32ce.sh. To use it, in a terminal i launch >>> it, only once, with: >>> >>> source /path/to/mingw32ce.sh >>> >>> MINGW32CE_PATH is where the cross compilation tool chain is located. >>> WINCE_PATH is where i install the cross compiled libraries/programs. >>> >>> Then I update some necessary variables with the 2 variables above. PATH, >>> of >>> course, plus other compilation env var. I think that you should also add >>> CFLAGS and CXXFLAGS for optimizations (like in your script). >>> >>> to configure a library: >>> >>> ./configure --host=arm-mingw32ce --prefix=$WINCE_PATH >>> >>> >>> I don't put the launch of ./configure in script, like your script, for >>> some >>> reasons. I would suggest that you also don't put it in your script. >>> >>> For the compilation of gstreamer, compile and install for your target: >>> >>> 1) dependencies of glib-2.0 (ask in the glib related mailing lists for >>> that) >>> 2) glib-2.0 >>> 3) gstreamer without libxml2 >>> >>> if you succeed, you can try gst-plugins-base. >>> >>> Vincent Torri >>> >>> >> |
From: Niamathullah s. <arm...@gm...> - 2009-12-28 06:25:01
|
Now i fixed this gettext error. But again i am getting the same error.asgettext missing after compilaing the gettext it creates some library files in --prefix directory. in that gettext library is there. but i am getting the same error as gettext missing while compilig this glib. Kindly help me. On Mon, Dec 28, 2009 at 11:10 AM, Niamathullah sharief <arm...@gm... > wrote: > yes i tried to compile glib and i got error in that. > > *checking for msgfmt... no > configure: error: > *** You must have either have gettext support in your C library, or use the > *** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html > > > Configuration of glib library has failed > * > > So after that i downloaded gettext and tried to cross compile that.but i > am getting some errors in that > > *mbuiter.h:112: error: expected specifier-qualifier-list before > 'mbstate_t'** > **mbuiter.h: In function 'mbuiter_multi_next':** > **mbuiter.h:126: error: 'struct mbuiter_multi' has no member named > 'next_done'** > **mbuiter.h:131: error: 'struct mbuiter_multi' has no member named 'cur'** > **mbuiter.h:136: error: 'struct mbuiter_multi' has no member named 'cur'** > **mbuiter.h:137: error: 'struct mbuiter_multi' has no member named 'cur'** > **mbuiter.h:137: error: 'struct mbuiter_multi' has no member named 'cur'** > **mbuiter.h:138: error: 'struct mbuiter_multi' has no member named 'cur'* > *mbuiter.h:142: error: 'struct mbuiter_multi' has no member named 'state' > mbuiter.h:145: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:145: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:145: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:146: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:147: error: 'struct mbuiter_multi' has no member named 'state' > mbuiter.h:148: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:151: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:152: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:156: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:159: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:159: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:160: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:166: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:169: error: 'struct mbuiter_multi' has no member named 'cur'* > *mbuiter.h:170: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:171: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:173: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:177: error: 'struct mbuiter_multi' has no member named 'state' > mbuiter.h:181: error: 'struct mbuiter_multi' has no member named > 'next_done' > mbuiter.h: In function 'mbuiter_multi_reloc': > mbuiter.h:187: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h: In function 'mbuiter_multi_copy': > mbuiter.h:194: error: 'struct mbuiter_multi' has no member named 'state' > mbuiter.h:194: error: 'const struct mbuiter_multi' has no member named > 'state' > mbuiter.h:194: error: 'mbstate_t' undeclared (first use in this function) > mbuiter.h:194: error: (Each undeclared identifier is reported only once > mbuiter.h:194: error: for each function it appears in.) > mbuiter.h:196: error: 'struct mbuiter_multi' has no member named 'state'* > *mbuiter.h:197: error: 'struct mbuiter_multi' has no member named > 'next_done' > mbuiter.h:197: error: 'const struct mbuiter_multi' has no member named > 'next_done' > mbuiter.h:198: error: 'struct mbuiter_multi' has no member named 'cur' > mbuiter.h:198: error: 'const struct mbuiter_multi' has no member named > 'cur' > mbslen.c: In function 'mbslen': > mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' > mbslen.c:40: error: 'mbui_iterator_t' has no member named 'state' > mbslen.c:40: error: 'mbstate_t' undeclared (first use in this function) > mbslen.c:40: error: 'mbui_iterator_t' has no member named 'next_done'* > *mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' > mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' > mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' > mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' > mbslen.c:40: error: 'mbui_iterator_t' has no member named 'next_done' > make[4]: *** [mbslen.o] Error 1 > make[4]: Leaving directory > `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime/gnulib-lib' > make[3]: *** [all] Error 2 > make[3]: Leaving directory > `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime/gnulib-lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime' > make: *** [all-recursive] Error 1 > > Building of glib library has failed > * > > Now i am confused. > > > On Mon, Dec 28, 2009 at 2:00 AM, Vincent Torri <vt...@un...>wrote: > >> >> >> On Sun, 27 Dec 2009, Niamathullah sharief wrote: >> >> Thanks for your valuable information. Thanks a lot. I have an another >>> doubt >>> what is this "WINCE_PATH is where i install the cross compiled >>> libraries/programs." mean? >>> >> >> make install copies the necessary files in a path. It is that path. >> >> >> whether you are telling about cross compiling libraries like libxml2,glib >>> etc..?or any other libraries? >>> >> >> cross compiling libraries, of course >> >> >> if yes where we have to keep that libraries? and where is this >>> "pkg-config: >>> file exist?i didnt hve any file like that?what is the content of that >>> file?from where i can get that file?please tell me >>> >> >> try to compile glib-2.0 first. >> >> Vincnet Torri >> >> >> And the main thing is whether this gst-plugin base is required while >>> compiling this gstreamer i mean whether we have to use some libraries and >>> some codecs file whle compiling gstreamer?or both are seperate one? >>> Thank a lot in advance >>> >>> On Sun, Dec 27, 2009 at 6:33 PM, Vincent Torri <vt...@un...> >>> wrote: >>> >>> >>>> >>>> On Sun, 27 Dec 2009, Niamathullah sharief wrote: >>>> >>>> what about that script which i have sent...is that correct? >>>> >>>>> >>>>> >>>> imho it is *too* complicated. For cross compilation for Windows CE, i >>>> use >>>> the following script: >>>> >>>> #! /bin/sh >>>> >>>> export MINGW32CE_PATH=$HOME/local/opt/mingw32ce >>>> export WINCE_PATH=$HOME/local/wince >>>> >>>> export PATH=$CEGCC_PATH/bin:$MINGW32CE_PATH/bin:$PATH >>>> export CPPFLAGS="-I$WINCE_PATH/include" >>>> export LDFLAGS="-L$WINCE_PATH/lib" >>>> export LD_LIBRARY_PATH="$WINCE_PATH/bin" >>>> export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig" >>>> >>>> I save it in a file named mingw32ce.sh. To use it, in a terminal i >>>> launch >>>> it, only once, with: >>>> >>>> source /path/to/mingw32ce.sh >>>> >>>> MINGW32CE_PATH is where the cross compilation tool chain is located. >>>> WINCE_PATH is where i install the cross compiled libraries/programs. >>>> >>>> Then I update some necessary variables with the 2 variables above. PATH, >>>> of >>>> course, plus other compilation env var. I think that you should also add >>>> CFLAGS and CXXFLAGS for optimizations (like in your script). >>>> >>>> to configure a library: >>>> >>>> ./configure --host=arm-mingw32ce --prefix=$WINCE_PATH >>>> >>>> >>>> I don't put the launch of ./configure in script, like your script, for >>>> some >>>> reasons. I would suggest that you also don't put it in your script. >>>> >>>> For the compilation of gstreamer, compile and install for your target: >>>> >>>> 1) dependencies of glib-2.0 (ask in the glib related mailing lists for >>>> that) >>>> 2) glib-2.0 >>>> 3) gstreamer without libxml2 >>>> >>>> if you succeed, you can try gst-plugins-base. >>>> >>>> Vincent Torri >>>> >>>> >>> > |
From: Vincent T. <vt...@un...> - 2009-12-28 06:35:11
|
i'm wondering if you're reading my mails. If you have problems with glib compilation, ask in a glib mailing list Vincent Torri On Mon, 28 Dec 2009, Niamathullah sharief wrote: > Now i fixed this gettext error. But again i am getting the same > error.asgettext missing > after compilaing the gettext it creates some library files in --prefix > directory. in that gettext library is there. but i am getting the same error > as gettext missing while compilig this glib. Kindly help me. > > On Mon, Dec 28, 2009 at 11:10 AM, Niamathullah sharief <arm...@gm... >> wrote: > >> yes i tried to compile glib and i got error in that. >> >> *checking for msgfmt... no >> configure: error: >> *** You must have either have gettext support in your C library, or use the >> *** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html >> >> >> Configuration of glib library has failed >> * >> >> So after that i downloaded gettext and tried to cross compile that.but i >> am getting some errors in that >> >> *mbuiter.h:112: error: expected specifier-qualifier-list before >> 'mbstate_t'** >> **mbuiter.h: In function 'mbuiter_multi_next':** >> **mbuiter.h:126: error: 'struct mbuiter_multi' has no member named >> 'next_done'** >> **mbuiter.h:131: error: 'struct mbuiter_multi' has no member named 'cur'** >> **mbuiter.h:136: error: 'struct mbuiter_multi' has no member named 'cur'** >> **mbuiter.h:137: error: 'struct mbuiter_multi' has no member named 'cur'** >> **mbuiter.h:137: error: 'struct mbuiter_multi' has no member named 'cur'** >> **mbuiter.h:138: error: 'struct mbuiter_multi' has no member named 'cur'* >> *mbuiter.h:142: error: 'struct mbuiter_multi' has no member named 'state' >> mbuiter.h:145: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:145: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:145: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:146: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:147: error: 'struct mbuiter_multi' has no member named 'state' >> mbuiter.h:148: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:151: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:152: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:156: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:159: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:159: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:160: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:166: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:169: error: 'struct mbuiter_multi' has no member named 'cur'* >> *mbuiter.h:170: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:171: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:173: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:177: error: 'struct mbuiter_multi' has no member named 'state' >> mbuiter.h:181: error: 'struct mbuiter_multi' has no member named >> 'next_done' >> mbuiter.h: In function 'mbuiter_multi_reloc': >> mbuiter.h:187: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h: In function 'mbuiter_multi_copy': >> mbuiter.h:194: error: 'struct mbuiter_multi' has no member named 'state' >> mbuiter.h:194: error: 'const struct mbuiter_multi' has no member named >> 'state' >> mbuiter.h:194: error: 'mbstate_t' undeclared (first use in this function) >> mbuiter.h:194: error: (Each undeclared identifier is reported only once >> mbuiter.h:194: error: for each function it appears in.) >> mbuiter.h:196: error: 'struct mbuiter_multi' has no member named 'state'* >> *mbuiter.h:197: error: 'struct mbuiter_multi' has no member named >> 'next_done' >> mbuiter.h:197: error: 'const struct mbuiter_multi' has no member named >> 'next_done' >> mbuiter.h:198: error: 'struct mbuiter_multi' has no member named 'cur' >> mbuiter.h:198: error: 'const struct mbuiter_multi' has no member named >> 'cur' >> mbslen.c: In function 'mbslen': >> mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' >> mbslen.c:40: error: 'mbui_iterator_t' has no member named 'state' >> mbslen.c:40: error: 'mbstate_t' undeclared (first use in this function) >> mbslen.c:40: error: 'mbui_iterator_t' has no member named 'next_done'* >> *mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' >> mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' >> mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' >> mbslen.c:40: error: 'mbui_iterator_t' has no member named 'cur' >> mbslen.c:40: error: 'mbui_iterator_t' has no member named 'next_done' >> make[4]: *** [mbslen.o] Error 1 >> make[4]: Leaving directory >> `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime/gnulib-lib' >> make[3]: *** [all] Error 2 >> make[3]: Leaving directory >> `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime/gnulib-lib' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory >> `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory >> `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime' >> make: *** [all-recursive] Error 1 >> >> Building of glib library has failed >> * >> >> Now i am confused. >> >> >> On Mon, Dec 28, 2009 at 2:00 AM, Vincent Torri <vt...@un...>wrote: >> >>> >>> >>> On Sun, 27 Dec 2009, Niamathullah sharief wrote: >>> >>> Thanks for your valuable information. Thanks a lot. I have an another >>>> doubt >>>> what is this "WINCE_PATH is where i install the cross compiled >>>> libraries/programs." mean? >>>> >>> >>> make install copies the necessary files in a path. It is that path. >>> >>> >>> whether you are telling about cross compiling libraries like libxml2,glib >>>> etc..?or any other libraries? >>>> >>> >>> cross compiling libraries, of course >>> >>> >>> if yes where we have to keep that libraries? and where is this >>>> "pkg-config: >>>> file exist?i didnt hve any file like that?what is the content of that >>>> file?from where i can get that file?please tell me >>>> >>> >>> try to compile glib-2.0 first. >>> >>> Vincnet Torri >>> >>> >>> And the main thing is whether this gst-plugin base is required while >>>> compiling this gstreamer i mean whether we have to use some libraries and >>>> some codecs file whle compiling gstreamer?or both are seperate one? >>>> Thank a lot in advance >>>> >>>> On Sun, Dec 27, 2009 at 6:33 PM, Vincent Torri <vt...@un...> >>>> wrote: >>>> >>>> >>>>> >>>>> On Sun, 27 Dec 2009, Niamathullah sharief wrote: >>>>> >>>>> what about that script which i have sent...is that correct? >>>>> >>>>>> >>>>>> >>>>> imho it is *too* complicated. For cross compilation for Windows CE, i >>>>> use >>>>> the following script: >>>>> >>>>> #! /bin/sh >>>>> >>>>> export MINGW32CE_PATH=$HOME/local/opt/mingw32ce >>>>> export WINCE_PATH=$HOME/local/wince >>>>> >>>>> export PATH=$CEGCC_PATH/bin:$MINGW32CE_PATH/bin:$PATH >>>>> export CPPFLAGS="-I$WINCE_PATH/include" >>>>> export LDFLAGS="-L$WINCE_PATH/lib" >>>>> export LD_LIBRARY_PATH="$WINCE_PATH/bin" >>>>> export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig" >>>>> >>>>> I save it in a file named mingw32ce.sh. To use it, in a terminal i >>>>> launch >>>>> it, only once, with: >>>>> >>>>> source /path/to/mingw32ce.sh >>>>> >>>>> MINGW32CE_PATH is where the cross compilation tool chain is located. >>>>> WINCE_PATH is where i install the cross compiled libraries/programs. >>>>> >>>>> Then I update some necessary variables with the 2 variables above. PATH, >>>>> of >>>>> course, plus other compilation env var. I think that you should also add >>>>> CFLAGS and CXXFLAGS for optimizations (like in your script). >>>>> >>>>> to configure a library: >>>>> >>>>> ./configure --host=arm-mingw32ce --prefix=$WINCE_PATH >>>>> >>>>> >>>>> I don't put the launch of ./configure in script, like your script, for >>>>> some >>>>> reasons. I would suggest that you also don't put it in your script. >>>>> >>>>> For the compilation of gstreamer, compile and install for your target: >>>>> >>>>> 1) dependencies of glib-2.0 (ask in the glib related mailing lists for >>>>> that) >>>>> 2) glib-2.0 >>>>> 3) gstreamer without libxml2 >>>>> >>>>> if you succeed, you can try gst-plugins-base. >>>>> >>>>> Vincent Torri >>>>> >>>>> >>>> >> > |