whtsky@whtsky-Aspire-4810T:~/srcs/hybrid$ cmake ./
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/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.22.0
-- checking for module 'gdk-pixbuf-2.0'
-- found gdk-pixbuf-2.0, version 2.22.0
-- checking for module 'glib-2.0'
-- found glib-2.0, version 2.26.1
-- checking for module 'gobject-2.0'
-- found gobject-2.0, version 2.26.1
-- checking for module 'gmodule-2.0'
-- found gmodule-2.0, version 2.26.1
-- checking for module 'openssl'
-- found openssl, version 0.9.8o
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.7.7
-- checking for module 'libnotify'
-- found libnotify, version 0.5.0
-- checking for module 'gstreamer-0.10'
-- found gstreamer-0.10, version 0.10.30
-- checking for module 'xscrnsaver'
-- found xscrnsaver, version 1.2.0
-- checking for module 'webkit-1.0'
-- found webkit-1.0, version 1.2.7
-- checking for module 'NetworkManager'
-- found NetworkManager, version 0.8.1
-- checking for module 'dbus-glib-1'
-- found dbus-glib-1, version 0.88
-- checking for module 'indicate'
-- found indicate, version 0.4.4
-- checking for module 'indicate-gtk'
-- found indicate-gtk, version 0.4.4
-- checking for module 'indicate-gtk-0.5'
-- package 'indicate-gtk-0.5' not found
-- Libnotify support: YES
-- GStreamer support: YES
-- Xscreensaver support: YES
-- WebKit support: YES
-- NetworkManager support: YES
-- Ubuntu Indicator support: YES
-- Native language support: YES
-- glib-2.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/whtsky/srcs/hybrid
whtsky@whtsky-Aspire-4810T:~/srcs/hybrid$ make
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
[ 7%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_login.c.o
[ 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
[ 12%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_group.c.o
[ 14%] 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
[ 25%] Building C object CMakeFiles/hybrid.dir/lib/network.c.o
[ 27%] Building C object CMakeFiles/hybrid.dir/lib/eventloop.c.o
[ 29%] Building C object CMakeFiles/hybrid.dir/lib/module.c.o
[ 31%] Building C object CMakeFiles/hybrid.dir/lib/account.c.o
[ 33%] Building C object CMakeFiles/hybrid.dir/lib/xmlnode.c.o
[ 35%] Building C object CMakeFiles/hybrid.dir/lib/config.c.o
[ 37%] Building C object CMakeFiles/hybrid.dir/lib/util.c.o
[ 38%] Building C object CMakeFiles/hybrid.dir/lib/pref.c.o
[ 40%] Building C object CMakeFiles/hybrid.dir/lib/logs.c.o
[ 42%] Building C object CMakeFiles/hybrid.dir/src/gtkconn.c.o
[ 44%] Building C object CMakeFiles/hybrid.dir/src/gtksound.c.o
[ 46%] Building C object CMakeFiles/hybrid.dir/src/gtkutils.c.o
[ 48%] Building C object CMakeFiles/hybrid.dir/src/gtkaccount.c.o
[ 50%] Building C object CMakeFiles/hybrid.dir/src/blist.c.o
[ 51%] Building C object CMakeFiles/hybrid.dir/src/conv.c.o
[ 53%] Building C object CMakeFiles/hybrid.dir/src/info.c.o
[ 55%] Building C object CMakeFiles/hybrid.dir/src/head.c.o
[ 57%] Building C object CMakeFiles/hybrid.dir/src/action.c.o
[ 59%] Building C object CMakeFiles/hybrid.dir/src/notify.c.o
[ 61%] Building C object CMakeFiles/hybrid.dir/src/tooltip.c.o
[ 62%] Building C object CMakeFiles/hybrid.dir/src/preference.c.o
/home/whtsky/srcs/hybrid/src/preference.c: In function ‘select_pref_add_entry’:
/home/whtsky/srcs/hybrid/src/preference.c:256: warning: implicit declaration of function ‘gtk_combo_box_text_new’
/home/whtsky/srcs/hybrid/src/preference.c:256: warning: assignment makes pointer from integer without a cast
/home/whtsky/srcs/hybrid/src/preference.c:263: warning: implicit declaration of function ‘gtk_combo_box_text_append_text’
/home/whtsky/srcs/hybrid/src/preference.c:263: warning: implicit declaration of function ‘GTK_COMBO_BOX_TEXT’
[ 64%] Building C object CMakeFiles/hybrid.dir/src/chat-textview.c.o
[ 66%] Building C object CMakeFiles/hybrid.dir/src/chat-webkit.c.o
[ 68%] Building C object CMakeFiles/hybrid.dir/src/groupadd.c.o
[ 70%] Building C object CMakeFiles/hybrid.dir/src/buddyadd.c.o
[ 72%] Building C object CMakeFiles/hybrid.dir/src/buddyreq.c.o
[ 74%] Building C object CMakeFiles/hybrid.dir/src/statusicon.c.o
[ 75%] Building C object CMakeFiles/hybrid.dir/src/searchbox.c.o
[ 77%] Building C object CMakeFiles/hybrid.dir/src/confirm.c.o
[ 79%] Building C object CMakeFiles/hybrid.dir/src/about.c.o
[ 81%] Building C object CMakeFiles/hybrid.dir/src/gtkcellrendererexpander.c.o
[ 83%] Building C object CMakeFiles/hybrid.dir/src/core.c.o
Linking C executable hybrid
CMakeFiles/hybrid.dir/src/preference.c.o: In function select_pref_add_entry': /home/whtsky/srcs/hybrid/src/preference.c:256: undefined reference togtk_combo_box_text_new'
/home/whtsky/srcs/hybrid/src/preference.c:263: undefined reference to GTK_COMBO_BOX_TEXT' /home/whtsky/srcs/hybrid/src/preference.c:263: undefined reference togtk_combo_box_text_append_text'
collect2: ld returned 1 exit status
make[2]: * [hybrid] 错误 1
make[1]: * [CMakeFiles/hybrid.dir/all] 错误 2
make: *\ [all] 错误 2
whtsky@whtsky-Aspire-4810T:~/srcs/hybrid$ cmake ./ -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/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.22.0 -- checking for module 'gdk-pixbuf-2.0' -- found gdk-pixbuf-2.0, version 2.22.0 -- checking for module 'glib-2.0' -- found glib-2.0, version 2.26.1 -- checking for module 'gobject-2.0' -- found gobject-2.0, version 2.26.1 -- checking for module 'gmodule-2.0' -- found gmodule-2.0, version 2.26.1 -- checking for module 'openssl' -- found openssl, version 0.9.8o -- checking for module 'libxml-2.0' -- found libxml-2.0, version 2.7.7 -- checking for module 'libnotify' -- found libnotify, version 0.5.0 -- checking for module 'gstreamer-0.10' -- found gstreamer-0.10, version 0.10.30 -- checking for module 'xscrnsaver' -- found xscrnsaver, version 1.2.0 -- checking for module 'webkit-1.0' -- found webkit-1.0, version 1.2.7 -- checking for module 'NetworkManager' -- found NetworkManager, version 0.8.1 -- checking for module 'dbus-glib-1' -- found dbus-glib-1, version 0.88 -- checking for module 'indicate' -- found indicate, version 0.4.4 -- checking for module 'indicate-gtk' -- found indicate-gtk, version 0.4.4 -- checking for module 'indicate-gtk-0.5' -- package 'indicate-gtk-0.5' not found -- Libnotify support: YES -- GStreamer support: YES -- Xscreensaver support: YES -- WebKit support: YES -- NetworkManager support: YES -- Ubuntu Indicator support: YES -- Native language support: YES -- glib-2.0 -- Configuring done -- Generating done -- Build files have been written to: /home/whtsky/srcs/hybrid whtsky@whtsky-Aspire-4810T:~/srcs/hybrid$ make 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 [ 7%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_login.c.o [ 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 [ 12%] Building C object CMakeFiles/fetion.dir/modules/fetion/fx_group.c.o [ 14%] 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 [ 25%] Building C object CMakeFiles/hybrid.dir/lib/network.c.o [ 27%] Building C object CMakeFiles/hybrid.dir/lib/eventloop.c.o [ 29%] Building C object CMakeFiles/hybrid.dir/lib/module.c.o [ 31%] Building C object CMakeFiles/hybrid.dir/lib/account.c.o [ 33%] Building C object CMakeFiles/hybrid.dir/lib/xmlnode.c.o [ 35%] Building C object CMakeFiles/hybrid.dir/lib/config.c.o [ 37%] Building C object CMakeFiles/hybrid.dir/lib/util.c.o [ 38%] Building C object CMakeFiles/hybrid.dir/lib/pref.c.o [ 40%] Building C object CMakeFiles/hybrid.dir/lib/logs.c.o [ 42%] Building C object CMakeFiles/hybrid.dir/src/gtkconn.c.o [ 44%] Building C object CMakeFiles/hybrid.dir/src/gtksound.c.o [ 46%] Building C object CMakeFiles/hybrid.dir/src/gtkutils.c.o [ 48%] Building C object CMakeFiles/hybrid.dir/src/gtkaccount.c.o [ 50%] Building C object CMakeFiles/hybrid.dir/src/blist.c.o [ 51%] Building C object CMakeFiles/hybrid.dir/src/conv.c.o [ 53%] Building C object CMakeFiles/hybrid.dir/src/info.c.o [ 55%] Building C object CMakeFiles/hybrid.dir/src/head.c.o [ 57%] Building C object CMakeFiles/hybrid.dir/src/action.c.o [ 59%] Building C object CMakeFiles/hybrid.dir/src/notify.c.o [ 61%] Building C object CMakeFiles/hybrid.dir/src/tooltip.c.o [ 62%] Building C object CMakeFiles/hybrid.dir/src/preference.c.o /home/whtsky/srcs/hybrid/src/preference.c: In function ‘select_pref_add_entry’: /home/whtsky/srcs/hybrid/src/preference.c:256: warning: implicit declaration of function ‘gtk_combo_box_text_new’ /home/whtsky/srcs/hybrid/src/preference.c:256: warning: assignment makes pointer from integer without a cast /home/whtsky/srcs/hybrid/src/preference.c:263: warning: implicit declaration of function ‘gtk_combo_box_text_append_text’ /home/whtsky/srcs/hybrid/src/preference.c:263: warning: implicit declaration of function ‘GTK_COMBO_BOX_TEXT’ [ 64%] Building C object CMakeFiles/hybrid.dir/src/chat-textview.c.o [ 66%] Building C object CMakeFiles/hybrid.dir/src/chat-webkit.c.o [ 68%] Building C object CMakeFiles/hybrid.dir/src/groupadd.c.o [ 70%] Building C object CMakeFiles/hybrid.dir/src/buddyadd.c.o [ 72%] Building C object CMakeFiles/hybrid.dir/src/buddyreq.c.o [ 74%] Building C object CMakeFiles/hybrid.dir/src/statusicon.c.o [ 75%] Building C object CMakeFiles/hybrid.dir/src/searchbox.c.o [ 77%] Building C object CMakeFiles/hybrid.dir/src/confirm.c.o [ 79%] Building C object CMakeFiles/hybrid.dir/src/about.c.o [ 81%] Building C object CMakeFiles/hybrid.dir/src/gtkcellrendererexpander.c.o [ 83%] Building C object CMakeFiles/hybrid.dir/src/core.c.o Linking C executable hybrid CMakeFiles/hybrid.dir/src/preference.c.o: In function
select_pref_add_entry': /home/whtsky/srcs/hybrid/src/preference.c:256: undefined reference to
gtk_combo_box_text_new' /home/whtsky/srcs/hybrid/src/preference.c:263: undefined reference toGTK_COMBO_BOX_TEXT' /home/whtsky/srcs/hybrid/src/preference.c:263: undefined reference to
gtk_combo_box_text_append_text' collect2: ld returned 1 exit status make[2]: * [hybrid] 错误 1 make[1]: * [CMakeFiles/hybrid.dir/all] 错误 2 make: *\ [all] 错误 2