[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glade-3 doesn't recognize rpl_snprintf
From: |
Jason Stover |
Subject: |
Re: glade-3 doesn't recognize rpl_snprintf |
Date: |
Thu, 29 Nov 2007 22:32:35 -0500 |
User-agent: |
Mutt/1.5.10i |
On Thu, Nov 29, 2007 at 08:21:45PM +0900, John Darrington wrote:
> On Wed, Nov 28, 2007 at 04:15:25PM -0800, Ben Pfaff wrote:
> Jason Stover <address@hidden> writes:
>
> > I've got glade-3 version 3.1.5. Loading psppire.glade kills
> > it. glade-3's last words are:
> >
> > glade-3: symbol lookup error:
> /usr/local/lib/glade3/modules/libglade-psppire.so: undefined symbol:
> rpl_snprintf
> >
> > The problem seems to be in gl/stdio.h, where snprintf is defined
> > to be rpl_snprintf, though I have no rpl_snprintf that I know of:
>
> It looks like libglade-psppire.so needs to be linked against
> gl/libgl.la.
>
> Indeed.
>
> Jason, can you try this patch to see if it helps. You'll probably
> need to do a complete rebuild, with
> ./configure --with-gui-tools; make install
> for it to make any difference.
The patch worked, thanks.
>
> J'
>
> --- glade/automake.mk 21 Nov 2007 11:57:15 -0000 1.8
> +++ glade/automake.mk 29 Nov 2007 11:09:47 -0000
> @@ -44,3 +44,5 @@
>
> libglade_psppire_la_CFLAGS = $(GLADE_UI_CFLAGS) $(GLADE_CFLAGS) \
> -I $(top_srcdir)/src/ui/gui -DDEBUGGING
> +
> +libglade_psppire_la_LIBADD = gl/libgl.la
>
>
>
> --
> PGP Public key ID: 1024D/2DE827B3
> fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> See http://pgp.mit.edu or any PGP keyserver for public key.
>
>