[JDEV] MSN-transport 1.2.8pre4 error

Paul van Tilburg paul at luon.net
Sun Sep 21 14:49:16 CDT 2003


With the new improved Makefile of MSN-transport 1.2.8pre4
the final linking is done with the command:
gcc  -Wall -g -O2 -Wno-unused  -o msntrans.so -fPIC -shared init.o chat.o  \
  cmd.o conf_room.o conf_sb.o iq.o md5.o ns.o presence.o receive.o register.o \
  s10n.o session.o stream.o sync.o user.o utils.o xhtml.o

instead of
gcc  -Wall -g -O2 -Wno-unused  -o msntrans.so -fPIC -shared init.o chat.o \
  cmd.o conf_room.o conf_sb.o iq.o md5.o ns.o presence.o receive.o \
  register.o s10n.o session.o stream.o sync.o user.o utils.o xhtml.o -lcurl

The first line leaves a msntrans.so which isn't linked to libcurl,
consequently my Jabberd instance wouldn't start with it.
(/usr/sbin/jabberd: relocation error:
/usr/lib/jabber/transports/msntrans.so: undefined symbol: curl_global_init)

When linking it with the second line (I did it manually, but could also
be done by fixing the Makefil) it worked ok!

Just to let you know,

Paul

-- 
Student @ Eindhoven                         | JID:   paul at luon.net
University of Technology, The Netherlands   | email: paul at luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG: finger paul at luon.net



More information about the JDev mailing list