glibmm-2.22.1 compilar error



Hello,
       I am a  gtk user. I  install glib-2.22.1 first . I get the glib-2.22.1.tar.bz2 from www.gtk.org and glibmm-2.22.1.tar.bz2 from www.grkmm.org . And then i install glibmm-2.22.1.But i can not compilar glibmm-2.22 with some errors caused by libgio-2.0.so.
 
ERROR    MESSAGES:
 
make  all-recursive
make[1]: Entering directory `/mnt/work/gordon/WIFI/wifi-AP/glibmm-2.22.1'
Making all in tools
make[2]: Entering directory `/mnt/work/gordon/WIFI/wifi-AP/glibmm-2.22.1/tools'
depbase=`echo extra_defs_gen/generate_extra_defs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H   -I.. -pthread   -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0/    -Wall -g -O2 -MT extra_defs_gen/generate_extra_defs.lo -MD -MP -MF $depbase.Tpo -c -o extra_defs_gen/generate_extra_defs.lo extra_defs_gen/generate_extra_defs.cc &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -pthread -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0/ -Wall -g -O2 -MT extra_defs_gen/generate_extra_defs.lo -MD -MP -MF extra_defs_gen/.deps/generate_extra_defs.Tpo -c extra_defs_gen/generate_extra_defs.cc  -fPIC -DPIC -o extra_defs_gen/.libs/generate_extra_defs.o
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -Wall -g -O2 -no-undefined -version-info 3:0:2  -o extra_defs_gen/libglibmm_generate_extra_defs-2.4.la -rpath /usr/lib extra_defs_gen/generate_extra_defs.lo -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: rm -fr  extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.la extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.lai extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so.1 extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so.1.2.0
libtool: link: g++ -shared -nostdlib /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crti.o /usr/lib/gcc/i386-redhat-linux/4.1.2/crtbeginS.o  extra_defs_gen/.libs/generate_extra_defs.o   /usr/lib/libsigc-2.0.so -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -L/usr/lib/gcc/i386-redhat-linux/4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i386-redhat-linux/4.1.2/crtendS.o /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crtn.o  -Wl,--export-dynamic   -Wl,-soname -Wl,libglibmm_generate_extra_defs-2.4.so.1 -o extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so.1.2.0
libtool: link: (cd "extra_defs_gen/.libs" && rm -f "libglibmm_generate_extra_defs-2.4.so.1" && ln -s "libglibmm_generate_extra_defs-2.4.so.1.2.0" "libglibmm_generate_extra_defs-2.4.so.1")
libtool: link: (cd "extra_defs_gen/.libs" && rm -f "libglibmm_generate_extra_defs-2.4.so" && ln -s "libglibmm_generate_extra_defs-2.4.so.1.2.0" "libglibmm_generate_extra_defs-2.4.so")
libtool: link: ( cd "extra_defs_gen/.libs" && rm -f "libglibmm_generate_extra_defs-2.4.la" && ln -s "../libglibmm_generate_extra_defs-2.4.la" "libglibmm_generate_extra_defs-2.4.la" )
depbase=`echo extra_defs_gen/generate_defs_glib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H   -I.. -pthread   -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0/    -Wall -g -O2 -MT extra_defs_gen/generate_defs_glib.o -MD -MP -MF $depbase.Tpo -c -o extra_defs_gen/generate_defs_glib.o extra_defs_gen/generate_defs_glib.cc &&\
        mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -Wall -g -O2   -o extra_defs_gen/generate_defs_glib extra_defs_gen/generate_defs_glib.o -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   extra_defs_gen/libglibmm_generate_extra_defs-2.4.la
libtool: link: g++ -Wall -g -O2 -o extra_defs_gen/.libs/generate_defs_glib extra_defs_gen/generate_defs_glib.o -Wl,--export-dynamic  extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so /usr/lib/libsigc-2.0.so -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
depbase=`echo extra_defs_gen/generate_defs_gio.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H   -I.. -pthread   -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0/    -Wall -g -O2 -MT extra_defs_gen/generate_defs_gio.o -MD -MP -MF $depbase.Tpo -c -o extra_defs_gen/generate_defs_gio.o extra_defs_gen/generate_defs_gio.cc &&\
        mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -Wall -g -O2   -o extra_defs_gen/generate_defs_gio extra_defs_gen/generate_defs_gio.o -Wl,--export-dynamic -lsigc-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   extra_defs_gen/libglibmm_generate_extra_defs-2.4.la
libtool: link: g++ -Wall -g -O2 -o extra_defs_gen/.libs/generate_defs_gio extra_defs_gen/generate_defs_gio.o -Wl,--export-dynamic  -lgio-2.0 extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so /usr/lib/libsigc-2.0.so -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
/usr/local/lib/libgio-2.0.so: undefined reference to `g_checksum_update'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_checksum_get_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_checksum_new'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_ptr_array_new_with_free_func'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_error_new_valist'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_strcmp0'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_poll'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hostname_is_non_ascii'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hostname_to_ascii'
/usr/local/lib/libgio-2.0.so: undefined reference to `glib_gettext'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_assertion_message_expr'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hash_table_iter_steal'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_checksum_free'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_timeout_add_seconds'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_mkstemp_full'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hash_table_iter_next'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hash_table_iter_init'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_uri_parse_scheme'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_once_init_enter_impl'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_string_append_uri_escaped'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_uri_unescape_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_array_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_assertion_message_cmpnum'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_byte_array_unref'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_uri_escape_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_set_error_literal'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_assertion_message'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_byte_array_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_warn_message'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_get_user_special_dir'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_once_init_leave'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_prefix_error'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_main_context_get_thread_default'
collect2: ld returned 1 exit status
make[2]: *** [extra_defs_gen/generate_defs_gio] Error 1
make[2]: Leaving directory `/mnt/work/gordon/WIFI/wifi-AP/glibmm-2.22.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/work/gordon/WIFI/wifi-AP/glibmm-2.22.1'
make: *** [all] Error 2
[root gordon glibmm-2.22.1]# touch i.txt
[root gordon glibmm-2.22.1]# kate i.txt
ScimInputContextPlugin()
~ScimInputContextPlugin()
ScimInputContextPlugin()
~ScimInputContextPlugin()


make  all-recursive
make[1]: Entering directory `/mnt/work/gordon/WIFI/wifi-AP/glibmm-2.22.1'
Making all in tools
make[2]: Entering directory `/mnt/work/gordon/WIFI/wifi-AP/glibmm-2.22.1/tools'
depbase=`echo extra_defs_gen/generate_extra_defs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H   -I.. -pthread   -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0/    -Wall -g -O2 -MT extra_defs_gen/generate_extra_defs.lo -MD -MP -MF $depbase.Tpo -c -o extra_defs_gen/generate_extra_defs.lo extra_defs_gen/generate_extra_defs.cc &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -pthread -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0/ -Wall -g -O2 -MT extra_defs_gen/generate_extra_defs.lo -MD -MP -MF extra_defs_gen/.deps/generate_extra_defs.Tpo -c extra_defs_gen/generate_extra_defs.cc  -fPIC -DPIC -o extra_defs_gen/.libs/generate_extra_defs.o
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -Wall -g -O2 -no-undefined -version-info 3:0:2  -o extra_defs_gen/libglibmm_generate_extra_defs-2.4.la -rpath /usr/lib extra_defs_gen/generate_extra_defs.lo -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: rm -fr  extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.la extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.lai extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so.1 extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so.1.2.0
libtool: link: g++ -shared -nostdlib /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crti.o /usr/lib/gcc/i386-redhat-linux/4.1.2/crtbeginS.o  extra_defs_gen/.libs/generate_extra_defs.o   /usr/lib/libsigc-2.0.so -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -L/usr/lib/gcc/i386-redhat-linux/4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i386-redhat-linux/4.1.2/crtendS.o /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crtn.o  -Wl,--export-dynamic   -Wl,-soname -Wl,libglibmm_generate_extra_defs-2.4.so.1 -o extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so.1.2.0
libtool: link: (cd "extra_defs_gen/.libs" && rm -f "libglibmm_generate_extra_defs-2.4.so.1" && ln -s "libglibmm_generate_extra_defs-2.4.so.1.2.0" "libglibmm_generate_extra_defs-2.4.so.1")
libtool: link: (cd "extra_defs_gen/.libs" && rm -f "libglibmm_generate_extra_defs-2.4.so" && ln -s "libglibmm_generate_extra_defs-2.4.so.1.2.0" "libglibmm_generate_extra_defs-2.4.so")
libtool: link: ( cd "extra_defs_gen/.libs" && rm -f "libglibmm_generate_extra_defs-2.4.la" && ln -s "../libglibmm_generate_extra_defs-2.4.la" "libglibmm_generate_extra_defs-2.4.la" )
depbase=`echo extra_defs_gen/generate_defs_glib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H   -I.. -pthread   -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0/    -Wall -g -O2 -MT extra_defs_gen/generate_defs_glib.o -MD -MP -MF $depbase.Tpo -c -o extra_defs_gen/generate_defs_glib.o extra_defs_gen/generate_defs_glib.cc &&\
        mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -Wall -g -O2   -o extra_defs_gen/generate_defs_glib extra_defs_gen/generate_defs_glib.o -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   extra_defs_gen/libglibmm_generate_extra_defs-2.4.la
libtool: link: g++ -Wall -g -O2 -o extra_defs_gen/.libs/generate_defs_glib extra_defs_gen/generate_defs_glib.o -Wl,--export-dynamic  extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so /usr/lib/libsigc-2.0.so -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
depbase=`echo extra_defs_gen/generate_defs_gio.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H   -I.. -pthread   -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0/    -Wall -g -O2 -MT extra_defs_gen/generate_defs_gio.o -MD -MP -MF $depbase.Tpo -c -o extra_defs_gen/generate_defs_gio.o extra_defs_gen/generate_defs_gio.cc &&\
        mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -Wall -g -O2   -o extra_defs_gen/generate_defs_gio extra_defs_gen/generate_defs_gio.o -Wl,--export-dynamic -lsigc-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   extra_defs_gen/libglibmm_generate_extra_defs-2.4.la
libtool: link: g++ -Wall -g -O2 -o extra_defs_gen/.libs/generate_defs_gio extra_defs_gen/generate_defs_gio.o -Wl,--export-dynamic  -lgio-2.0 extra_defs_gen/.libs/libglibmm_generate_extra_defs-2.4.so /usr/lib/libsigc-2.0.so -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
/usr/local/lib/libgio-2.0.so: undefined reference to `g_checksum_update'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_checksum_get_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_checksum_new'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_ptr_array_new_with_free_func'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_error_new_valist'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_strcmp0'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_poll'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hostname_is_non_ascii'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hostname_to_ascii'
/usr/local/lib/libgio-2.0.so: undefined reference to `glib_gettext'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_assertion_message_expr'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hash_table_iter_steal'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_checksum_free'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_timeout_add_seconds'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_mkstemp_full'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hash_table_iter_next'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hash_table_iter_init'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_uri_parse_scheme'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_once_init_enter_impl'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_string_append_uri_escaped'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_uri_unescape_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_array_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_assertion_message_cmpnum'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_byte_array_unref'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_uri_escape_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_set_error_literal'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_assertion_message'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_byte_array_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_warn_message'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_get_user_special_dir'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_once_init_leave'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_prefix_error'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_main_context_get_thread_default'
collect2: ld returned 1 exit status
make[2]: *** [extra_defs_gen/generate_defs_gio] Error 1
make[2]: Leaving directory `/mnt/work/gordon/WIFI/wifi-AP/glibmm-2.22.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/work/gordon/WIFI/wifi-AP/glibmm-2.22.1'
make: *** [all] Error 2
[root gordon glibmm-2.22.1]# touch i.txt
[root gordon glibmm-2.22.1]# kate i.txt
ScimInputContextPlugin()
~ScimInputContextPlugin()
ScimInputContextPlugin()
~ScimInputContextPlugin()


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