[Pidgin] #16396: error: implicit declaration of function 'purple_message_get_who' [-Werror=implicit-function-declaration] when building pidgin hg tip
Pidgin
trac at pidgin.im
Sat Oct 11 06:33:36 EDT 2014
#16396: error: implicit declaration of function 'purple_message_get_who' [-Werror
=implicit-function-declaration] when building pidgin hg tip
---------------------+--------------------------
Reporter: shlomif | Owner: EionRobb
Type: defect | Status: new
Milestone: | Component: unclassified
Version: 3.0.0hg | Keywords:
---------------------+--------------------------
Building hg changeset: 36168:0203e8dce52d gives me this error. I am on
Mageia Linux x86-64 Cauldron/5 using this configure command:
{{{
#!/bin/bash
pref="$HOME/apps/pidgin-beta"
./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
}}}
{{{
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
make[2]: Leaving directory '/home/shlomif/Download/unpack/net/pidgin
/pidgin-main'
Making all in m4macros
make[2]: Entering directory '/home/shlomif/Download/unpack/net/pidgin
/pidgin-main/m4macros'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/shlomif/Download/unpack/net/pidgin
/pidgin-main/m4macros'
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 .
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 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 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'
GEN ../../libpurple/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 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 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 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 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 .
make[3]: Entering directory '/home/shlomif/Download/unpack/net/pidgin
/pidgin-main/finch'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/shlomif/Download/unpack/net/pidgin
/pidgin-main/finch'
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[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 .
make[4]: Entering directory '/home/shlomif/Download/unpack/net/pidgin
/pidgin-main/pidgin'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving 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/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
cap.c: In function 'sent_im_msg':
cap.c:348:2: error: implicit declaration of function
'purple_message_get_who' [-Werror=implicit-function-declaration]
buddy = purple_blist_find_buddy(account, purple_message_get_who(msg));
^
cap.c:348:43: warning: passing argument 2 of 'purple_blist_find_buddy'
makes pointer from integer without a cast
buddy = purple_blist_find_buddy(account, purple_message_get_who(msg));
^
In file included from ../../../libpurple/presence.h:66:0,
from ../../../libpurple/status.h:94,
from ../../../libpurple/connection.h:196,
from ../../../libpurple/account.h:53,
from ../../../libpurple/accounts.h:32,
from ../../../libpurple/internal.h:197,
from cap.h:25,
from cap.c:22:
../../../libpurple/buddylist.h:364:14: note: expected 'const char *' but
argument is of type 'int'
PurpleBuddy *purple_blist_find_buddy(PurpleAccount *account, const char
*name);
^
cap.c:358:58: warning: passing argument 2 of 'insert_word_count' makes
pointer from integer without a cast
insert_word_count(purple_account_get_username(account),
purple_message_get_who(msg), words);
^
In file included from cap.c:22:0:
cap.h:115:13: note: expected 'const char *' but argument is of type 'int'
static void insert_word_count(const char *sender, const char *receiver,
guint count);
^
cap.c: In function 'create_cap_prefs_ui':
cap.c:767: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]
ui->ret = gtk_vbox_new(FALSE, 18);
^
cap.c:773:2: warning: 'gtk_misc_set_alignment' is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-
declarations]
gtk_misc_set_alignment(GTK_MISC(ui->msg_difference_label), 0, 0.5);
^
cap.c:773:2: warning: 'gtk_misc_get_type' is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-
declarations]
cap.c:776:2: warning: 'gtk_misc_set_alignment' is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-
declarations]
gtk_misc_set_alignment(GTK_MISC(ui->msg_difference_minutes_label), 0,
0.5);
^
cap.c:776:2: warning: 'gtk_misc_get_type' is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70) [-Wdeprecated-
declarations]
cap.c:780:2: warning: 'gtk_misc_set_alignment' is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72) [-Wdeprecated-
declarations]
}}}
--
Ticket URL: <https://developer.pidgin.im/ticket/16396>
Pidgin <https://pidgin.im>
Pidgin
More information about the Tracker
mailing list