[Bug 61792] New: examples/wocky-dump-certificates doesn't have TLS_CFLAGS / TLS_LIBS in Makefile

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 4 15:41:26 CET 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61792

          Priority: medium
            Bug ID: 61792
          Assignee: telepathy-bugs at lists.freedesktop.org
           Summary: examples/wocky-dump-certificates doesn't have
                    TLS_CFLAGS / TLS_LIBS in Makefile
        QA Contact: telepathy-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: will.thompson at collabora.co.uk
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: General
           Product: Wocky

Since the dump-certificates example program from bug 36207 was merged, Wocky
(and hence Gabble) has failed to build on Fedora because it doesn't link:

    libtool: link: gcc -std=gnu99 -I.. -I.. -Wall -Wextra
-Wdeclaration-after-statement -Wshadow -Wstrict-prototypes -Wmissing-prototypes
-Wsign-compare -Wnested-externs -Wpointer-arith -Wformat-security -Winit-self
-Wno-missing-field-initializers -Wno-unused-parameter -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/wocky-dump-certificates
dump-certificates.o -pthread  -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
../wocky/.libs/libwocky.so -pthread -Wl,-rpath
-Wl,/usr/lib/telepathy/gabble-0/lib
    /usr/bin/ld: dump-certificates.o: undefined reference to symbol
'gnutls_x509_crt_get_dn@@GNUTLS_1_4'
    /usr/bin/ld: note: 'gnutls_x509_crt_get_dn@@GNUTLS_1_4' is defined in DSO
/lib/libgnutls.so.28 so try adding it to the linker command line
    /lib/libgnutls.so.28: could not read symbols: Invalid operation
    collect2: error: ld returned 1 exit status
    make[7]: *** [wocky-dump-certificates] Error 1

examples/Makefile.am doesn't specify @TLS_FLAGS@ or @TLS_LIBS@ for the
dump-certificates example's rules, so that's probably why.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list