[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem compiling gnutls
From: |
address@hidden |
Subject: |
Problem compiling gnutls |
Date: |
Fri, 10 Aug 2012 17:53:55 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
I'm trying to compile gnutls 3.0.22 through mingw-w64 toolchain on
cygwin.. The configuration step seems to be OK, but when I execute
"make" while processing ex-cxx.cpp in doc/examples I get this error:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:328:5:
error: previous declaration of 'int
asprintf(char**, const char*, ...)' with 'C++' linkage
../../gl/stdio.h:1425:1: error: conflicts with new declaration
with 'C' linkage
/usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:339:5:
error: previous declaration of 'int
vasprintf(char**, const char*, char*)' with 'C++' linkage
../../gl/stdio.h:1446:1: error: conflicts with new declaration
with 'C' linkage
Is it a problem with the toolchain or else? Is there a workaround?
Thanks, anyway.. I hope someone could help me..
- Problem compiling gnutls,
address@hidden <=