Re: [PATCH] Explicitly link against GTK+ and libgvnc
- From: Guido Günther <agx sigxcpu org>
- To: gtk-vnc-list gnome org
- Subject: Re: [PATCH] Explicitly link against GTK+ and libgvnc
- Date: Sun, 10 Jul 2011 19:00:35 +0200
Hi,
On Thu, Jun 23, 2011 at 05:28:56PM +0200, Guido Günther wrote:
> Otherwise we're seeing errors like:
>
> make[2]: Entering directory `/var/scratch/debian/gtk-vnc/upstream/gtk-vnc/examples'
> CC gvncviewer-gvncviewer.o
> CCLD gvncviewer
> /usr/bin/ld: gvncviewer-gvncviewer.o: undefined reference to symbol 'gtk_label_set_text'
> /usr/bin/ld: note: 'gtk_label_set_text' is defined in DSO /usr/lib/libgtk-3.so.0 so try adding it to the linker command line
> /usr/lib/libgtk-3.so.0: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
>
> with recent binutils.
>
> Can this be applied?
O.k. to push this patch to git.gnome.org?
Cheers,
-- Guido
> Cheers,
> -- Guido
>
> ---
> examples/Makefile.am | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/examples/Makefile.am b/examples/Makefile.am
> index 8b26e41..12aa20b 100644
> --- a/examples/Makefile.am
> +++ b/examples/Makefile.am
> @@ -6,7 +6,10 @@ noinst_PROGRAMS = gvncviewer
> endif
>
> gvncviewer_SOURCES = gvncviewer.c
> -gvncviewer_LDADD = ../src/libgtk-vnc-$(GTK_VNC_API_VERSION).la @GTK_CFLAGS@ \
> +gvncviewer_LDADD = ../src/libgtk-vnc-$(GTK_VNC_API_VERSION).la \
> + ../src/libgvnc-1.0.la \
> + @GTK_CFLAGS@ \
> + @GTK_LIBS@ \
> @VIEW_LIBS@
> gvncviewer_CFLAGS = @GTK_CFLAGS@ @WARNING_CFLAGS@ \
> @VIEW_CFLAGS@ -I$(top_srcdir)/src/
> --
> 1.7.5.4
> _______________________________________________
> gtk-vnc-list mailing list
> gtk-vnc-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-vnc-list
>
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]