<div>yes i tried to compile glib and i got error in that.</div><div><br></div><div><strong>checking for msgfmt... no<br>configure: error:<br>*** You must have either have gettext support in your C library, or use the<br>*** GNU gettext library. (<a href="http://www.gnu.org/software/gettext/gettext.html">http://www.gnu.org/software/gettext/gettext.html</a><br>
<br>Configuration of glib library  has failed</strong><br><br></div><div>   So after that i downloaded gettext and tried to cross compile that.but i am getting some errors in that</div><div><br></div><div><strong>mbuiter.h:112: error: expected specifier-qualifier-list before &#39;mbstate_t&#39;</strong><strong><br>
</strong><strong>mbuiter.h: In function &#39;mbuiter_multi_next&#39;:</strong><strong><br></strong><strong>mbuiter.h:126: error: &#39;struct mbuiter_multi&#39; has no member named &#39;next_done&#39;</strong><strong><br></strong><strong>mbuiter.h:131: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;</strong><strong><br>
</strong><strong>mbuiter.h:136: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;</strong><strong><br></strong><strong>mbuiter.h:137: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;</strong><strong><br>
</strong><strong>mbuiter.h:137: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;</strong><strong><br></strong><strong>mbuiter.h:138: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;</strong><br>
<strong>mbuiter.h:142: error: &#39;struct mbuiter_multi&#39; has no member named &#39;state&#39;<br>mbuiter.h:145: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:145: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>
mbuiter.h:145: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:146: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:147: error: &#39;struct mbuiter_multi&#39; has no member named &#39;state&#39;<br>
mbuiter.h:148: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:151: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:152: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>
mbuiter.h:156: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:159: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:159: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>
mbuiter.h:160: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:166: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:169: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;</strong><br>
<strong>mbuiter.h:170: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:171: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:173: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>
mbuiter.h:177: error: &#39;struct mbuiter_multi&#39; has no member named &#39;state&#39;<br>mbuiter.h:181: error: &#39;struct mbuiter_multi&#39; has no member named &#39;next_done&#39;<br>mbuiter.h: In function &#39;mbuiter_multi_reloc&#39;:<br>
mbuiter.h:187: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h: In function &#39;mbuiter_multi_copy&#39;:<br>mbuiter.h:194: error: &#39;struct mbuiter_multi&#39; has no member named &#39;state&#39;<br>
mbuiter.h:194: error: &#39;const struct mbuiter_multi&#39; has no member named &#39;state&#39;<br>mbuiter.h:194: error: &#39;mbstate_t&#39; undeclared (first use in this function)<br>mbuiter.h:194: error: (Each undeclared identifier is reported only once<br>
mbuiter.h:194: error: for each function it appears in.)<br>mbuiter.h:196: error: &#39;struct mbuiter_multi&#39; has no member named &#39;state&#39;</strong><br><strong>mbuiter.h:197: error: &#39;struct mbuiter_multi&#39; has no member named &#39;next_done&#39;<br>
mbuiter.h:197: error: &#39;const struct mbuiter_multi&#39; has no member named &#39;next_done&#39;<br>mbuiter.h:198: error: &#39;struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>mbuiter.h:198: error: &#39;const struct mbuiter_multi&#39; has no member named &#39;cur&#39;<br>
mbslen.c: In function &#39;mbslen&#39;:<br>mbslen.c:40: error: &#39;mbui_iterator_t&#39; has no member named &#39;cur&#39;<br>mbslen.c:40: error: &#39;mbui_iterator_t&#39; has no member named &#39;state&#39;<br>mbslen.c:40: error: &#39;mbstate_t&#39; undeclared (first use in this function)<br>
mbslen.c:40: error: &#39;mbui_iterator_t&#39; has no member named &#39;next_done&#39;</strong><br><strong>mbslen.c:40: error: &#39;mbui_iterator_t&#39; has no member named &#39;cur&#39;<br>mbslen.c:40: error: &#39;mbui_iterator_t&#39; has no member named &#39;cur&#39;<br>
mbslen.c:40: error: &#39;mbui_iterator_t&#39; has no member named &#39;cur&#39;<br>mbslen.c:40: error: &#39;mbui_iterator_t&#39; has no member named &#39;cur&#39;<br>mbslen.c:40: error: &#39;mbui_iterator_t&#39; has no member named &#39;next_done&#39;<br>
make[4]: *** [mbslen.o] Error 1<br>make[4]: Leaving directory `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime/gnulib-lib&#39;<br>make[3]: *** [all] Error 2<br>make[3]: Leaving directory `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime/gnulib-lib&#39;<br>
make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime&#39;<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/home/sharief/Desktop/libraries/gettext-0.17/gettext-runtime&#39;<br>
make: *** [all-recursive] Error 1<br>Building  of glib library  has failed</strong><br><br></div><div>    Now i am confused.</div><div><br></div><br><div class="gmail_quote">On Mon, Dec 28, 2009 at 2:00 AM, Vincent Torri <span dir="ltr">&lt;<a href="mailto:vtorri@univ-evry.fr">vtorri@univ-evry.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
<br>
On Sun, 27 Dec 2009, Niamathullah sharief wrote:<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for your valuable information. Thanks a lot. I have an another doubt<br>
what is this &quot;WINCE_PATH is where i install the cross compiled<br>
libraries/programs.&quot; mean?<br>
</blockquote>
<br></div>
make install copies the necessary files in a path. It is that path.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
whether you are telling about cross compiling libraries like libxml2,glib<br>
etc..?or any other libraries?<br>
</blockquote>
<br></div>
cross compiling libraries, of course<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
if yes where we have to keep that libraries? and where is this &quot;pkg-config:<br>
file exist?i didnt hve any file like that?what is the content of that<br>
file?from where i can get that file?please tell me<br>
</blockquote>
<br></div>
try to compile glib-2.0 first.<br>
<br>
Vincnet Torri<div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
And the main thing is whether this gst-plugin base is required while<br>
compiling this gstreamer i mean whether we have to use some libraries and<br>
some codecs file whle compiling gstreamer?or both are seperate one?<br>
Thank a lot in advance<br>
<br>
On Sun, Dec 27, 2009 at 6:33 PM, Vincent Torri &lt;<a href="mailto:vtorri@univ-evry.fr" target="_blank">vtorri@univ-evry.fr</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Sun, 27 Dec 2009, Niamathullah sharief wrote:<br>
<br>
 what about that script which i have sent...is that correct?<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
imho it is *too* complicated. For cross compilation for Windows CE, i use<br>
the following script:<br>
<br>
#! /bin/sh<br>
<br>
export MINGW32CE_PATH=$HOME/local/opt/mingw32ce<br>
export WINCE_PATH=$HOME/local/wince<br>
<br>
export PATH=$CEGCC_PATH/bin:$MINGW32CE_PATH/bin:$PATH<br>
export CPPFLAGS=&quot;-I$WINCE_PATH/include&quot;<br>
export LDFLAGS=&quot;-L$WINCE_PATH/lib&quot;<br>
export LD_LIBRARY_PATH=&quot;$WINCE_PATH/bin&quot;<br>
export PKG_CONFIG_PATH=&quot;$WINCE_PATH/lib/pkgconfig&quot;<br>
<br>
I save it in a file named mingw32ce.sh. To use it, in a terminal i launch<br>
it, only once, with:<br>
<br>
source /path/to/mingw32ce.sh<br>
<br>
MINGW32CE_PATH is where the cross compilation tool chain is located.<br>
WINCE_PATH is where i install the cross compiled libraries/programs.<br>
<br>
Then I update some necessary variables with the 2 variables above. PATH, of<br>
course, plus other compilation env var. I think that you should also add<br>
CFLAGS and CXXFLAGS for optimizations (like in your script).<br>
<br>
to configure a library:<br>
<br>
./configure --host=arm-mingw32ce --prefix=$WINCE_PATH<br>
<br>
<br>
I don&#39;t put the launch of ./configure in script, like your script, for some<br>
reasons. I would suggest that you also don&#39;t put it in your script.<br>
<br>
For the compilation of gstreamer, compile and install for your target:<br>
<br>
1) dependencies of glib-2.0 (ask in the glib related mailing lists for<br>
that)<br>
2) glib-2.0<br>
3) gstreamer without libxml2<br>
<br>
if you succeed, you can try gst-plugins-base.<br>
<br>
Vincent Torri<br>
<br>
</blockquote>
<br>
</blockquote>
</div></div></blockquote></div><br>