Page 1 of 1

Problem compiling for Windows

Posted: 19 Feb 2015 21:21
by complexzeros
Background: Compiling on Ubuntu 14.04 32-bit for Windows 32-bit. I am following the instructions here: https://wiki.videolan.org/Win32Compile/. When I get to the

Code: Select all

make
under "Building VLC", I get the following errors. One thing that is particularly strange to me about the output is that the folder

Code: Select all

/home/jb/
does not exist.

Code: Select all

make[4]: Entering directory `/home/jeff/code/vlc/win32/modules' CCLD libsftp_plugin.la /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libssh2.a(comp.o): In function `comp_method_zlib_init': /home/jb/vlc-2.2/contrib/mingw/ssh2/src/comp.c:157: undefined reference to `deflateInit_' /home/jb/vlc-2.2/contrib/mingw/ssh2/src/comp.c:160: undefined reference to `inflateInit_' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libssh2.a(comp.o): In function `comp_method_zlib_comp': /home/jb/vlc-2.2/contrib/mingw/ssh2/src/comp.c:199: undefined reference to `deflate' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libssh2.a(comp.o): In function `comp_method_zlib_decomp': /home/jb/vlc-2.2/contrib/mingw/ssh2/src/comp.c:259: undefined reference to `inflate' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libssh2.a(comp.o): In function `comp_method_zlib_dtor': /home/jb/vlc-2.2/contrib/mingw/ssh2/src/comp.c:321: undefined reference to `deflateEnd' /home/jb/vlc-2.2/contrib/mingw/ssh2/src/comp.c:323: undefined reference to `inflateEnd' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-visibility.o): In function `gpg_err_make_from_errno': /home/jeff/code/vlc/contrib/i686-w64-mingw32/include/gpg-error.h:793: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-visibility.o): In function `gcry_strerror': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/gcrypt-int.h:249: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-visibility.o): In function `gcry_strsource': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/gcrypt-int.h:257: undefined reference to `gpg_strsource' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-visibility.o): In function `gcry_err_code_from_errno': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/gcrypt-int.h:266: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-visibility.o): In function `gcry_err_code_to_errno': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/gcrypt-int.h:274: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-visibility.o): In function `gcry_error_from_errno': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/gcrypt-int.h:290: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gpg_error_from_errno': /home/jeff/code/vlc/contrib/i686-w64-mingw32/include/gpg-error.h:800: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `do_malloc': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:793: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:794: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_realloc': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:866: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_free': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:888: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_calloc': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:901: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_calloc_secure': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:921: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_xmalloc': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:967: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_xrealloc': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:985: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_xmalloc_secure': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:1002: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_xcalloc': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:1019: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:1020: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_xcalloc_secure': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:1037: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:1038: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-global.o): In function `gcry_xstrdup': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/global.c:1060: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-sexp.o): In function `make_space': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/sexp.c:990: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-sexp.o): In function `do_vsexp_sscan': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/sexp.c:1176: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/src/sexp.c:1414: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-sexp.o):/home/jeff/code/vlc/contrib/win32/libgcrypt/src/sexp.c:1447: more undefined references to `gpg_err_code_from_errno' follow /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-misc.o): In function `gcry_fatal_error': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/misc.c:81: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-misc.o): In function `gcry_divide_by_zero': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/misc.c:468: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/src/misc.c:469: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(mpicoder.o): In function `gcry_mpi_print': /home/jeff/code/vlc/contrib/win32/libgcrypt/mpi/mpicoder.c:634: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/mpi/mpicoder.c:691: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/mpi/mpicoder.c:719: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/mpi/mpicoder.c:734: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/mpi/mpicoder.c:785: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(mpicoder.o):/home/jeff/code/vlc/contrib/win32/libgcrypt/mpi/mpicoder.c:849: more undefined references to `gpg_err_code_from_syserror' follow /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-curves.o): In function `scanval': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-curves.c:332: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-curves.o): In function `gcry_ecc_update_curve_param': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-curves.c:473: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-curves.o): In function `point_from_keyparam': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-curves.c:693: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-curves.o): In function `gcry_mpi_ec_new': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-curves.c:830: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(cipher.o): In function `gcry_cipher_open_internal': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/cipher.c:457: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(mac.o): In function `mac_open': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/mac.c:215: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(md.o): In function `md_open': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/md.c:311: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/md.c:345: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(md.o): In function `md_enable': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/md.c:438: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(md.o): In function `md_copy': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/md.c:483: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/md.c:501: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(md.o):/home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/md.c:525: more undefined references to `gpg_err_code_from_errno' follow /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(md.o): In function `gcry_md_hash_buffer': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/md.c:880: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-fips.o): In function `run_cipher_selftests': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/fips.c:472: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-fips.o): In function `run_digest_selftests': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/fips.c:502: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-fips.o): In function `run_hmac_selftests': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/fips.c:531: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-fips.o): In function `run_pubkey_selftests': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/fips.c:559: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-fips.o):/home/jeff/code/vlc/contrib/win32/libgcrypt/src/fips.c:576: more undefined references to `gpg_strerror' follow /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(kdf.o): In function `gcry_kdf_pkdf2': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/kdf.c:166: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(primegen.o): In function `gcry_primegen_init': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/primegen.c:154: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(primegen.o): In function `prime_generate_internal': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/primegen.c:392: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/primegen.c:400: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/primegen.c:419: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/primegen.c:445: undefined reference to `gpg_err_code_from_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(primegen.o):/home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/primegen.c:610: more undefined references to `gpg_err_code_from_errno' follow /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(primegen.o): In function `gcry_generate_fips186_2_prime': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/primegen.c:1466: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(primegen.o): In function `gcry_generate_fips186_3_prime': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/primegen.c:1705: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-secmem.o): In function `mb_get_new': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/secmem.c:224: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-secmem.o): In function `gcry_secmem_malloc_internal': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/secmem.c:562: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/win32/libgcrypt/src/secmem.c:569: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-stdmem.o): In function `gcry_private_malloc': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/stdmem.c:93: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-stdmem.o): In function `gcry_private_malloc_secure': /home/jeff/code/vlc/contrib/win32/libgcrypt/src/stdmem.c:127: undefined reference to `gpg_err_set_errno' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(dsa.o): In function `gcry_strerror': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/../src/gcrypt-int.h:249: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(dsa.o): In function `dsa_generate': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/dsa.c:892: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/dsa.c:912: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(dsa.o): In function `dsa_check_secret_key': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/dsa.c:990: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(dsa.o): In function `dsa_sign': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/dsa.c:1053: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(dsa.o): In function `dsa_verify': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/dsa.c:1119: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-misc.o): In function `gcry_ecc_ec2os': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-misc.c:118: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-misc.c:127: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-misc.o):/home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-misc.c:136: more undefined references to `gpg_strerror' follow /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-eddsa.o): In function `gpg_error_from_syserror': /home/jeff/code/vlc/contrib/i686-w64-mingw32/include/gpg-error.h:806: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-eddsa.o): In function `scanval': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-eddsa.c:58: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-eddsa.o): In function `eddsa_encodempi': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-eddsa.c:77: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-eddsa.o): In function `eddsa_encode_x_y': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-eddsa.c:101: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-eddsa.o): In function `gcry_ecc_eddsa_ensure_compact': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-eddsa.c:197: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-eddsa.o): In function `gcry_ecc_eddsa_decodepoint': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-eddsa.c:361: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-eddsa.c:372: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc-eddsa.o):/home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc-eddsa.c:433: more undefined references to `gpg_err_code_from_syserror' follow /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc.o): In function `ecc_check_secret_key': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc.c:710: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc.o): In function `ecc_sign': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc.c:851: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc.o): In function `ecc_verify': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc.c:1048: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc.o): In function `ecc_encrypt_raw': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc.c:1231: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc.o): In function `ecc_decrypt_raw': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc.c:1366: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc.c:1395: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(ecc.o): In function `compute_keygrip': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/ecc.c:1590: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(rsa.o): In function `gcry_strerror': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/../src/gcrypt-int.h:249: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(rsa.o): In function `rsa_check_secret_key': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/rsa.c:877: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(rsa.o): In function `rsa_encrypt': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/rsa.c:945: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(rsa.o): In function `rsa_decrypt': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/rsa.c:1103: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(rsa.o): In function `rsa_sign': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/rsa.c:1185: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(rsa.o):/home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/rsa.c:1255: more undefined references to `gpg_strerror' follow /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(scrypt.o): In function `gcry_kdf_scrypt': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/scrypt.c:287: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/scrypt.c:294: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/scrypt.c:301: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(random-fips.o): In function `gcry_strerror': /home/jeff/code/vlc/contrib/win32/libgcrypt/random/../src/gcrypt-int.h:249: undefined reference to `gpg_strerror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(random-fips.o): In function `gcry_rngfips_init_external_test': /home/jeff/code/vlc/contrib/win32/libgcrypt/random/random-fips.c:1051: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(dsa-common.o): In function `int2octets': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/dsa-common.c:125: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(dsa-common.o): In function `gcry_dsa_gen_rfc6979_k': /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/dsa-common.c:206: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/dsa-common.c:216: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/dsa-common.c:271: undefined reference to `gpg_err_code_from_syserror' /home/jeff/code/vlc/contrib/i686-w64-mingw32/lib/libgcrypt.a(rsa-common.o):/home/jeff/code/vlc/contrib/win32/libgcrypt/cipher/rsa-common.c:89: more undefined references to `gpg_err_code_from_syserror' follow collect2: error: ld returned 1 exit status make[4]: *** [libsftp_plugin.la] Error 1 make[4]: Leaving directory `/home/jeff/code/vlc/win32/modules'
Any ideas why I am seeing these errors and how to resolve them?

Re: Problem compiling for Windows

Posted: 19 Feb 2015 21:30
by Jean-Baptiste Kempf
re-run the fix script

Re: Problem compiling for Windows

Posted: 19 Feb 2015 21:35
by complexzeros
re-run the fix script
Sorry, what is the fix script?

Re: Problem compiling for Windows

Posted: 20 Feb 2015 10:50
by luguen
Same error on the same configuration...