levin108 / hybrid

Hybird is a lightweight IM framework, currently supports China Mobile Fetion protocol and xmpp protocol.
levin108.github.com/hybrid
GNU General Public License v2.0
110 stars 27 forks source link

module 無法載入 #42

Open ekd123 opened 12 years ago

ekd123 commented 12 years ago

> uname -a FreeBSD bsd.laptop.mike 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

> hybrid INFO <config> init the blist cache from /home/mike/.config/hybrid/blist.xml INFO <module> initialize module ERROR *** <module> *** /usr/local/lib/hybrid/protocols/libfetion.so: Undefined symbol "hybrid_create_pixbuf" ERROR *** <module> *** /usr/local/lib/hybrid/protocols/libxmpp.so: Undefined symbol "hybrid_create_pixbuf" ERROR *** <module> *** /usr/local/lib/hybrid/protocols/libemail.so: Undefined symbol "hybrid_account_set_connection_status"

在 add a new account 中, protocol 無法選定。

ekd123 commented 11 years ago

fixed by adding "-Wl,-export-dynamic" to the C flags