tieto / sipe

A third-party Pidgin plugin for Microsoft Lync/OCS - clone of upstream http://repo.or.cz/w/siplcs.git
GNU General Public License v2.0
129 stars 24 forks source link

Application Sharing Support #16

Closed zafarsustbd closed 8 years ago

zafarsustbd commented 8 years ago

I am trying to compile the latest codebase of SIPE and loading it with Pidgin. But Pidgin cannot load libsipe.so for several Undefined Symbols.

xhaakon commented 8 years ago

Could you please provide some logs from your build or Pidgin run? Which symbols are undefined?

zafarsustbd commented 8 years ago

FYI: Previously I had problem with the methods defined in sipe-applicationsharing.c and for fixing that I put these method definition in sipe-media.c. Now I am having trouble with the X11_ShadowSubsystemEntry.

Is there anything I should do while configuring like I do for enabling voice and video (i.e: --with-vv)? Anothor question, Is the application sharing fully integrated in sipe project?

root@zafar-pc:/home/zafar# pidgin --debug
(16:19:03) prefs: Reading /root/.purple/prefs.xml
(16:19:03) prefs: Finished reading /root/.purple/prefs.xml
(16:19:03) prefs: purple_prefs_get_path: Unknown pref /pidgin/browsers/command
(16:19:03) dbus: okkk
(16:19:03) plugins: probing /usr/lib/pidgin/gtkbuddynote.so
(16:19:03) plugins: probing /usr/lib/pidgin/xmppconsole.so
(16:19:03) plugins: probing /usr/lib/pidgin/history.so
(16:19:03) plugins: probing /usr/lib/pidgin/spellchk.so
(16:19:03) plugins: probing /usr/lib/pidgin/convcolors.so
(16:19:03) plugins: probing /usr/lib/pidgin/cap.so
(16:19:03) plugins: probing /usr/lib/pidgin/themeedit.so
(16:19:03) plugins: probing /usr/lib/pidgin/unity.so
(16:19:03) plugins: probing /usr/lib/pidgin/vvconfig.so
(16:19:03) plugins: probing /usr/lib/pidgin/ticker.so
(16:19:03) plugins: probing /usr/lib/pidgin/musicmessaging.so
(16:19:03) plugins: probing /usr/lib/pidgin/gestures.so
(16:19:03) plugins: probing /usr/lib/pidgin/iconaway.so
(16:19:03) plugins: probing /usr/lib/pidgin/timestamp.so
(16:19:03) plugins: probing /usr/lib/pidgin/sendbutton.so
(16:19:03) plugins: probing /usr/lib/pidgin/markerline.so
(16:19:03) plugins: probing /usr/lib/pidgin/notify.so
(16:19:03) plugins: probing /usr/lib/pidgin/extplacement.so
(16:19:03) plugins: probing /usr/lib/pidgin/pidginrc.so
(16:19:03) plugins: probing /usr/lib/pidgin/xmppdisco.so
(16:19:03) plugins: probing /usr/lib/pidgin/timestamp_format.so
(16:19:03) plugins: probing /usr/lib/purple-2/tcl.so
(16:19:03) plugins: probing /usr/lib/purple-2/libnovell.so
(16:19:03) plugins: probing /usr/lib/purple-2/joinpart.so
(16:19:03) plugins: probing /usr/lib/purple-2/librdtk.so
(16:19:03) plugins: /usr/lib/purple-2/librdtk.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(16:19:03) plugins: probing /usr/lib/purple-2/libjabber.so
(16:19:03) plugins: /usr/lib/purple-2/libjabber.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(16:19:03) plugins: probing /usr/lib/purple-2/psychic.so
(16:19:03) plugins: probing /usr/lib/purple-2/ssl-nss.so
(16:19:03) plugins: probing /usr/lib/purple-2/idle.so
(16:19:03) plugins: probing /usr/lib/purple-2/nss-prefs.so
(16:19:03) plugins: probing /usr/lib/purple-2/pidgin-libnotify.so
(16:19:03) plugins: probing /usr/lib/purple-2/offlinemsg.so
(16:19:03) plugins: probing /usr/lib/purple-2/dbus-example.so
(16:19:03) plugins: probing /usr/lib/purple-2/ssl.so
(16:19:03) plugins: probing /usr/lib/purple-2/newline.so
(16:19:03) plugins: probing /usr/lib/purple-2/libmyspace.so
(16:19:03) plugins: probing /usr/lib/purple-2/libxfreerdp-client.so
(16:19:04) plugins: /usr/lib/purple-2/libxfreerdp-client.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(16:19:04) plugins: probing /usr/lib/purple-2/liboscar.so
(16:19:04) plugins: /usr/lib/purple-2/liboscar.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(16:19:04) plugins: probing /usr/lib/purple-2/libsametime.so
(16:19:04) plugins: /usr/lib/purple-2/libsametime.so has a prefs_info, but is a prpl. This is no longer supported.
(16:19:04) plugins: probing /usr/lib/purple-2/libsimple.so
(16:19:04) plugins: probing /usr/lib/purple-2/libyahoojp.so
(16:19:04) plugins: probing /usr/lib/purple-2/libmsn.so
(16:19:04) plugins: probing /usr/lib/purple-2/libfreerdp-client.so
(16:19:04) plugins: /usr/lib/purple-2/libfreerdp-client.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(16:19:04) plugins: probing /usr/lib/purple-2/libzephyr.so
(16:19:04) plugins: probing /usr/lib/purple-2/libyahoo.so
(16:19:04) plugins: probing /usr/lib/purple-2/perl.so
(16:19:04) plugins: probing /usr/lib/purple-2/statenotify.so
(16:19:04) plugins: probing /usr/lib/purple-2/libxmpp.so
(16:19:04) plugins: probing /usr/lib/purple-2/libymsg.so
(16:19:04) plugins: /usr/lib/purple-2/libymsg.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(16:19:04) plugins: probing /usr/lib/purple-2/libwinpr.so
(16:19:04) plugins: /usr/lib/purple-2/libwinpr.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(16:19:04) plugins: probing /usr/lib/purple-2/libaim.so
(16:19:04) plugins: probing /usr/lib/purple-2/autoaccept.so
(16:19:04) plugins: probing /usr/lib/purple-2/libgg.so
(16:19:04) plugins: probing /usr/lib/purple-2/libsipe.so
(16:19:04) plugins: /usr/lib/purple-2/libsipe.so is not loadable: undefined symbol: X11_ShadowSubsystemEntry
(16:19:04) plugins: probing /usr/lib/purple-2/log_reader.so
(16:19:04) plugins: probing /usr/lib/purple-2/libicq.so
(16:19:04) plugins: probing /usr/lib/purple-2/libbonjour.so
(16:19:04) plugins: probing /usr/lib/purple-2/buddynote.so
(16:19:04) plugins: probing /usr/lib/purple-2/libfreerdp.so
(16:19:05) plugins: /usr/lib/purple-2/libfreerdp.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(16:19:05) plugins: probing /usr/lib/purple-2/libirc.so
(16:19:05) plugins: probing /usr/lib/purple-2/libmxit.so
(16:19:05) prpl-loubserp-mxit: Loading MXit libPurple plugin...
(16:19:05) util: Reading file xmpp-caps.xml from directory /root/.purple
(16:19:05) util: File /root/.purple/xmpp-caps.xml does not exist (this is not necessarily an error)
(16:19:05) jabber: creating hash tables for data objects
(16:19:05) gg: Loading Gadu-Gadu protocol plugin with libgadu 1.12.0...
(16:19:05) prefs: /purple/status/scores/offline changed, scheduling save.
(16:19:05) prefs: /purple/status/scores/available changed, scheduling save.
(16:19:05) prefs: /purple/status/scores/invisible changed, scheduling save.
(16:19:05) prefs: /purple/status/scores/away changed, scheduling save.
(16:19:05) prefs: /purple/status/scores/extended_away changed, scheduling save.
(16:19:05) prefs: /purple/status/scores/idle changed, scheduling save.
(16:19:05) prefs: /purple/status/scores/offline_msg changed, scheduling save.
(16:19:05) util: Reading file accounts.xml from directory /root/.purple
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'available' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'online' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'idle' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'busy' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'busyidle' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'do-not-disturb' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'on-the-phone' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'in-a-conference' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'in-a-meeting' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'urgent-interruptions-only' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'away' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'be-right-back' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'out-to-lunch' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'out-of-office' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'invisible' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) g_log: purple_presence_get_status: assertion 'presence != NULL' failed
(16:19:05) account: Invalid status ID 'offline' for account u2@seyeball.com,u2@seyeball.com (prpl-sipe)
(16:19:05) util: Reading file status.xml from directory /root/.purple
(16:19:05) certificate: CertificateVerifier x509, singleuse requested but not found.
(16:19:05) certificate: CertificateVerifier singleuse registered
(16:19:05) certificate: CertificatePool x509, ca requested but not found.
(16:19:05) certificate: CertificateScheme x509 requested but not found.
(16:19:05) certificate/x509/ca: Lazy init failed because an X.509 Scheme is not yet registered. Maybe it will be better later.
(16:19:05) certificate/x509/ca: Init failed, probably because a dependency is not yet registered. It has been deferred to later.
(16:19:05) certificate: CertificatePool ca registered
(16:19:05) certificate: CertificatePool x509, tls_peers requested but not found.
(16:19:05) certificate: CertificatePool tls_peers registered
(16:19:05) certificate: CertificateVerifier x509, tls_cached requested but not found.
(16:19:05) certificate: CertificateVerifier tls_cached registered
(16:19:05) prefs: /purple/logging/format changed, scheduling save.
(16:19:05) prefs: /purple/logging/format changed, scheduling save.
(16:19:05) prefs: /purple/proxy/type changed, scheduling save.
(16:19:05) prefs: /purple/proxy/host changed, scheduling save.
(16:19:05) prefs: /purple/proxy/port changed, scheduling save.
(16:19:05) prefs: /purple/proxy/username changed, scheduling save.
(16:19:05) prefs: /purple/proxy/password changed, scheduling save.
(16:19:05) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: Enabled
(16:19:05) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: Enabled
(16:19:05) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: Enabled
(16:19:05) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: Enabled
(16:19:05) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: Enabled
(16:19:05) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: Disabled
(16:19:05) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: Enabled
(16:19:05) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: Enabled
(16:19:05) nss: Cipher - TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: Enabled
(16:19:05) nss: Cipher - TLS_ECDHE_RSA_WITH_RC4_128_SHA: Enabled
(16:19:05) nss: Cipher - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: Enabled
(16:19:05) nss: Cipher - TLS_DHE_RSA_WITH_AES_128_CBC_SHA: Enabled
(16:19:05) nss: Cipher - TLS_DHE_DSS_WITH_AES_128_CBC_SHA: Enabled
(16:19:05) nss: Cipher - TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: Enabled
(16:19:05) nss: Cipher - TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_DHE_RSA_WITH_AES_256_CBC_SHA: Enabled
(16:19:05) nss: Cipher - TLS_DHE_DSS_WITH_AES_256_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: Enabled
(16:19:05) nss: Cipher - TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_DHE_DSS_WITH_RC4_128_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_ECDSA_WITH_RC4_128_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_RSA_WITH_RC4_128_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_AES_128_GCM_SHA256: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_AES_128_CBC_SHA: Enabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_AES_128_CBC_SHA256: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_AES_256_CBC_SHA: Enabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_AES_256_CBC_SHA256: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_SEED_CBC_SHA: Disabled
(16:19:05) nss: Cipher - SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_RC4_128_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_RC4_128_MD5: Disabled
(16:19:05) nss: Cipher - TLS_DHE_RSA_WITH_DES_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_DHE_DSS_WITH_DES_CBC_SHA: Disabled
(16:19:05) nss: Cipher - SSL_RSA_FIPS_WITH_DES_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_DES_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_EXPORT1024_WITH_RC4_56_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_EXPORT_WITH_RC4_40_MD5: Disabled
(16:19:05) nss: Cipher - TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5: Disabled
(16:19:05) nss: Cipher - TLS_ECDHE_ECDSA_WITH_NULL_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDHE_RSA_WITH_NULL_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_RSA_WITH_NULL_SHA: Disabled
(16:19:05) nss: Cipher - TLS_ECDH_ECDSA_WITH_NULL_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_NULL_SHA: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_NULL_SHA256: Disabled
(16:19:05) nss: Cipher - TLS_RSA_WITH_NULL_MD5: Disabled
(16:19:05) nss: Cipher - SSL_CK_RC4_128_WITH_MD5: Disabled
(16:19:05) nss: Cipher - SSL_CK_RC2_128_CBC_WITH_MD5: Disabled
(16:19:05) nss: Cipher - SSL_CK_DES_192_EDE3_CBC_WITH_MD5: Disabled
(16:19:05) nss: Cipher - SSL_CK_DES_64_CBC_WITH_MD5: Disabled
(16:19:05) nss: Cipher - SSL_CK_RC4_128_EXPORT40_WITH_MD5: Disabled
(16:19:05) nss: Cipher - SSL_CK_RC2_128_CBC_EXPORT40_WITH_MD5: Disabled
(16:19:05) nss: TLS supported versions: 0x0300 through 0x0303
(16:19:05) nss: TLS versions allowed by default: 0x0301 through 0x0303
(16:19:05) certificate: CertificateScheme x509 requested but not found.
(16:19:05) certificate: CertificateScheme x509 registered
(16:19:05) util: Reading file smileys.xml from directory /root/.purple
(16:19:05) util: File /root/.purple/smileys.xml does not exist (this is not necessarily an error)
(16:19:05) stun: using server 
(16:19:05) sound: Initializing sound output drivers.
(16:19:05) prefs: /pidgin/conversations/placement changed, scheduling save.
(16:19:05) prefs: purple_prefs_get_bool: Unknown pref /pidgin/docklet/x11/embedded
(16:19:05) gtkmedia: Registering media element types
(16:19:05) util: Reading file blist.xml from directory /root/.purple
(16:19:05) g_log: purple_presence_set_status_active: assertion 'status != NULL' failed
(16:19:05) g_log: purple_presence_set_status_active: assertion 'status != NULL' failed
(16:19:05) g_log: purple_presence_set_status_active: assertion 'status != NULL' failed
(16:19:05) plugins: Loading saved plugin /usr/lib/purple-2/pidgin-libnotify.so
(16:19:05) pidgin-libnotify: Updating status set from pidgin to 'available'
(16:19:05) gtkblist: added visibility manager: 1
(16:19:05) plugins: Loading saved plugin /usr/lib/pidgin/notify.so
(16:19:05) plugins: Loading saved plugin /usr/lib/purple-2/ssl-nss.so
(16:19:05) plugins: Loading saved plugin /usr/lib/purple-2/ssl.so
(16:19:05) plugins: Loading saved plugin /usr/lib/pidgin/unity.so
(16:19:05) pounce: Error reading pounces: Failed to open file '/root/.purple/pounces.xml': No such file or directory
(16:19:05) Session Management: No SESSION_MANAGER found, aborting.
(16:19:06) g_log: purple_presence_get_active_status: assertion 'presence != NULL' failed
(16:19:06) g_log: purple_status_get_name: assertion 'status != NULL' failed
(16:19:06) g_log: purple_presence_get_active_status: assertion 'presence != NULL' failed
(16:19:06) g_log: purple_status_get_type: assertion 'status != NULL' failed
(16:19:06) g_log: purple_status_type_get_primitive: assertion 'status_type != NULL' failed
(16:19:06) g_log: purple_presence_get_active_status: assertion 'presence != NULL' failed
(16:19:06) g_log: purple_status_get_name: assertion 'status != NULL' failed
(16:19:06) g_log: purple_presence_get_active_status: assertion 'presence != NULL' failed
(16:19:06) g_log: purple_status_get_type: assertion 'status != NULL' failed
(16:19:06) g_log: purple_status_type_get_primitive: assertion 'status_type != NULL' failed
(16:19:06) g_log: purple_presence_is_online: assertion 'presence != NULL' failed
(16:19:06) g_log: unable to export application interface: An object is already exported for the interface com.canonical.indicator.messages.application at /com/canonical/indicator/messages/pidgin_desktop
(16:19:10) util: Writing file prefs.xml to directory /root/.purple
(16:19:10) util: Writing file /root/.purple/prefs.xml
(16:19:10) util: Writing file accounts.xml to directory /root/.purple
(16:19:10) util: Writing file /root/.purple/accounts.xml
(16:19:11) util: Writing file blist.xml to directory /root/.purple
(16:19:11) util: Writing file /root/.purple/blist.xml
xhaakon commented 8 years ago

I am having trouble with the X11_ShadowSubsystemEntry

That symbol should be defined in libfreerdp-shadow.so. Do you have the library somewhere libsipe.so can find it at runtime? Is X11_ShadowSubsystemEntry really exported from the library?

$ ldd /path/to/libsipe.so | grep -i rdp-shadow
    libfreerdp-shadow.so.1.2 => /opt/freerdp-sipe/usr/lib/x86_64-linux-gnu/libfreerdp-shadow.so.1.2 (0x00007f1635b40000)

$ nm -D /opt/freerdp-sipe/usr/lib/x86_64-linux-gnu/libfreerdp-shadow.so.1.2 | grep X11
0000000000011a10 T X11_ShadowSubsystemEntry

Is there anything I should do while configuring like I do for enabling voice and video (i.e: --with-vv)?

You just should have FreeRDP installed where configure can discover it using pkg-config. Check your config log for:

checking for FREERDP... yes

Be aware that your distribution freerdp package is almost surely too old to work with Sipe application sharing. Either install freerdp-sipe-dev package from sipe-collab PPA (if you are on Ubuntu; will install into /opt/freerdp-sipe so remember to set PKG_CONFIG_PATH accordingly when running configure), or build FreeRDP yourself from the code in our git. Current upstream version should work too, but AFAIK nobody has tried that yet.

Anothor question, Is the application sharing fully integrated in sipe project?

If you're asking whether the application sharing code is available in upstream version of Sipe, not yet. For now you can build it only using the code from this GitHub project.

zafarsustbd commented 8 years ago

Installed FreeRDP from sipe-collab PPA and found the libfreerdp.so.1.2.4 as dynamic library. Configured sipe-launchpad with

./configure --prefix=/usr PKG_CONFIG_PATH=/opt/freerdp-sipe/usr/lib/x86_64-linux-gnu/pkgconfig --with-vv

FYI: I do get checking for FREERDP... yes output in configuration process. After compiling sipe library if I run- $ ldd /usr/lib/purple-2/libsipe.so | grep -i rdp-shadow I don't get any output and the same error of undefined symbol: X11_ShadowSubsystemEntry occurs on running pidgin.

Even if I try reverting my previous changes(e.g: moving sipe-applicationsharing.c methods to sipe-media.c), I can't load libsipe.so with pidgin and get the following error.

(20:29:15) plugins: /usr/lib/purple-2/libsipe.so is not loadable: undefined symbol: 
sipe_core_conf_share_application

In that case, nm command shows all of the methods of sipe-applicationsharing.c as Undefined.

xhaakon commented 8 years ago

/usr/lib/purple-2/libsipe.so

Oh, I see you're using Pidgin 2. We normally use Pidgin 3 from sipe-collab PPA.

In theory application sharing should work also with Pidgin 2 but I think no one has actually tested that configuration. You would have to use the very latest Pidgin 2.x code (branch release-2.x.y), into which all out patches are backported, but you'd have to build it yourself since the Pidgin upstream hasn't released that version yet.

The easiest way for you though (if the only thing you care about compiling yourself is Sipe alone) would be to install pidgin package from sipe-collab and add --enable-purple=3 to configure when building Sipe.

zafarsustbd commented 8 years ago

This time started with a fresh installation of Ubuntu 14.04 LTS. Installed everything from sipe-collab. Both pidgin and libpurple version is now 3.0.0devel. Configured Sipe with-

./configure --prefix=/usr PKG_CONFIG_PATH=/opt/freerdp-sipe/usr/lib/x86_64-linux-gnu/pkgconfig --enable-purple=3 --with-vv

Got output FREERDP... yes during configure. Other relevant outputs-

zafar@zafar-pc:~/Desktop/Pidgin_Appshare/sipeGit/sipe$  ldd /usr/lib/purple-3/libsipe.so | grep -i rdp-shadow
zafar@zafar-pc:~/Desktop/Pidgin_Appshare/sipeGit/sipe$ nm /usr/lib/purple-3/libsipe.so | grep -i applicationsharing
zafar@zafar-pc:~/Desktop/Pidgin_Appshare/sipeGit/sipe$ nm /usr/lib/purple-3/libsipe.so | grep -i application
00000000000477c0 t sipe_purple_buddy_share_application_cb

Now if I run pidgin, it doesn't load libsipe.so. Terminal output-

zafar@zafar-pc:~/Desktop/Pidgin_Appshare/sipeGit/sipe$ sudo pidgin --debug | grep -i sipe

(Pidgin:30112): GPlugin-WARNING **: failed to query '/usr/lib/purple-3/libsipe.so' with loader 'GPluginNativeLoader': the query function did not return a GPluginPluginInfo instance

(Pidgin:30112): GPlugin-WARNING **: failed to query '/usr/lib/purple-3/libsipe.so' with loader 'GPluginNativeLoader': the query function did not return a GPluginPluginInfo instance
zafarsustbd commented 8 years ago

Managed to load Sipe with Pidgin 3.0.0devel by installing FreeRDP from both sipe-collab and compiling source code from github.

Call gets terminated with a BYE message sent from pidgin right after receiving the call as viwer. Log-

(11:27:11) sipe: sip_transport_input: signature of incoming message validated
(11:27:11) sipe: process_input_message: msg->response(0),msg->method(ACK)
(11:27:12) sipe: sipe_media_state_changed_cb: 1 applicationsharing sip:u3@seyeball.com
(11:27:12) backend-fs2: farstream-recv-codecs-changed: x-data
(11:27:12) sipe: stream_readable_cb: applicationsharing is readable
(11:27:12) sipe: INCOMING APPSHARE DATA
(11:27:12) sipe: Written: 377
(11:27:12) sipe: stream_readable_cb: applicationsharing is readable
(11:27:12) sipe: INCOMING APPSHARE DATA
[11:27:12:512] [6392:6393] [WARN][com.freerdp.core.gcc] - Server uses non-advertised encryption method 0x00000000
(11:27:12) sipe: Written: 20
(11:27:12) sipe: stream_readable_cb: applicationsharing is readable
(11:27:12) sipe: INCOMING APPSHARE DATA
(11:27:12) sipe: Written: 12
(11:27:12) sipe: stream_readable_cb: applicationsharing is readable
(11:27:12) sipe: INCOMING APPSHARE DATA
(11:27:12) sipe: Written: 12
(11:27:12) sipe: stream_readable_cb: applicationsharing is readable
(11:27:12) sipe: INCOMING APPSHARE DATA
(11:27:12) sipe: Written: 319
(11:27:12) sipe: stream_readable_cb: applicationsharing is readable
(11:27:12) sipe: INCOMING APPSHARE DATA
(11:27:12) sipe: Written: 697
(11:27:12) sipe: stream_readable_cb: applicationsharing is readable
(11:27:12) sipe: INCOMING APPSHARE DATA
(11:27:12) sipe: Written: 8
(11:27:12) sipe: Written: 28
(11:27:12) sipe: stream_readable_cb: applicationsharing is readable
(11:27:12) sipe: INCOMING APPSHARE DATA
[11:27:12:212] [6392:6393] [ERROR][com.freerdp.core.capabilities] - rdp_read_capability_sets failed
[11:27:12:212] [6392:6393] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[11:27:12:212] [6392:6393] [ERROR][com.freerdp.core.rdp] - rdp_recv_tpkt_pdu: rdp_recv_deactivate_all() fail
[11:27:12:212] [6392:6393] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[11:27:12:212] [6392:6393] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[11:27:12:212] [6392:6393] [INFO][com.freerdp.client.x11] - Network disconnect!
[11:27:12:212] [6392:6393] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor
(11:27:12) stun: using server
(11:27:12) sipe: NTLM MAC(): Extented Session Security
(11:27:12) sipe: NTLM MAC(): Key Exchange
(11:27:12) sipe: NTLM calculated MAC: 01000000EBB74CDC3CCD523B64000000
(11:27:12) sipe: SIP transactions count:1 after addition
(11:27:12) sipe: 
MESSAGE START >>>>>>>>>> SIP - 2015-11-30T03:27:12.908961Z
BYE sip:u3@seyeball.com;opaque=user:epid:_TDIVy8aLVW7upYFUx06UgAA;gruu SIP/2.0
Via: SIP/2.0/tls 10.1.1.82:47984
From: <sip:u7@seyeball.com>;tag=5077761839;epid=0af9efdfb683
To: <sip:u3@seyeball.com>;tag=90dd8e2df9;epid=e3ed1ef8ca
Max-Forwards: 70
CSeq: 1 BYE
User-Agent: Purple/3.0.0devel Sipe/1.20.1 (linux-x86_64; RTC/6.0)
Call-ID: 767dad3ce8708b4a95f67056268f41fe
Route: <sip:sfb.seyeball.com:5061;transport=tls;opaque=state:T:F:Ci.R98b200;lr;ms-route-sig=ae0eKpcBGJ444nJwlxU6m8jXUiD2aOmnM-apYweHjLVfYQHF3b9Sw_OAAA>;tag=C9D9BC0A39E4D60135066DF57CC8F64C
Content-Length: 0
Authorization: NTLM qop="auth", opaque="FE7F55AC", realm="SIP Communications Service", targetname="sfb.seyeball.com", crand="67a60574", cnum="13", response="01000000EBB74CDC3CCD523B64000000"

Getting crash if I start desktop share from pidgin (i.e: sharer).

FYI: I have included these commands in .gdbinit file-

dir /opt/src/glibc/malloc
handle SIGPIPE nostop noprint
python sys.path.append("/usr/share/gcc-4.8/python");

Crash log:

(gdb) r
Starting program: /usr/bin/pidgin 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd6f4e700 (LWP 8591)]
[New Thread 0x7fff96635700 (LWP 8592)]
[New Thread 0x7fff8ca81700 (LWP 8594)]
[New Thread 0x7fff87fff700 (LWP 8595)]
[New Thread 0x7fff877fe700 (LWP 8596)]
[New Thread 0x7fff86ffd700 (LWP 8597)]
[New Thread 0x7fff85d51700 (LWP 8601)]
[New Thread 0x7fff84d00700 (LWP 8603)]
[New Thread 0x7fff6ffff700 (LWP 8604)]
[New Thread 0x7fff6e8d4700 (LWP 8606)]
[New Thread 0x7fff6d43c700 (LWP 8607)]
[New Thread 0x7fff6ca34700 (LWP 8608)]
[New Thread 0x7fff5ffff700 (LWP 8609)]
[New Thread 0x7fff5f7fe700 (LWP 8610)]

Program received signal SIGSEGV, Segmentation fault.
__strncpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S:296
warning: Source file is more recent than executable.
296     jbe L(CopyFrom1To16BytesTail1Case2OrCase3)
(gdb) bt full
#0  __strncpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S:296
No locals.
#1  0x00007fffe0f74806 in ?? () from /usr/lib/x86_64-linux-gnu/libfreerdp.so.1.2
No symbol table info available.
#2  0x00007fffe1aaf9da in shadow_server_start () from /usr/lib/x86_64-linux-gnu/libfreerdp-shadow.so.1.2
No symbol table info available.
#3  0x00007fffe1d0d528 in candidate_pairs_established_cb (stream=0x5555568ed800) at sipe-applicationsharing.c:434
        socket_path = 0x5555568d9d40 "/home/zafar/.cache/sipe/applicationsharing-8586-3E50g434Ba08A5iB438m5451t9CCBb52D6x106Bx"
        appshare = 0x5555569d1b20
        address = <optimized out>
        error = 0x0
        server = 0x5555569ea200
        server_error = 0x0
        __FUNCTION__ = "candidate_pairs_established_cb"
#4  0x00007ffff2a343b8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#5  0x00007ffff2a45d3d in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#6  0x00007ffff2a4da29 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#7  0x00007ffff2a4dce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#8  0x00007ffff23fc64f in ?? () from /usr/lib/libpurple.so.20
No symbol table info available.
#9  0x00007ffff2a343b8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#10 0x00007ffff2a45d3d in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#11 0x00007ffff2a4da29 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#12 0x00007ffff2a4e212 in g_signal_emit_by_name () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#13 0x00007ffff23f5c81 in ?? () from /usr/lib/libpurple.so.20
No symbol table info available.
#14 0x00007fffe9b70adc in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
No symbol table info available.
#15 0x00007fffe9b7040c in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
No symbol table info available.
#16 0x00007ffff2a34bf8 in g_cclosure_marshal_generic () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#17 0x00007ffff2a343b8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#18 0x00007ffff2a45d3d in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#19 0x00007ffff2a4da29 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#20 0x00007ffff2a4dce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#21 0x00007ffff2cb0ca2 in gst_bus_async_signal_func () from /opt/gstreamer1.4/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
No symbol table info available.
#22 0x00007ffff2cb1a21 in ?? () from /opt/gstreamer1.4/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
No symbol table info available.
#23 0x00007ffff7810ce5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#24 0x00007ffff7811048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#25 0x00007ffff781130a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#26 0x00007ffff3d65e25 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#27 0x00007ffff7b98100 in pidgin_start () from /usr/lib/libpidgin.so.20
No symbol table info available.
#28 0x00007ffff7206ec5 in __libc_start_main (main=0x555555554960 <main>, argc=1, argv=0x7fffffffe5f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe5e8)
    at libc-start.c:287
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -4094558875187720661, 93824992233909, 140737488348656, 0, 0, 4094558874974244395, 4094574864763538987}, mask_was_saved = 0}}, priv = {pad = {0x0, 
              0x0, 0x7fffffffe608, 0x7ffff7ffe1c8}, data = {prev = 0x0, cleanup = 0x0, canceltype = -6648}}}
        not_first_call = <optimized out>
#29 0x00005555555549de in _start ()
No symbol table info available.
(gdb) 
zafarsustbd commented 8 years ago

Resolved the dependency by using ldd and 'ldconfig' command. Now I can share my ubuntu desktop using Pidgin.

qugu commented 8 years ago

Hi @zafarsustbd Did you manage to get the calls working ?