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

Ochir INVALID.NOREPLY at gnu.org
Mon Oct 8 12:05:16 CEST 2012


                 Summary: gnutls 3.1.2 mingw64 issue with compiling 64 bit
                 Project: GnuTLS
            Submitted by: ochir
            Submitted on: Mon 08 Oct 2012 10:05:15 AM GMT
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux



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
  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
  CCLD   libgnutls.la
copying selected object files to avoid basename conflicts...
make[1]: Leaving directory
make: Leaving directory
obj/system.o:system.c:(.text+0x4d2): undefined reference to
obj/system.o:system.c:(.text+0x5a8): undefined reference to
collect2: ld returned 1 exit status


Reply to this item at:


  Message sent via/by Savannah

More information about the Gnutls-devel mailing list