<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'<br>
Making all in glib-1.2.8<br>make[2]: Entering directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8'<br>make all-recursive<br>make[3]: Entering directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8'<br>
Making all in .<br>make[4]: Entering directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8'<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 ".deps/garray.Tpo" \<br>
         -c -o garray.lo `test -f 'garray.c' || echo './'`garray.c; \<br>        then mv -f ".deps/garray.Tpo" ".deps/garray.Plo"; \<br>        else rm -f ".deps/garray.Tpo"; 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 ',' or '}' before 'GLIB_SYSDEF_POLLIN'<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'<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8'<br>
make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/mnt/freescale/sources/pkg-config-0.20/glib-1.2.8'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/mnt/freescale/sources/pkg-config-0.20'<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>