编译glib-2.16.5.tar.bz时出错,错误现象如下:
Making all in gnulib
make[4]: Entering directory `/home/ubunru12-64/software/glib-2.16.5/glib/gnulib'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ubunru12-64/software/glib-2.16.5/glib/gnulib'
Making all in pcre
make[4]: Entering directory `/home/ubunru12-64/software/glib-2.16.5/glib/pcre'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ubunru12-64/software/glib-2.16.5/glib/pcre'
Making all in update-pcre
make[4]: Entering directory `/home/ubunru12-64/software/glib-2.16.5/glib/update-pcre'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ubunru12-64/software/glib-2.16.5/glib/update-pcre'
Making all in .
make[4]: Entering directory `/home/ubunru12-64/software/glib-2.16.5/glib'
/bin/bash ../libtool --tag=CC --mode=link arm-linux-gcc -I/home/ubunru12-64/software/blu/usr/lib/linclude -L/home/ubunru12-64/software/blu/usr/lib/lib -g -O2 -Wall -o gtester gtester.o libglib-2.0.la -lintl
arm-linux-gcc -I/home/ubunru12-64/software/blu/usr/lib/linclude -g -O2 -Wall -o .libs/gtester gtester.o -L/home/ubunru12-64/software/blu/usr/lib/lib ./.libs/libglib-2.0.so -L/opt/blu/lib/lib /usr/local/lib/libintl.a -liconv -Wl,--rpath -Wl,/home/ubunru12-64/software/blu/usr/lib/lib
./.libs/libglib-2.0.so: undefined reference to `libintl_bindtextdomain'
./.libs/libglib-2.0.so: undefined reference to `libintl_dgettext'
./.libs/libglib-2.0.so: undefined reference to `libintl_gettext'
./.libs/libglib-2.0.so: undefined reference to `libintl_bind_textdomain_codeset'
./.libs/libglib-2.0.so: undefined reference to `libintl_dngettext'
collect2: error: ld returned 1 exit status
make[4]: *** [gtester] Error 1
make[4]: Leaving directory `/home/ubunru12-64/software/glib-2.16.5/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ubunru12-64/software/glib-2.16.5/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ubunru12-64/software/glib-2.16.5/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubunru12-64/software/glib-2.16.5'
make: *** [all] Error 2
|