libgnt.so "undefined reference" when building 2.5.2 on RHEL4

Ryan Dill dill at pobox.com
Fri Dec 19 12:26:08 EST 2008


I'm trying to build Pidgin 2.5.2 on RHEL4, and though ./configure succeeds
without error, the make fails at the linking stage:

***
/bin/sh ../libtool --silent --tag=CC --mode=link gcc  -g -g -O2   -o finch
-export-dynamic gntaccount.o gntblist.o gntcertmgr.o gntconn.o gntconv.o
gntdebug.o gntft.o finch.o gntidle.o gntlog.o gntnotify.o gntplugin.o
gntpounce.o gntprefs.o gntrequest.o gntroomlist.o gntsound.o gntstatus.o
gntui.o   -Wl,--export-dynamic -pthread -lgobject-2.0 -lgmodule-2.0 -ldl
-lgthread-2.0 -lglib-2.0   -lxml2 -lpthread -lz -lm   -lncursesw -lpanelw
./libgnt/libgnt.la ../libpurple/libpurple.la -lutil -lpthread -lnsl -lresolv

./libgnt/.libs/libgnt.so: undefined reference to `Tcl_DeleteInterp'
./libgnt/.libs/libgnt.so: undefined reference to `Tcl_GetObjType'
./libgnt/.libs/libgnt.so: undefined reference to `Tcl_Merge'
./libgnt/.libs/libgnt.so: undefined reference to `Tcl_RecordAndEval'
./libgnt/.libs/libgnt.so: undefined reference to `Tcl_ExprDouble'
..
..
(A whack of other TCL and TK-related undefined references follow)
..
..
collect2: ld returned 1 exit status
make[3]: *** [finch] Error 1
make[3]: Leaving directory `/localdisk/data/install/pidgin-2.5.2/finch'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/localdisk/data/install/pidgin-2.5.2/finch'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/localdisk/data/install/pidgin-2.5.2'
make: *** [all] Error 2
***

I configured the source with:

***
./configure \
  --prefix=/localdisk/data/programs/pidgin-2.5.2 \
  --disable-gtkspell \
  --disable-gstreamer \
  --disable-meanwhile \
  --disable-avahi \
  --disable-dbus \
  --with-nspr-includes=/opt/tools/unsupported/nss-3.9.2/include/nspr \
  --with-nspr-libs=/opt/tools/unsupported/nss-3.9.2/lib \
  --with-nss-includes=/opt/tools/unsupported/nss-3.9.2/include/nss \
  --with-nss-libs=/opt/tools/unsupported/nss-3.9.2/lib
***

Which resulted in:

***
pidgin 2.5.2

Build GTK+ 2.x UI............. : yes
Build console UI.............. : yes
Build for X11................. : yes

Enable Gestures............... : yes
Protocols to build dynamically : gg irc jabber msn myspace novell oscar qq
simple yahoo zephyr
Protocols to link statically.. :

Build with GStreamer support.. : no
Build with D-Bus support...... : no
Build with NetworkManager..... : no
SSL Library/Libraries......... : Mozilla NSS
Build with Cyrus SASL support. : no
Use kerberos 4 with zephyr.... : no
Use external libzephyr........ : no
Install pixmaps............... : yes
Install translations.......... : yes
Has you....................... : yes

Use XScreenSaver Extension.... : yes
Use X Session Management...... : yes
Use startup notification...... : yes
Build with GtkSpell support... : no

Build with plugin support..... : yes
Build with Mono support....... : no
Build with Perl support....... : yes
Build with Tcl support........ : yes
Build with Tk support......... : no

Print debugging messages...... : no

Pidgin will be installed in /localdisk/data/programs/pidgin-2.5.2/bin.
Warning: You have an old copy of Pidgin at /home/dill/bin/pidgin.

configure complete, now type 'make'
***

I have TCL and TK installed, and they worked fine with the same ./configure
options for building Pidgin 2.4.2:

> rpm -qa |grep ^tcl-
tcl-8.4.7-2
tcl-devel-8.4.7-2
> rpm -qa |grep ^tk-
tk-8.4.7-3.el4_6.1

I even tried reconfiguring 2.5.2 with --disable-tcl and --disable-tk, making
clean, and making, but the same error occurs.

Any ideas?

-- 
Ryan Dill
dill at pobox.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/support/attachments/20081219/90b5484e/attachment-0001.html>


More information about the Support mailing list