levin108/hybrid — Issue #6: 在64位Fedora16上编译错误
Author: lxtsul
Created: 2011-12-13 16:08:20+00:00
State: open

编译时的输出:

terry@lixintian:~/Software/Network/hybrid$ mkdir -p build
terry@lixintian:~/Software/Network/hybrid$ cd build/
terry@lixintian:~/Software/Network/hybrid/build$ cmake ..
– The C compiler identification is GNU
– The CXX compiler identification is GNU
– Check for working C compiler: /usr/lib64/ccache/gcc
– Check for working C compiler: /usr/lib64/ccache/gcc — works
– Detecting C compiler ABI info
– Detecting C compiler ABI info – done
– Check for working CXX compiler: /usr/lib64/ccache/c++
– Check for working CXX compiler: /usr/lib64/ccache/c++ — works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info – done
– checking for module ‘gtk+-2.0′
– found gtk+-2.0, version 2.24.8
– checking for module ‘gdk-pixbuf-2.0′
– found gdk-pixbuf-2.0, version 2.24.0
– checking for module ‘glib-2.0′
– found glib-2.0, version 2.30.1
– checking for module ‘gobject-2.0′
– found gobject-2.0, version 2.30.1
– checking for module ‘gmodule-2.0′
– found gmodule-2.0, version 2.30.1
– checking for module ‘openssl’
– found openssl, version 1.0.0e
– checking for module ‘libxml-2.0′
– found libxml-2.0, version 2.7.8
– checking for module ‘libnotify’
– found libnotify, version 0.7.4
– checking for module ‘gstreamer-0.10′
– found gstreamer-0.10, version 0.10.35
– checking for module ‘xscrnsaver’
– found xscrnsaver, version 1.2.1
– checking for module ‘webkit-1.0′
– package ‘webkit-1.0′ not found
– checking for module ‘NetworkManager’
– found NetworkManager, version 0.9.2.0
– checking for module ‘dbus-glib-1′
– found dbus-glib-1, version 0.92
– checking for module ‘indicate’
– package ‘indicate’ not found
– checking for module ‘indicate-gtk’
– package ‘indicate-gtk’ not found
– checking for module ‘indicate-gtk-0.5′
– package ‘indicate-gtk-0.5′ not found
– Libnotify support: NEW
– GStreamer support: YES
– Xscreensaver support: YES
– WebKit support: NO
– NetworkManager support: YES
– Ubuntu Indicator support: NO
– glib-2.0
– Configuring done
– Generating done
– Build files have been written to: /home/terry/Software/Network/hybrid/build
terry@lixintian:~/Software/Network/hybrid/build$ sudo make
[sudo] password for terry:
Scanning dependencies of target email
[ 1%] Building C object CMakeFiles/email.dir/modules/email/mail.c.o
[ 3%] Building C object CMakeFiles/email.dir/modules/email/imap.c.o
Linking C shared library libemail.so
[ 3%] Built target email
Scanning dependencies of target fetion
[ 5%] Building C object CMakeFiles/fetion.dir/modules/fetion/fetion.c.o
/home/terry/Software/Network/hybrid/modules/fetion/fetion.c: 在函数‘fx_login’中:
/home/terry/Software/Network/hybrid/modules/fetion/fetion.c:433:26: 警告：变量‘conn’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/modules/fetion/fetion.c: 在函数‘fx_chat_start’中:
/home/terry/Software/Network/hybrid/modules/fetion/fetion.c:825:21: 警告：变量‘ac’被设定但未被使用 [-Wunused-but-set-variable]
[ 7%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_login.c.o
/home/terry/Software/Network/hybrid/modules/fetion/fx_login.c: 在函数‘cfg_connect_cb’中:
/home/terry/Software/Network/hybrid/modules/fetion/fx_login.c:304:28: 警告：格式 ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat]
[ 9%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_account.c.o
[ 11%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_sip.c.o
/home/terry/Software/Network/hybrid/modules/fetion/fx_sip.c: 在函数‘fetion_sip_to_string’中:
/home/terry/Software/Network/hybrid/modules/fetion/fx_sip.c:264:9: 警告：格式 ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat]
[ 13%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_group.c.o
[ 15%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_buddy.c.o
[ 16%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_trans.c.o
[ 18%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_util.c.o
[ 20%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_msg.c.o
[ 22%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_config.c.o
Linking C shared library libfetion.so
[ 22%] Built target fetion
Scanning dependencies of target hybrid
[ 24%] Building C object CMakeFiles/hybrid.dir/lib/connect.c.o
[ 26%] Building C object CMakeFiles/hybrid.dir/lib/network.c.o
[ 28%] Building C object CMakeFiles/hybrid.dir/lib/debug.c.o
[ 30%] Building C object CMakeFiles/hybrid.dir/lib/eventloop.c.o
[ 32%] Building C object CMakeFiles/hybrid.dir/lib/module.c.o
[ 33%] Building C object CMakeFiles/hybrid.dir/lib/account.c.o
[ 35%] Building C object CMakeFiles/hybrid.dir/lib/xmlnode.c.o
[ 37%] Building C object CMakeFiles/hybrid.dir/lib/config.c.o
[ 39%] Building C object CMakeFiles/hybrid.dir/lib/util.c.o
/home/terry/Software/Network/hybrid/lib/util.c: 在函数‘hybrid_base64_encode’中:
/home/terry/Software/Network/hybrid/lib/util.c:332:3: 警告：计算出的值未被使用 [-Wunused-value]
[ 41%] Building C object CMakeFiles/hybrid.dir/lib/pref.c.o
[ 43%] Building C object CMakeFiles/hybrid.dir/lib/logs.c.o
[ 45%] Building C object CMakeFiles/hybrid.dir/src/gtkconn.c.o
[ 47%] Building C object CMakeFiles/hybrid.dir/src/gtksound.c.o
[ 49%] Building C object CMakeFiles/hybrid.dir/src/gtkutils.c.o
[ 50%] Building C object CMakeFiles/hybrid.dir/src/gtkaccount.c.o
/home/terry/Software/Network/hybrid/src/gtkaccount.c: 在函数‘bind_account_to_edit’中:
/home/terry/Software/Network/hybrid/src/gtkaccount.c:542:19: 警告：变量‘module’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/gtkaccount.c: 在函数‘add_cb’中:
/home/terry/Software/Network/hybrid/src/gtkaccount.c:837:29: 警告：变量‘edit_panel’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/gtkaccount.c: 在函数‘modify_cb’中:
/home/terry/Software/Network/hybrid/src/gtkaccount.c:898:29: 警告：变量‘edit_panel’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/gtkaccount.c: 在函数‘action_cb’中:
/home/terry/Software/Network/hybrid/src/gtkaccount.c:932:19: 警告：变量‘module’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/gtkaccount.c: 在函数‘create_account_child_menus’中:
/home/terry/Software/Network/hybrid/src/gtkaccount.c:986:19: 警告：变量‘proto’被设定但未被使用 [-Wunused-but-set-variable]
[ 52%] Building C object CMakeFiles/hybrid.dir/src/blist.c.o
/home/terry/Software/Network/hybrid/src/blist.c: 在函数‘buddy_information_menu_cb’中:
/home/terry/Software/Network/hybrid/src/blist.c:277:17: 警告：变量‘info’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/blist.c: 在函数‘buddy_move_cb’中:
/home/terry/Software/Network/hybrid/src/blist.c:302:16: 警告：变量‘proto_icon’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/blist.c: 在函数‘create_group_menu’中:
/home/terry/Software/Network/hybrid/src/blist.c:587:20: 警告：变量‘account’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/blist.c: 在函数‘hybrid_blist_buddy_to_cache’中:
/home/terry/Software/Network/hybrid/src/blist.c:1898:14: 警告：变量‘root’被设定但未被使用 [-Wunused-but-set-variable]
[ 54%] Building C object CMakeFiles/hybrid.dir/src/conv.c.o
/home/terry/Software/Network/hybrid/src/conv.c: 在函数‘menu_popup_current_page_cb’中:
/home/terry/Software/Network/hybrid/src/conv.c:480:25: 警告：变量‘parent’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/conv.c:477:10: 警告：变量‘page_index’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/conv.c: 在函数‘init_chat_window_body’中:
/home/terry/Software/Network/hybrid/src/conv.c:1087:16: 警告：变量‘button’被设定但未被使用 [-Wunused-but-set-variable]
/home/terry/Software/Network/hybrid/src/conv.c: 在函数‘hybrid_chat_window_update_tips’中:
/home/terry/Software/Network/hybrid/src/conv.c:1654:25: 警告：变量‘conv’被设定但未被使用 [-Wunused-but-set-variable]
[ 56%] Building C object CMakeFiles/hybrid.dir/src/info.c.o
[ 58%] Building C object CMakeFiles/hybrid.dir/src/head.c.o
[ 60%] Building C object CMakeFiles/hybrid.dir/src/action.c.o
[ 62%] Building C object CMakeFiles/hybrid.dir/src/notify.c.o
[ 64%] Building C object CMakeFiles/hybrid.dir/src/tooltip.c.o
[ 66%] Building C object CMakeFiles/hybrid.dir/src/preference.c.o
[ 67%] Building C object CMakeFiles/hybrid.dir/src/chat-textview.c.o
[ 69%] Building C object CMakeFiles/hybrid.dir/src/chat-webkit.c.o
/home/terry/Software/Network/hybrid/src/chat-webkit.c: 在函数‘timeout_cb’中:
/home/terry/Software/Network/hybrid/src/chat-webkit.c:167:5: 错误：未知的类型名‘WebKitLoadStatus’
/home/terry/Software/Network/hybrid/src/chat-webkit.c:171:19: 错误：‘WEBKIT_LOAD_FINISHED’未声明(在此函数内第一次使用)
/home/terry/Software/Network/hybrid/src/chat-webkit.c:171:19: 附注：每个未声明的标识符在其出现的函数内只报告一次
/home/terry/Software/Network/hybrid/src/chat-webkit.c:175:5: 警告：隐式声明函数‘webkit_web_view_execute_script’ [-Wimplicit-function-declaration]
/home/terry/Software/Network/hybrid/src/chat-webkit.c:175:5: 警告：隐式声明函数‘WEBKIT_WEB_VIEW’ [-Wimplicit-function-declaration]
/home/terry/Software/Network/hybrid/src/chat-webkit.c: 在函数‘hybrid_chat_webkit_append’中:
/home/terry/Software/Network/hybrid/src/chat-webkit.c:188:5: 错误：未知的类型名‘WebKitLoadStatus’
/home/terry/Software/Network/hybrid/src/chat-webkit.c:246:9: 错误：‘WEBKIT_LOAD_FINISHED’未声明(在此函数内第一次使用)
/home/terry/Software/Network/hybrid/src/chat-webkit.c:247:9: 错误：‘WEBKIT_LOAD_FIRST_VISUALLY_NON_EMPTY_LAYOUT’未声明(在此函数内第一次使用)
/home/terry/Software/Network/hybrid/src/chat-webkit.c: 在函数‘hybrid_chat_webkit_notify’中:
/home/terry/Software/Network/hybrid/src/chat-webkit.c:268:5: 错误：未知的类型名‘WebKitLoadStatus’
/home/terry/Software/Network/hybrid/src/chat-webkit.c:276:9: 错误：‘WEBKIT_LOAD_FINISHED’未声明(在此函数内第一次使用)
/home/terry/Software/Network/hybrid/src/chat-webkit.c:277:9: 错误：‘WEBKIT_LOAD_FIRST_VISUALLY_NON_EMPTY_LAYOUT’未声明(在此函数内第一次使用)
make[2]: *** [CMakeFiles/hybrid.dir/src/chat-webkit.c.o] 错误 1
make[1]: *** [CMakeFiles/hybrid.dir/all] 错误 2
make: *** [all] 错误 2
terry@lixintian:~/Software/Network/hybrid/build$