Wireshark-bugs: [Wireshark-bugs] [Bug 1949] New: GNUTLS is not an optional component - it must b
Date: Sat, 27 Oct 2007 21:28:35 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1949

           Summary: GNUTLS is not an optional component - it must be
                    compiled, or compilation fails
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: mykaul@xxxxxxxxx


Build Information:
C:\wireshark\wireshark-gtk2>tshark -v
TShark 0.99.7

Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.14.2, with WinPcap (version unknown), with libz 1.2.3,
with

libpcre 6.4, with SMI 0.4.5, with ADNS, with Lua 5.1, with GnuTLS 1.6.1, with
Gcrypt 1.2.3, with MIT Kerberos.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.1
(packet.dll version 4.0.0.901), based on libpcap version 0.9.5.

Built using Microsoft Visual C++ 8.0 build 50727
--
If I comment out the GNUTLS component in config.nmake (which is supposed to be
OPTIONAL: 'Optional: the GNUTLS library enables ssl decryption.'), I get
compilation failure:
   Creating library libwireshark.lib and object libwireshark.exp
epan.obj : error LNK2019: unresolved external symbol _gnutls_global_init
referen
ced in function _epan_init
epan.obj : error LNK2019: unresolved external symbol _gnutls_global_deinit
refer
enced in function _epan_cleanup
dissectors.lib(packet-snmp.obj) : error LNK2019: unresolved external symbol
_gpg
_strerror referenced in function _snmp_usm_priv_des
dissectors.lib(packet-ipsec.obj) : error LNK2001: unresolved external symbol
_gp
g_strerror
dissectors.lib(packet-snmp.obj) : error LNK2019: unresolved external symbol
_gcr
y_cipher_close referenced in function _snmp_usm_priv_des
dissectors.lib(packet-pkcs12.obj) : error LNK2001: unresolved external symbol
_g
cry_cipher_close
dissectors.lib(packet-ipsec.obj) : error LNK2001: unresolved external symbol
_gc
ry_cipher_close
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_cipher_close
dissectors.lib(packet-snmp.obj) : error LNK2019: unresolved external symbol
_gcr
y_cipher_decrypt referenced in function _snmp_usm_priv_des
dissectors.lib(packet-pkcs12.obj) : error LNK2001: unresolved external symbol
_g
cry_cipher_decrypt
dissectors.lib(packet-ipsec.obj) : error LNK2001: unresolved external symbol
_gc
ry_cipher_decrypt
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_cipher_decrypt
dissectors.lib(packet-snmp.obj) : error LNK2019: unresolved external symbol
_gcr
y_cipher_ctl referenced in function _snmp_usm_priv_des
dissectors.lib(packet-pkcs12.obj) : error LNK2001: unresolved external symbol
_g
cry_cipher_ctl
dissectors.lib(packet-ipsec.obj) : error LNK2001: unresolved external symbol
_gc
ry_cipher_ctl
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_cipher_ctl
dissectors.lib(packet-snmp.obj) : error LNK2019: unresolved external symbol
_gcr
y_cipher_open referenced in function _snmp_usm_priv_des
dissectors.lib(packet-pkcs12.obj) : error LNK2001: unresolved external symbol
_g
cry_cipher_open
dissectors.lib(packet-ipsec.obj) : error LNK2001: unresolved external symbol
_gc
ry_cipher_open
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_cipher_open
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_mpi_print referenced in function _generate_key_or_iv
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_mpi_print
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_mpi_clear_highbit referenced in function _generate_key_or_iv
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_mpi_add referenced in function _generate_key_or_iv
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_mpi_add_ui referenced in function _generate_key_or_iv
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_mpi_scan referenced in function _generate_key_or_iv
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_mpi_scan
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_mpi_release referenced in function _generate_key_or_iv
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_mpi_release
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_md_hash_buffer referenced in function _generate_key_or_iv
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_md_close referenced in function _generate_key_or_iv
dissectors.lib(packet-ipsec.obj) : error LNK2001: unresolved external symbol
_gc
ry_md_close
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_md_close
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_md_read referenced in function _generate_key_or_iv
dissectors.lib(packet-ipsec.obj) : error LNK2001: unresolved external symbol
_gc
ry_md_read
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_md_read
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_md_ctl referenced in function _generate_key_or_iv
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_md_write referenced in function _generate_key_or_iv
dissectors.lib(packet-ipsec.obj) : error LNK2001: unresolved external symbol
_gc
ry_md_write
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_md_write
dissectors.lib(packet-pkcs12.obj) : error LNK2019: unresolved external symbol
_g
cry_md_open referenced in function _generate_key_or_iv
dissectors.lib(packet-ipsec.obj) : error LNK2001: unresolved external symbol
_gc
ry_md_open
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_md_open
dissectors.lib(packet-ipsec.obj) : error LNK2019: unresolved external symbol
_gc
ry_cipher_algo_name referenced in function _dissect_esp
dissectors.lib(packet-ipsec.obj) : error LNK2019: unresolved external symbol
_gc
ry_cipher_get_algo_keylen referenced in function _dissect_esp
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_cipher_get_algo_keylen
dissectors.lib(packet-ipsec.obj) : error LNK2019: unresolved external symbol
_gc
ry_md_setkey referenced in function _dissect_esp
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_md_setkey
dissectors.lib(packet-ipsec.obj) : error LNK2019: unresolved external symbol
_gc
ry_md_get_algo_dlen referenced in function _dissect_esp
dissectors.lib(packet-ssl-utils.obj) : error LNK2001: unresolved external
symbol
 _gcry_md_get_algo_dlen
dissectors.lib(packet-ipsec.obj) : error LNK2019: unresolved external symbol
_gc
ry_md_algo_name referenced in function _dissect_esp
dissectors.lib(packet-ipsec.obj) : error LNK2019: unresolved external symbol
_gc
ry_control referenced in function _dissect_esp
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_sexp_nth_mpi referenced in function _ssl_private_decrypt
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_sexp_release referenced in function _ssl_private_decrypt
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_pk_decrypt referenced in function _ssl_private_decrypt
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_sexp_build referenced in function _ssl_private_decrypt
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_strerror referenced in function _ssl_private_decrypt
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_md_map_name referenced in function _ssl_get_digest_by_name
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_md_get_algo referenced in function _ssl_hmac_final
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_cipher_get_algo_blklen referenced in function _ssl_cipher_init
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_cipher_map_name referenced in function _ssl_get_cipher_by_name
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gcry_strsource referenced in function _ssl_decrypt_record
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gnutls_x509_privkey_export_rsa_raw referenced in function _ssl_load_key
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gnutls_x509_privkey_import referenced in function _ssl_load_key
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gnutls_x509_privkey_init referenced in function _ssl_load_key
dissectors.lib(packet-ssl-utils.obj) : error LNK2019: unresolved external
symbol
 _gnutls_check_version referenced in function _ssl_lib_init
libwireshark.dll : fatal error LNK1120: 39 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\l
ink.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\n
make.exe"' : return code '0x2'
Stop.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.