I'm not sure if this will get back to him directly, but
the problem is our fault (but I'd like to blame it on the GTK
guys). :) GTK likes to just change the names of functions between
releases. For these changes, they leave aliases in gtkcompat.h
so programs can still call the functions they expect. We have
two options in responding to this change:
1. Do a build with gtkcompat off (like Debian probably ships libraries
built with, hence the error) and see if we're not compliant. Then fix
any places where we're broken.
2. Just continue using the compatt'ed features and hope people
have libraries which work.
The problem with 1. is that we will then require everyone to
immediately upgrade GTK libraries, at the cost of always being
right in sync. Being a lazy programmer, I'm more partial to 2.
since 1. means upgrading GTK on 5 or 6 different machines I
routinely build on. Some of those machines take all day to
build GTK.
In short, we're calling old functions that Debian's maintainers
probably didn't enable in GTK, and I'll have a fix for it in
CVS within 5 minutes.
The old message:
Content-Description: Forwarded message from Christiaan Kok <chrkok@chem.rug.nl>
> Received: by sun4000 (mbox onderste)
> (with Casema's POP3 (v1.0) Tue May 11 15:45:40 1999)
> X-From_: chrkok@chem.rug.nl Tue May 11 15:07:35 1999
> Return-Path: <chrkok@chem.rug.nl>
> Received: from smtpc.casema.net (smtpc.casema.net [195.96.96.200]) by smtp1.casema.net (8.9.1/CASEMA) with SMTP id PAA07819 for <onderste@sun4000.casema.net>; Tue, 11 May 1999 15:07:34 +0200 (MET DST)
> Posted-Date: Tue, 11 May 1999 15:07:34 +0200 (MET DST)
> Received-Date: Tue, 11 May 1999 15:07:34 +0200 (MET DST)
> Received: (qmail 6676 invoked by uid 1003); 11 May 1999 13:07:34 -0000
> Delivered-To: casnet-onderste@casema.net
> Received: (qmail 6664 invoked by uid 0); 11 May 1999 13:07:33 -0000
> Received: from polypc54.chem.rug.nl (root@129.125.35.145)
> by smtpc.casema.net with SMTP; 11 May 1999 13:07:33 -0000
> Received: by chem.rug.nl
> via sendmail from stdin
> id <m10hCH0-000nkMC@polypc54.chem.rug.nl> (Debian Smail3.2.0.102)
> for onderste@casema.net; Tue, 11 May 1999 15:08:38 +0200 (CEST)
> Message-Id: <m10hCH0-000nkMC@polypc54.chem.rug.nl>
> From: chrkok@chem.rug.nl (Christiaan Kok)
> Subject: abi probleempje
> To: onderste@casema.net
> Date: Tue, 11 May 1999 15:08:38 +0200 (CEST)
> X-Mailer: ELM [version 2.4ME+ PL48 (25)]
> MIME-Version: 1.0
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
>
> Beste Albi,
>
> Sorry dat ik je moet storen,. maar ik zag dat jij een ad over abi had gepost
> in de linux nieusgroep en wilde je vragen waarom ik het niet kan
> installeren. Normaliter gaat dat altijd prima maar ik heb nu iets niet goed
> gedaan en weet niet wat. Ik heb de nieuwste gtk+1.2.3/glib.1.2.3 gedownload
> bij ftp.gtk.org en geinstalleerd (make;make install;ldconfig). Maar abi wil
> niet compileren, het gaat goed tot aan het linken en dan stopt hij met de
> melding:
>
> Linking AbiWord....
> g++ -o AbiWord -O2 -Wall -W -ansi -pedantic -pipe -DLINUX -Dlinux
> -D_POSIX_SOU
> RCE -D_BSD_SOURCE -DHAVE_STRERROR -D_XOPEN_SOURCE -D__USE_XOPEN_EXTENDED
> gtk-c
> onfig --cflags -DNDEBUG -I../../../config -I../../../af/xap/xp
> -I../../../af/x
> ap/unix -I../../../af/ev/xp -I../../../af/ev/unix -I../../../af/util/xp
> -I../../
> .../af/util/unix -I../../../af/gr/xp -I../../../af/gr/unix
> -I../../../../../expat
> /xmlparse -I../../../../../expat/xmltok -I../../../wp/ap/xp
> -I../../../wp/ap/uni
> x -I../../../text/fmt/xp -I../../../wp/impexp/xp -I../../../text/ptbl/xp
> -I../..
> /../wp/ap/xp/ToolbarIcons -I../../../other/spell gtk-config --cflags Linux_2.
> 2.1_i386_OBJ/UnixMain.o -L../../../../dist/Linux_2.2.1_i386_OBJ/lib
> -lAbiGr -l
> AbiFmt -lAbiPTbl -lAbiImpExp -lMsWordView -lAbiXAp -lAbiWPAp -lAbiEv
> -lAbiUtil -
> lAbiWordVer -lAbiSpell -lAbi_expat -lAbiGr -lAbiFmt -lAbiPTbl -lAbiImpExp
> -lMsWo
> rdView -lAbiXAp -lAbiWPAp -lAbiEv -lAbiUtil -lAbiWordVer -lAbiSpell
> -lAbi_expat
> -lAbiGr -lAbiFmt -lAbiPTbl -lAbiImpExp -lMsWordView -lAbiXAp -lAbiWPAp
> -lAbiEv -
> lAbiUtil -lAbiWordVer -lAbiSpell -lAbi_expat -ldl -lstdc++ -lpng -lz
> gtk-config
> --libs -L/usr/local/lib
> ../../../../dist/Linux_2.2.1_i386_OBJ/lib/libAbiUtil.a(ut_dialogHelper.o):
> In fu
> nction centerDialog(_GtkWidget *, _GtkWidget *)':
> ut_dialogHelper.o(.text+0x3b7): undefined reference to gtk_window_position'
> .../../../../dist/Linux_2.2.1_i386_OBJ/lib/libAbiXAp.a(xap_UnixDlg_About.o):
> In f
> unction XAP_UnixDialog_About::runModal(XAP_Frame *)':
> xap_UnixDlg_About.o(.text+0x157): undefined reference to
> gtk_container_border_w
> idth'
> xap_UnixDlg_About.o(.text+0x549): undefined reference to
> gtk_container_border_w
> idth'
> collect2: ld returned 1 exit status
> make[4]: *** [AbiWord] Error 1
> make[4]: Leaving directory /usr/local/src/abi/src/wp/main/unix'
> make[3]: *** [build] Error 2
> make[3]: Leaving directory /usr/local/src/abi/src/wp/main'
> make[2]: *** [build] Error 2
> make[2]: Leaving directory /usr/local/src/abi/src/wp'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory /usr/local/src/abi/src'
> make: *** [abiword] Error 2
>
>
> De routines gtk_window_position() en gtk_container_border_width() bestaan
> helemaal niet in libgtk.so of libgtk.a (met nm gechekced).
> Heb jij enig idee welke suffe fout ik heb gemaakt?
>
> met vriendelijke dank,
>
> Christiaan Kok
> chrkok@chem.rug.nl
>
> --
>
> The best way to accelerate a computer running Windows is at 9.8 m/sec^2
>
> MicroSoft :
> More Intelligent Customers Realise Our
> Software is Only for Fools and Teenagers.
>
-- Shaw Terwilliger