<div>Hello,<br></div><div>  I am trying to cross compile pkg-config for arm processor. but when i try to make the following error is coming</div><div><br></div><div><strong>make  all-recursive<br>make[1]: Entering directory `/mnt/freescale/sources/pkg-config-0.20&#39;<br>
Making all in glib-1.2.8<br>make[2]: Entering directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8&#39;<br>make  all-recursive<br>make[3]: Entering directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8&#39;<br>
Making all in .<br>make[4]: Entering directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8&#39;<br>if /bin/sh ./libtool --mode=compile arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=vfp3 -ftree-vectorize -funroll-all-loops -Wall  -D_REENTRANT -MT garray.lo -MD -MP -MF &quot;.deps/garray.Tpo&quot; \<br>
          -c -o garray.lo `test -f &#39;garray.c&#39; || echo &#39;./&#39;`garray.c; \<br>        then mv -f &quot;.deps/garray.Tpo&quot; &quot;.deps/garray.Plo&quot;; \<br>        else rm -f &quot;.deps/garray.Tpo&quot;; exit 1; \<br>        fi<br>
 arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=vfp3 -ftree-vectorize -funroll-all-loops -Wall -D_REENTRANT -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c  -fPIC -DPIC -o .libs/garray.o<br>
In file included from glib.h:66,<br>                 from garray.c:32:<br>./glibconfig.h:82: error: flexible array member in union<br>In file included from garray.c:32:<br>glib.h:2335: error: expected &#39;,&#39; or &#39;}&#39; before &#39;GLIB_SYSDEF_POLLIN&#39;<br>
garray.c:65: confused by earlier errors, bailing out<br>make[4]: *** [garray.lo] Error 1<br>make[4]: Leaving directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8&#39;<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8&#39;<br>
make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8&#39;<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/mnt/freescale/sources/pkg-config-0.20&#39;<br>
make: *** [all] Error 2<br>sharief@sharief-desktop:/mnt/freescale/sources/pkg-config-0.20$</strong><br><br></div><div>  Can anyone help me</div>