Gstreamer cross compilation doubt

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


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 <armsharief at gmail.com
> 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 <vtorri at univ-evry.fr>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 <vtorri at univ-evry.fr>
>>> 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
>>>>
>>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20091228/a5b579d0/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