I'm trying to compile pidgin sip from the git version.
commit a614f6d122879d199ced9dc1ca258d52b0eda75d Merge: 69a7176 4f34ae0 Author: Stefan Becker <chemobejk@gmail.com>
Using default ./configure options
I'm running Pidgin 3.0.0devel (libpurple 3.0.0devel)
I'm getting the following error when I run make
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Werror -Wall -Wextra -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Wdeprecated-declarations -Winit-self -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wunused-but-set-variable -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./../api -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT libsipe_backend_la-purple-chat.lo -MD -MP -MF .deps/libsipe_backend_la-purple-chat.Tpo -c -o libsipe_backend_la-purple-chat.lo test -f 'purple-chat.c' || echo './'
purple-chat.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Werror -Wall -Wextra -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Wdeprecated-declarations -Winit-self -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wunused-but-set-variable -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./../api -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT libsipe_backend_la-purple-chat.lo -MD -MP -MF .deps/libsipe_backend_la-purple-chat.Tpo -c purple-chat.c -fPIC -DPIC -o .libs/libsipe_backend_la-purple-chat.o
purple-chat.c:223:6: error: unknown type name ‘PurpleMessage’
PurpleMessage *msg)
^
Let me know if you require any further information. Thank you for any help
Can't reproduce. Closing as WORKSFORME.
Ok do you think having gstream-1.x could have any issues with pidgin sip?
No, only src/purple/purple-media.c includes gstreamer headers. You could try to cross check this by adding "--without-vv" to the configure command line.
I can only explain your error message with an unclean build environment, i.e. purple 2 and 3 header are visible during compilation:
i.e. purple-chat.c included the purple 2 interface files.
Last edit: Stefan Becker 2015-04-10