From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20709 invoked by alias); 7 May 2003 14:02:38 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 20671 invoked from network); 7 May 2003 14:02:36 -0000 Received: from unknown (HELO amsfep16-int.chello.nl) (213.46.243.26) by sources.redhat.com with SMTP; 7 May 2003 14:02:36 -0000 Received: from pablo ([62.205.73.200]) by amsfep16-int.chello.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with SMTP id <20030507140235.KEBE6143.amsfep16-int.chello.nl@pablo>; Wed, 7 May 2003 16:02:35 +0200 Date: Wed, 07 May 2003 14:02:00 -0000 From: Stan Pinte To: Marius Vollmer Cc: guile-gtk@sources.redhat.com,Ariel Rios Subject: Re: (gnome gtk) et al Message-Id: <20030507154227.2778f673.stan.pinte@wanadoo.be> In-Reply-To: <20030507144720.703b50f1.stan.pinte@wanadoo.be> References: <20030407144511.GA1489@lark> <1049743589.1933.21.camel@tosca.elektra.com.mx> <20030408163225.24531f44.stan@altosw.be> <20030506083224.6f7ed86c.stan@altosw.be> <20030506172451.7a79df7b.stan@altosw.be> <20030507144720.703b50f1.stan.pinte@wanadoo.be> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q2/txt/msg00031.txt.bz2 On Wed, 7 May 2003 14:47:20 +0200 Stan Pinte wrote: > > hello, > > I managed to compile gnome-guile, by fixing some typos in some Makefile.in, and here is what I get when trying an example: > > /opt/guile-exp/bin/guile --debug -s canvas-test.scm > > stan@pablo:~/src/guile/exp/gnome-guile/guile-gnome/examples 120 $ /opt/guile-exp/bin/guile -s canvas-test.scm > ERROR: In procedure dynamic-func: > ERROR: /opt/guile-exp//lib/libguile-ltdl.so.1: undefined symbol: gnome_init_guile_glue > stan@pablo:~/src/guile/exp/gnome-guile/guile-gnome/examples 121 $ > > > (I enclosed debug output below) > > any clue? because strace tells me that the program has opened the library: ---------------+ A first clue is that gnome-guile, in the GNOME CVS, uses a slightly different gtk/dynlink.scm file, which relies on tk/dynlink-old.scm .... (define-public (merge-compiled-code init-func libname) (cond (gtkconf-using-ltdl (let* ((module (current-module)) (interface (module-public-interface module))) ;; make the new primitives visible from within the current module. (module-use! module interface) ; XXX - is this safe? (save-module-excursion (lambda () (set-current-module interface) (load-extension libname init-func))))) (else (merge-compiled-code-old init-func libname)))) the question are: what does gtkconf-using-ltdl means? should merge-compiled-code-old be re-integrated in the guile-gtk CVS? thanks, Stan.