helpGnuTLS - Support: sr #108152, gnutls 3.1.2 mingw64 issue with...


sr #108152: gnutls 3.1.2 mingw64 issue with compiling 64 bit library

Submitted by:  Ochir <ochir>
Submitted on:  Mon 08 Oct 2012 10:05:15 AM UTC  
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Ready For Test
Privacy:  Public Assigned to:  Nikos Mavrogiannopoulos <nmav>
Open/Closed:  Closed Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 10 Oct 2012 09:42:32 AM UTC, comment #2:

Now it works. Thank you.

Ochir <ochir>
Tue 09 Oct 2012 05:54:55 PM UTC, comment #1:

Indeed. It seems something is missing there. Does the attached patch fix the issue for you?

(file #26726)

Nikos Mavrogiannopoulos <nmav>
Project AdministratorIn charge of this item.
Mon 08 Oct 2012 10:05:15 AM UTC, original submission:

gnutls 3.1.2, nettle 2.5.

Configuration options:

configure: summary of build options:

version: 3.1.2 shared 40:0:12
Host type: x86_64-w64-mingw32
Install prefix: /var/lib/jenkins/jobs/Gnutls4Win/workspace/result-64
Compiler: x86_64-w64-mingw32-gcc -std=gnu99
CFlags: -I/var/lib/jenkins/jobs/Gnutls4Win/workspace/result-64/include -L/var/lib/jenkins/jobs/Gnutls4Win/workspace/result-64/lib
Warning flags: errors: warnings:
Library types: Shared=no, Static=yes
Valgrind: no

configure: Optional features:
(note that included applications might not compile properly
if features are disabled)

OCSP support: yes
OpenPGP support: yes
SRP support: yes
PSK support: yes
Anon auth support:yes

Trust store pkcs:
Trust store file: /etc/ssl/certs/ca-certificates.crt
CRL file:

configure: Optional applications:

crywrap app:
local libopts: yes

configure: Optional libraries:

Guile wrappers: no
C++ library: no
OpenSSL compat: no

configure: Hardware acceleration/support:

/dev/crypto: no
Hardware accel: x86-64
PKCS#11 support: no
TPM support: no

32 bit library compiles successfully.

After compilation of 64 bit library the following error displays:

../../lib/system.c: In function 'gnutls_x509_trust_list_add_system_trust':
../../lib/system.c:429:5: warning: implicit declaration of function 'Loaded_CertEnumCRLsInStore' [-Wimplicit-function-declaration]
../../lib/system.c:429:9: warning: assignment makes pointer from integer without a cast [enabled by default]
../../lib/system.c:451:13: warning: assignment makes pointer from integer without a cast [enabled by default]
CC gnutls_str.lo
CC gnutls_state.lo
CC gnutls_x509.lo
CC gnutls_rsa_export.lo
CC gnutls_helper.lo
CC gnutls_supplemental.lo
CC random.lo
CC crypto-api.lo
CC gnutls_privkey.lo
CC gnutls_pcert.lo
CC gnutls_pubkey.lo
CC locks.lo
CC hash.lo
CC gnutls_dtls.lo
CC system_override.lo
CC crypto-backend.lo
CC verify-tofu.lo
CC pin.lo
CC gnutls_srp.lo
CC gnutls_psk.lo
copying selected object files to avoid basename conflicts...
make[1]: Leaving directory `/var/lib/jenkins/jobs/Gnutls4Win/workspace/build/gnutls-3.1.2/build-64/lib'
make: Leaving directory `/var/lib/jenkins/jobs/Gnutls4Win/workspace/build/gnutls-3.1.2/build-64/lib'
obj/system.o:system.c:(.text+0x4d2): undefined reference to `Loaded_CertEnumCRLsInStore'
obj/system.o:system.c:(.text+0x5a8): undefined reference to `Loaded_CertEnumCRLsInStore'
collect2: ld returned 1 exit status

Ochir <ochir>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #26726:  patch.txt added by nmav (470B - text/plain - Patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by nmav (Updated the item)
  • -email is unavailable- added by ochir (Submitted the item)
  • -email is unavailable- added by ochir

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-06 nmav Open/ClosedOpen => Closed
    2012-10-09 nmav Attached File- => Added patch.txt, #26726
        StatusNone => Ready For Test
        Assigned toNone => nmav
    2012-10-08 ochir Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.3