There is the error:
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/zenitur/pidgin-2.14.1/./libpurple -I.. -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/purple-2/\" -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -DPURPLE_DISABLE_DEPRECATED -DPIDGIN_DISABLE_DEPRECATED -DFINCH_DISABLE_DEPRECATED -DGNT_DISABLE_DEPRECATED -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-declaration -Wextra -Wno-unused-parameter -Wformat-security -Werror=format-security -Winit-self -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -Wp,-D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/farstream-0.1 -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/NetworkManager -DSSL_CERTIFICATES_DIR=\"/etc/ssl/certs\" -D_FORTIFY_SOURCE=2 -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o backend-fs2.lo `test -f 'media/backend-fs2.c' || echo '/home/zenitur/pidgin-2.14.1/./libpurple/'`media/backend-fs2.c /home/zenitur/pidgin-2.14.1/./libpurple/media/backend-fs2.c: In function ‘src_pad_added_cb’: /home/zenitur/pidgin-2.14.1/./libpurple/media/backend-fs2.c:2203:4: error: implicit declaration of function ‘gst_pad_get_current_caps’ [-Werror=implicit-function-declaration] /home/zenitur/pidgin-2.14.1/./libpurple/media/backend-fs2.c:2203:9: warning: assignment makes pointer from integer without a cast [enabled by default] cc1: some warnings being treated as errors make[5]: *** [backend-fs2.lo] Error 1
Thanks dwmw2_gone from an IRC chat for a fix:
--- gtkrequest.c 2020-06-10 02:41:32.000000000 +0000 +++ gtkrequest-2.c 2020-07-06 09:46:28.000000000 +0000 @@ -47,6 +47,15 @@ static GtkWidget * create_account_field(PurpleRequestField *field); +#if !GLIB_CHECK_VERSION(2,38,0) +static GVariant *g_variant_new_take_string(char *str) +{ + GVariant *ret = g_variant_new_string(str); + free(str); + return ret; +} +#endif + typedef struct { PurpleRequestType type;
I hope than this fix will be applied in Pidgin 2.14.2
Also EionRobb helps me to fix building with some old GStreamer 0.10 version by changing: "caps = gst_pad_get_current_caps(mixer_srcpad);"
with: "caps = gst_pad_get_caps(mixer_srcpad);"
I hope that this thing is also in the trunk. It's also need some condition like "if gstreamer is lesser that some version, else..."
There is the error:
Last edit: Zenitur 2020-07-02
Thanks dwmw2_gone from an IRC chat for a fix:
I hope than this fix will be applied in Pidgin 2.14.2
Also EionRobb helps me to fix building with some old GStreamer 0.10 version by changing:
"caps = gst_pad_get_current_caps(mixer_srcpad);"
with:
"caps = gst_pad_get_caps(mixer_srcpad);"
I hope that this thing is also in the trunk. It's also need some condition like "if gstreamer is lesser that some version, else..."
Last edit: Zenitur 2021-02-07