[Pidgin] #15719: Compilation: "error: unknown type name 'GtkObject'"

Pidgin trac at pidgin.im
Wed Aug 7 09:15:51 EDT 2013


#15719: Compilation: "error: unknown type name 'GtkObject'"
---------------------+--------------------------
 Reporter:  shlomif  |      Owner:  rekkanoryo
     Type:  defect   |     Status:  new
Milestone:           |  Component:  unclassified
  Version:           |   Keywords:
---------------------+--------------------------
 Running "make" on pidgin-main-default-tip gives me this:


 {{{
 make  all-recursive
 make[1]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main'
 Making all in .
 make[2]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main'
   GEN      package_revision_raw.txt
   GEN      package_revision.h
 make[2]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main'
 Making all in libpurple
 make[2]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple'
 make  all-recursive
 make[3]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple'
 Making all in gconf
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/gconf'
 make[4]: Nothing to be done for `all'.
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/gconf'
 Making all in plugins
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins'
 Making all in perl
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/perl'
 make[6]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/perl/common'
 perl -MExtUtils::Command::MM -e pod2man -- --section=3 --perm_rw=644
 Purple.pm blib/man3/Purple.3pm
 make[6]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/perl/common'
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/perl'
 Making all in ssl
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/ssl'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/ssl'
 Making all in tcl
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/tcl'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/tcl'
 Making all in keyrings
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/keyrings'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins/keyrings'
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins'
 cd ../../libpurple && make  dbus-types.h
 make[6]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple'
 make[6]: `dbus-types.h' is up to date.
 make[6]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple'
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins'
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/plugins'
 Making all in protocols
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols'
 Making all in bonjour
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/bonjour'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/bonjour'
 Making all in gg
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/gg'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/gg'
 Making all in irc
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/irc'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/irc'
 Making all in jabber
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/jabber'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/jabber'
 Making all in msn
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/msn'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/msn'
 Making all in mxit
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/mxit'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/mxit'
 Making all in myspace
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/myspace'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/myspace'
 Making all in novell
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/novell'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/novell'
 Making all in oscar
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/oscar'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/oscar'
 Making all in sametime
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/sametime'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/sametime'
 Making all in silc
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/silc'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/silc'
 Making all in simple
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/simple'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/simple'
 Making all in yahoo
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/yahoo'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/yahoo'
 Making all in zephyr
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/zephyr'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols/zephyr'
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols'
 make[5]: Nothing to be done for `all-am'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols'
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/protocols'
 Making all in ciphers
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/ciphers'
 make[4]: Nothing to be done for `all'.
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/ciphers'
 Making all in .
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple'
 make[4]: Nothing to be done for `all-am'.
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple'
 Making all in tests
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/tests'
 make[4]: Nothing to be done for `all'.
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/tests'
 Making all in example
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/example'
 make[4]: Nothing to be done for `all'.
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple/example'
 make[3]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple'
 make[2]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/libpurple'
 Making all in doc
 make[2]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/doc'
 make[2]: Nothing to be done for `all'.
 make[2]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/doc'
 Making all in finch
 make[2]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch'
 Making all in libgnt
 make[3]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/libgnt'
 make  all-recursive
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/libgnt'
 Making all in .
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/libgnt'
 make[5]: Nothing to be done for `all-am'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/libgnt'
 Making all in wms
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/libgnt/wms'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/libgnt/wms'
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/libgnt'
 make[3]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/libgnt'
 Making all in plugins
 make[3]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/plugins'
 make[3]: Nothing to be done for `all'.
 make[3]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch/plugins'
 make[3]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch'
   CC       finch.o
   CCLD     finch
 make[3]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch'
 make[2]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/finch'
 Making all in pidgin
 make[2]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin'
 make  all-recursive
 make[3]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin'
 Making all in pixmaps
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps'
 Making all in emotes/default/24
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps/emotes/default/24'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps/emotes/default/24'
 Making all in emotes/none
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps/emotes/none'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps/emotes/none'
 Making all in emotes/small/16
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps/emotes/small/16'
 make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps/emotes/small/16'
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps'
 make[5]: Nothing to be done for `all-am'.
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps'
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/pixmaps'
 Making all in plugins
 make[4]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/plugins'
 Making all in cap
 make[5]: Entering directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/plugins/cap'
   CC       cap.lo
 In file included from cap.c:22:0:
 cap.h:123:37: error: unknown type name 'GtkObject'
 cap.c: In function 'generate_prediction_for':
 cap.c:97:9: warning: assignment discards 'const' qualifier from pointer
 target type [enabled by default]
 cap.c: In function 'create_tables':
 cap.c:512:6: warning: variable 'rc' set but not used [-Wunused-but-set-
 variable]
 cap.c: In function 'insert_status_change_from_purple_status':
 cap.c:615:6: warning: variable 'rc' set but not used [-Wunused-but-set-
 variable]
 cap.c: In function 'create_cap_prefs_ui':
 cap.c:772:2: warning: 'gtk_vbox_new' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61): Use 'gtk_box_new'
 instead [-Wdeprecated-declarations]
 cap.c:798:2: warning: 'gtk_table_new' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:102): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:799:2: warning: 'gtk_table_attach' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:110): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:799:2: warning: 'gtk_table_get_type' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:100) [-Wdeprecated-
 declarations]
 cap.c:803:2: warning: 'gtk_table_attach' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:110): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:803:2: warning: 'gtk_table_get_type' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:100) [-Wdeprecated-
 declarations]
 cap.c:807:2: warning: 'gtk_table_attach' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:110): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:807:2: warning: 'gtk_table_get_type' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:100) [-Wdeprecated-
 declarations]
 cap.c:811:2: warning: 'gtk_table_attach' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:110): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:811:2: warning: 'gtk_table_get_type' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:100) [-Wdeprecated-
 declarations]
 cap.c:815:2: warning: 'gtk_table_attach' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:110): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:815:2: warning: 'gtk_table_get_type' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:100) [-Wdeprecated-
 declarations]
 cap.c:819:2: warning: 'gtk_table_attach' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:110): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:819:2: warning: 'gtk_table_get_type' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:100) [-Wdeprecated-
 declarations]
 cap.c:823:2: warning: 'gtk_table_attach' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:110): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:823:2: warning: 'gtk_table_get_type' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:100) [-Wdeprecated-
 declarations]
 cap.c:827:2: warning: 'gtk_table_attach' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:110): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:827:2: warning: 'gtk_table_get_type' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:100) [-Wdeprecated-
 declarations]
 cap.c:831:2: warning: 'gtk_table_attach' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:110): Use 'GtkGrid' instead
 [-Wdeprecated-declarations]
 cap.c:831:2: warning: 'gtk_table_get_type' is deprecated (declared at
 /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:100) [-Wdeprecated-
 declarations]
 cap.c:856:158: error: 'cap_prefs_ui_destroy_cb' undeclared (first use in
 this function)
 cap.c:856:158: note: each undeclared identifier is reported only once for
 each function it appears in
 cap.c: At top level:
 cap.c:871:37: error: unknown type name 'GtkObject'
 make[5]: *** [cap.lo] Error 1
 make[5]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/plugins/cap'
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin/plugins'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main/pidgin'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/shlomif/Download/unpack/net/pidgin
 /pidgin-main'
 make: *** [all] Error 2

 }}}

 I'm on Mageia Linux Cauldron x86-64, and ran configure like so:

 {{{
 ./configure --prefix="$pref" --with-gconf-schema-file-dir="$pref/gconf/"
 --disable-schemas-install --with-gtk=3 --with-gstreamer=1.0 --enable-
 gnutls=yes --disable-mono --disable-nm --without-krb4 --enable-cap --with-
 system-ssl-certs=/etc/pki/tls/rootcerts/ --disable-static --disable-
 schemas-install --disable-vv
 }}}

-- 
Ticket URL: <https://developer.pidgin.im/ticket/15719>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list