|
make之后的出错信息
make all-recursive
make[1]: Entering directory `/home/lib-X/libglade-2.6.1'
Making all in glade
make[2]: Entering directory `/home/lib-X/libglade-2.6.1/glade'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -std=c9x -o libglade-2.0.la -rpath /usr/lib -version-info 0:7:0 -export-symbols-regex "^[^_].*" -no-undefined glade-init.lo glade-xml.lo glade-parser.lo glade-gtk.lo -lxml2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
rm -fr .libs/libglade-2.0.exp .libs/libglade-2.0.ver
generating symbol list for `libglade-2.0.la'
/usr/bin/nm -B .libs/glade-init.o .libs/glade-xml.o .libs/glade-parser.o .libs/glade-gtk.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libglade-2.0.exp
/bin/grep -E -e "^[^_].*" ".libs/libglade-2.0.exp" > ".libs/libglade-2.0.expT"
mv -f ".libs/libglade-2.0.expT" ".libs/libglade-2.0.exp"
echo "{ global:" > .libs/libglade-2.0.ver
cat .libs/libglade-2.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libglade-2.0.ver
echo "local: *; };" >> .libs/libglade-2.0.ver
gcc -shared .libs/glade-init.o .libs/glade-xml.o .libs/glade-parser.o .libs/glade-gtk.o /usr/lib/libxml2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so -L/usr/lib /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so -L/usr/X11R7/lib /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,-soname -Wl,libglade-2.0.so.0 -Wl,-version-script -Wl,.libs/libglade-2.0.ver -o .libs/libglade-2.0.so.0.0.7
.libs/glade-xml.o: In function `g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:277: multiple definition of `g_bit_nth_lsf'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:277: first defined here
.libs/glade-xml.o: In function `g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:291: multiple definition of `g_bit_nth_msf'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:291: first defined here
.libs/glade-xml.o: In function `g_trash_stack_push':
/usr/include/glib-2.0/glib/gutils.h:322: multiple definition of `g_trash_stack_push'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:322: first defined here
.libs/glade-xml.o: In function `g_trash_stack_pop':
/usr/include/glib-2.0/glib/gutils.h:330: multiple definition of `g_trash_stack_pop'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:330: first defined here
.libs/glade-xml.o: In function `g_trash_stack_peek':
/usr/include/glib-2.0/glib/gutils.h:347: multiple definition of `g_trash_stack_peek'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:347: first defined here
.libs/glade-xml.o: In function `g_trash_stack_height':
/usr/include/glib-2.0/glib/gutils.h:356: multiple definition of `g_trash_stack_height'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:356: first defined here
.libs/glade-xml.o: In function `g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:304: multiple definition of `g_bit_storage'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:304: first defined here
.libs/glade-parser.o: In function `g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:277: multiple definition of `g_bit_nth_lsf'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:277: first defined here
.libs/glade-parser.o: In function `g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:291: multiple definition of `g_bit_nth_msf'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:291: first defined here
.libs/glade-parser.o: In function `g_trash_stack_push':
/usr/include/glib-2.0/glib/gutils.h:322: multiple definition of `g_trash_stack_push'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:322: first defined here
.libs/glade-parser.o: In function `g_trash_stack_pop':
/usr/include/glib-2.0/glib/gutils.h:330: multiple definition of `g_trash_stack_pop'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:330: first defined here
.libs/glade-parser.o: In function `g_trash_stack_peek':
/usr/include/glib-2.0/glib/gutils.h:347: multiple definition of `g_trash_stack_peek'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:347: first defined here
.libs/glade-parser.o: In function `g_trash_stack_height':
/usr/include/glib-2.0/glib/gutils.h:356: multiple definition of `g_trash_stack_height'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:356: first defined here
.libs/glade-parser.o: In function `g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:304: multiple definition of `g_bit_storage'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:304: first defined here
.libs/glade-gtk.o: In function `g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:277: multiple definition of `g_bit_nth_lsf'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:277: first defined here
.libs/glade-gtk.o: In function `g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:291: multiple definition of `g_bit_nth_msf'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:291: first defined here
.libs/glade-gtk.o: In function `g_trash_stack_push':
/usr/include/glib-2.0/glib/gutils.h:322: multiple definition of `g_trash_stack_push'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:322: first defined here
.libs/glade-gtk.o: In function `g_trash_stack_pop':
/usr/include/glib-2.0/glib/gutils.h:330: multiple definition of `g_trash_stack_pop'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:330: first defined here
.libs/glade-gtk.o: In function `g_trash_stack_peek':
/usr/include/glib-2.0/glib/gutils.h:347: multiple definition of `g_trash_stack_peek'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:347: first defined here
.libs/glade-gtk.o: In function `g_trash_stack_height':
/usr/include/glib-2.0/glib/gutils.h:356: multiple definition of `g_trash_stack_height'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:356: first defined here
.libs/glade-gtk.o: In function `g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:304: multiple definition of `g_bit_storage'
.libs/glade-init.o:/usr/include/glib-2.0/glib/gutils.h:304: first defined here
collect2: ld returned 1 exit status
make[2]: *** [libglade-2.0.la] Error 1
make[2]: Leaving directory `/home/lib-X/libglade-2.6.1/glade'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lib-X/libglade-2.6.1'
make: *** [all] Error 2
在论坛上看到跟我一样的出错信息:
http://www.linuxsir.cn/bbs/thread345628.html
上面没写具体怎么解决!
libglade-2.6.1依赖于:
libxml2-2.6.31
GTK+-2.10.13 ->> cairo-1.4.14 Pango-1.16.4, ATK-1.18.0
均已安装而且没问题。。
root@gns12:/home/lib-X/libglade-2.6.1$ll /usr/lib/libxml2.*
-rw-r--r-- 1 root root 4.7M Mar 15 15:12 /usr/lib/libxml2.a
-rwxr-xr-x 1 root root 801 Mar 15 15:12 /usr/lib/libxml2.la
lrwxrwxrwx 1 root root 17 Mar 15 15:12 /usr/lib/libxml2.so -> libxml2.so.2.6.31
lrwxrwxrwx 1 root root 17 Mar 15 15:12 /usr/lib/libxml2.so.2 -> libxml2.so.2.6.31
-rwxr-xr-x 1 root root 3.4M Mar 15 15:12 /usr/lib/libxml2.so.2.6.31
root@gns12:/home/lib-X/libglade-2.6.1$ll /usr/lib/libg?k*
lrwxrwxrwx 1 root root 19 Mar 12 17:56 /usr/lib/libgdk-1.2.so.0 -> libgdk-1.2.so.0.9.1
-rwxr-xr-x 1 root root 674K Mar 12 17:56 /usr/lib/libgdk-1.2.so.0.9.1
-rw-r--r-- 1 root root 830 Mar 15 15:08 /usr/lib/libgdk-x11-2.0.la
lrwxrwxrwx 1 root root 27 Mar 15 15:08 /usr/lib/libgdk-x11-2.0.so -> libgdk-x11-2.0.so.0.1000.13
lrwxrwxrwx 1 root root 27 Mar 15 15:08 /usr/lib/libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.1000.13
-rwxr-xr-x 1 root root 1.9M Mar 15 15:08 /usr/lib/libgdk-x11-2.0.so.0.1000.13
-rw-r--r-- 1 root root 911K Mar 12 17:56 /usr/lib/libgdk.a
-rwxr-xr-x 1 root root 720 Mar 12 17:56 /usr/lib/libgdk.la
lrwxrwxrwx 1 root root 19 Mar 12 17:56 /usr/lib/libgdk.so -> libgdk-1.2.so.0.9.1
-rwxr-xr-x 1 root root 959 Mar 15 15:08 /usr/lib/libgdk_pixbuf-2.0.la
lrwxrwxrwx 1 root root 30 Mar 15 15:08 /usr/lib/libgdk_pixbuf-2.0.so -> libgdk_pixbuf-2.0.so.0.1000.13
lrwxrwxrwx 1 root root 30 Mar 15 15:08 /usr/lib/libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.1000.13
-rwxr-xr-x 1 root root 279K Mar 15 15:08 /usr/lib/libgdk_pixbuf-2.0.so.0.1000.13
-rwxr-xr-x 1 root root 1.2K Mar 15 15:08 /usr/lib/libgdk_pixbuf_xlib-2.0.la
lrwxrwxrwx 1 root root 35 Mar 15 15:08 /usr/lib/libgdk_pixbuf_xlib-2.0.so -> libgdk_pixbuf_xlib-2.0.so.0.1000.13
lrwxrwxrwx 1 root root 35 Mar 15 15:08 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0 -> libgdk_pixbuf_xlib-2.0.so.0.1000.13
-rwxr-xr-x 1 root root 159K Mar 15 15:08 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0.1000.13
lrwxrwxrwx 1 root root 19 Mar 12 17:56 /usr/lib/libgtk-1.2.so.0 -> libgtk-1.2.so.0.9.1
-rwxr-xr-x 1 root root 4.2M Mar 12 17:56 /usr/lib/libgtk-1.2.so.0.9.1
-rw-r--r-- 1 root root 830 Mar 15 15:08 /usr/lib/libgtk-x11-2.0.la
lrwxrwxrwx 1 root root 27 Mar 15 15:08 /usr/lib/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.1000.13
lrwxrwxrwx 1 root root 27 Mar 15 15:08 /usr/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.1000.13
-rwxr-xr-x 1 root root 12M Mar 15 15:08 /usr/lib/libgtk-x11-2.0.so.0.1000.13
-rw-r--r-- 1 root root 6.5M Mar 12 17:56 /usr/lib/libgtk.a
-rwxr-xr-x 1 root root 720 Mar 12 17:56 /usr/lib/libgtk.la
lrwxrwxrwx 1 root root 19 Mar 12 17:56 /usr/lib/libgtk.so -> libgtk-1.2.so.0.9.1
root@gns12:/home/lib-X/libglade-2.6.1$ld -verbose | grep SEARCH
SEARCH_DIR("/usr/i686-pc-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
我在网上搜了好多关于这个错误,还是没有头绪,请各位高手给于指点,谢谢 |
|