glib-2.12.6 crosscompile failed...



Hi, everyone

I'm crosscompiling glib 2.12.6 based on clfs, the c library is uclibc 
snapshot, gettext version 0.16, and libiconv verison is 1.11.

while cross building glib-2.12.6, after applying this(otherwise configure will 
fail):

cat > config.cache <<EOF
glib_cv_stack_grows=no
glib_cv_uscore=no
ac_cv_func_posix_getpwuid_r=no
ac_cv_path_GLIB_GENMARSHAL=yes
EOF

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --build=${CLFS_BUILD} --host=${CLFS_HOST} --enable-threads --enable-dependency-tracking  
LINGUAS="en zh_CN" --cache-file=config.cache


I've got the fellowing error message:

# make
make  all-recursive
make[1]: Entering directory `/mnt/clfs/sources/glib-2.12.6'
Making all in .
make[2]: Entering directory `/mnt/clfs/sources/glib-2.12.6'
make[2]: Leaving directory `/mnt/clfs/sources/glib-2.12.6'
Making all in m4macros
make[2]: Entering directory `/mnt/clfs/sources/glib-2.12.6/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/clfs/sources/glib-2.12.6/m4macros'
Making all in glib
make[2]: Entering directory `/mnt/clfs/sources/glib-2.12.6/glib'
make  all-recursive
make[3]: Entering directory `/mnt/clfs/sources/glib-2.12.6/glib'
Making all in libcharset
make[4]: Entering directory `/mnt/clfs/sources/glib-2.12.6/glib/libcharset'
/bin/sh ../../libtool --mode=link i686-pc-linux-uclibc-gcc  -g -O2 -Wall   -o 
libcharset.la   localcharset.lo  -lintl
libtool: link: warning: library `/mnt/clfs/usr/lib//libintl.la' was moved.
grep: /usr/lib/libiconv.la: No such file or directory
/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[4]: *** [libcharset.la] Error 1
make[4]: Leaving directory `/mnt/clfs/sources/glib-2.12.6/glib/libcharset'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/clfs/sources/glib-2.12.6/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/clfs/sources/glib-2.12.6/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/glib-2.12.6'
make: *** [all] Error 2

could any body help me please? thanks!

-- 
Wang, Baojun                                        Lanzhou University
Distributed & Embedded System Lab              http://dslab.lzu.edu.cn
School of Information Science and Engeneering        wangbj lzu edu cn
Tianshui South Road 222. Lanzhou 730000                     .P.R.China
Tel:+86-931-8912025                                Fax:+86-931-8912022

Attachment: pgpturYCajEVG.pgp
Description: PGP signature



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