[JDEV] Problems when compiling jabber-transport-1.0
Peter Saint-Andre
psaintandre at corp.webb.net
Tue Sep 12 15:02:35 CDT 2000
Try one of the following:
1. add this to the configure line of adns: --enable-dynamic=elf
2. do this after installing adns: export LIBS="-ladns"
#1 is the preferred solution, but #2 has worked for some people, too.
Peter
--
Peter Saint-Andre
IM: stpeter at jabber.com
Email: psaintandre at webb.net
> -----Original Message-----
> From: Jouni Laine [mailto:jtlaine2 at jolly.cs.hut.fi]
> Sent: Tuesday, September 12, 2000 1:47 PM
> To: jdev at jabber.org
> Subject: [JDEV] Problems when compiling jabber-transport-1.0
>
>
>
> Hello!
>
> I ran into problem when trying to compile jabber-transport-1.0. I
> succesfully installed pth, ADNS, libxode, libjabber and libetherx. I
> executed ldconfig after each package and also checked
> /etc/ld.so.conf so
> that includes /usr/local/lib.
>
> I get the following error message:
> make[2]: Entering directory
> `/home/jtlaine2/Jabber/jabber-transport-1.0/src'
> /bin/sh ../libtool --mode=link gcc -g -O2 -fPIC -o jserver
> -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
> -export-dynamic config.o conn.o deliver.o init.o main.o modules.o
> mod_dso.o offline.o server.o services.o sessions.o shutdown.o static.o
> unknown.o users.o util.o xdb.o -ljabber -letherx -lxode
> modules/mod_roster.o modules/mod_register.o modules/mod_agents.o
> modules/mod_log.o modules/mod_auth_sha1.o modules/mod_auth.o
> modules/mod_vcard.o modules/mod_announce.o modules/mod_admin.o
> modules/mod_private.o modules/mod_offline.o modules/mod_presence.o
> modules/mod_etherx.o xdb/file/xdb_file.o svc/client/svc_client.o
> svc/client/svc_client_ssl.o -lpth -lnsl -ldl
> gcc -g -O2 -fPIC -o jserver -L/usr/local/lib -L/usr/local/lib
> -L/usr/local/lib -L/usr/local/lib config.o conn.o deliver.o
> init.o main.o
> modules.o mod_dso.o offline.o server.o services.o sessions.o
> shutdown.o
> static.o unknown.o users.o util.o xdb.o -ljabber -letherx -lxode
> modules/mod_roster.o modules/mod_register.o modules/mod_agents.o
> modules/mod_log.o modules/mod_auth_sha1.o modules/mod_auth.o
> modules/mod_vcard.o modules/mod_announce.o modules/mod_admin.o
> modules/mod_private.o modules/mod_offline.o modules/mod_presence.o
> modules/mod_etherx.o xdb/file/xdb_file.o svc/client/svc_client.o
> svc/client/svc_client_ssl.o -lpth -lnsl -ldl -Wl,--export-dynamic
> /usr/local/lib/libetherx.so: undefined reference to `adns_finish'
> /usr/local/lib/libetherx.so: undefined reference to `adns_afterselect'
> /usr/local/lib/libetherx.so: undefined reference to
> `adns_beforeselect'
> /usr/local/lib/libetherx.so: undefined reference to `adns_init'
> /usr/local/lib/libetherx.so: undefined reference to `adns_submit'
> /usr/local/lib/libetherx.so: undefined reference to `adns_check'
> collect2: ld returned 1 exit status
> make[2]: *** [jserver] Error 1
> make[2]: Leaving directory
> `/home/jtlaine2/Jabber/jabber-transport-1.0/src'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory
> `/home/jtlaine2/Jabber/jabber-transport-1.0/src'
> make: *** [install-recursive] Error 1
>
> What am I doing wrong? My platform is (Intel) Redhat v6.2.
>
> Thanks in advance!
>
> Regards,
> Jouni Laine
>
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list