cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Compile cURL with GnuTLS

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 15 Jun 2016 18:18:16 +0200 (CEST)

On Tue, 14 Jun 2016, Cody Pritchard (cpritchard) wrote:

> Update on what I have tried.

Search for 'gnutls' in the log and this shows. gcc seems to not be able to
link with the lib you have in that path.

configure:23547: checking for gnutls_check_version in -lgnutls
configure:23569: gcc -o conftest.exe -O2 -Wno-system-headers
-IC:/BUILD/gnutls-3.4.9-w64/include -LC:/BUILD/gnutls-3.4.9-w64/lib
conftest.c -lgnutls -lgnutls -lwldap32 -lws2_32 >&5
C:\Users\CPRITC~1\AppData\Local\Temp\ccwWSpTx.o:conftest.c:(.text.startup+0xc):
undefined reference to `gnutls_check_version'
collect2.exe: error: ld returned 1 exit status
configure:23569: $? = 1
configure: failed program was:
| /* confdefs.h */
  (removed numerous defines)
| /* end confdefs.h. */
|
|
| #ifdef __cplusplus
| extern "C"
| #endif
| char gnutls_check_version ();
| int main (void)
| {
| return gnutls_check_version ();
| ;
| return 0;
| }
configure:23578: result: no

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-15