help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] /usr/local/lib/libgnuttls.so: undefined reference to addr


From: Michael Darling
Subject: [Help-gnutls] /usr/local/lib/libgnuttls.so: undefined reference to address@hidden'
Date: Wed, 6 May 2009 22:43:52 -0400

I'm building an application that uses vmime.  vmime uses libgnuttls, and I'm getting a linker error as shown below.  Searching on google for "undefined reference to address@hidden" returns no results.  Any ideas?  I assume there's probably another library I need to link in?  I originally didn't have "-lgcrypt" included, but tried that, and had no effect.

using from source libvmime-0.9.0, gnutls-2.6.6, libgcrypt-1.4.4, and libgsasl-1.1 -- and rpm installed GNU Make 3.81, g++ 4.1.2, CentOS 5.3, kernel 2.6.18-128.1.6.el5

(Application and library names changed to be more clear)

$ make
/bin/sh ../libtool --tag=CXX --mode=link g++  -g -O2   -o application  application.o ../libraryA/libraryA.a ../libraryB/libraryB.a ../libraryC/libraryC.a -lgnutls -lgcrypt -lvmime -lssl -lgsoapssl++
g++ -g -O2 -o application application.o  ../libraryA/libraryA.a ../libraryB/libraryB.a ../libraryC/libraryC.a -lgnutls -lgcrypt -lvmime -lssl -lgsoapssl++
/usr/local/lib/libgnutls.so: undefined reference to address@hidden'
/usr/local/lib/libgnutls.so: undefined reference to address@hidden'
collect2: ld returned 1 exit status
make: *** [application] Error 1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]