Not much nonsense, directly on the configuration:
CC=ARM-NONE-LINUX-GCC./configure--build=i686-linux--host=arm-none-linux \
Glib_cv_stack_grows=no Glib_cv_uscore=no ac_cv_func_posix_getpwuid_r=yes \
Ac_cv_func_posix_getgrgid_r=yes Ac_cv_lib_rt_clock_gettime=no Glib_cv_monotonic_clock=yes
Note the following points:
1. In the Configure, there will be no glib-compile-schemas error found,
The solution is very simple, is to use the host compiler glib-2.28.8, that is, directly:
./configure--prefix=<your Glib2 Install path>; Make Make install
After compiling, set the environment variable path=<your glib2 install Path>/bin: $PATH, you can find Glib-compile-schemas.
2. If the following error occurs in Make:
gsimpleaction.c:in function ' G_simple_action_class_init ':
Gsimpleaction.c:329:error: ' G_cclosure_marshal_void__variant ' undeclared (in the This function)
Gsimpleaction.c:329:error: (Each undeclared identifier are reported only once
The reason for this error is because the Glib-genmarshal version is too old to cause, you can install the file from the GObject directory to: <your glib2 install can be resolved,
Generally if you do the first step, this step will not be wrong, because the first step will be installed when the file is installed.
3. If the following error occurred while compiling the gio/tests:
/usr/bin/msgfmt-o Test.mo./de.po; \
/bin/mkdir-p de/lc_messages; \
Cp-f Test.mo De/lc_messages
./de.po:15:keyword "Msgctxt" Unknown
./de.po:15:8: Parse Error
/usr/bin/msgfmt:found 2 Fatal errors
Cp:cannot stat ' test.mo ': No such file or directory
This problem is due to the/usr/bin/msgfmt version of the old, please download the gettext-0.17 or updated version, in the host under the compile installation,
Set the environment variable path=<your gettext install Path>/bin: $PATH, and also specify configure at AC_CV_PATH_MSGFMT=MSGFMT,
Otherwise set the environment variable also useless, compile the time will still force use/USR/BIN/MSGFMT
After doing the above 3 points, glib-2.28.8 will be able to make a difference.