[sr #108094] unresolved symbols in windows because wincrypt.h is not included

Steve Trotman INVALID.NOREPLY at gnu.org
Fri Aug 3 20:07:01 CEST 2012


Follow-up Comment #2, sr #108094 (project gnutls):

Gnutls 3.0.20

GCC 4.6.2 under MSYS/Mingw32
 
offending functions below:

  CC     gnutls_x509.lo
gnutls_x509.c: In function 'set_x509_system_trust_file':
gnutls_x509.c:1595:1: error: unknown type name 'HCERTSTORE'
gnutls_x509.c:1595:1: warning: implicit declaration of function
'CertOpenSystemStore' [-Wimplicit-function-declaration]
gnutls_x509.c:1596:1: error: unknown type name 'CERT_CONTEXT'
gnutls_x509.c:1597:1: error: unknown type name 'CRL_CONTEXT'
gnutls_x509.c:1608:17: warning: comparison between pointer and integer
[enabled by default]
gnutls_x509.c:1610:7: warning: implicit declaration of function
'CertEnumCertificatesInStore' [-Wimplicit-function-decla
ration]
gnutls_x509.c:1610:12: warning: assignment makes pointer from integer without
a cast [enabled by default]
gnutls_x509.c:1611:7: warning: implicit declaration of function
'CertEnumCRLsInStore' [-Wimplicit-function-declaration]
gnutls_x509.c:1611:11: warning: assignment makes pointer from integer without
a cast [enabled by default]
gnutls_x509.c:1615:19: error: request for member 'dwCertEncodingType' in
something not a structure or union
gnutls_x509.c:1615:43: error: 'X509_ASN_ENCODING' undeclared (first use in
this function)
gnutls_x509.c:1615:43: note: each undeclared identifier is reported only once
for each function it appears in
gnutls_x509.c:1617:31: error: request for member 'pbCertEncoded' in something
not a structure or union
gnutls_x509.c:1618:31: error: request for member 'cbCertEncoded' in something
not a structure or union
gnutls_x509.c:1622:16: warning: assignment makes pointer from integer without
a cast [enabled by default]
gnutls_x509.c:1627:18: error: request for member 'dwCertEncodingType' in
something not a structure or union
gnutls_x509.c:1629:30: error: request for member 'pbCrlEncoded' in something
not a structure or union
gnutls_x509.c:1630:30: error: request for member 'cbCrlEncoded' in something
not a structure or union
gnutls_x509.c:1634:15: warning: assignment makes pointer from integer without
a cast [enabled by default]
gnutls_x509.c:1636:7: warning: implicit declaration of function
'CertCloseStore' [-Wimplicit-function-declaration]
make[3]: *** [gnutls_x509.lo] Error 1


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108094>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





More information about the Gnutls-devel mailing list