GPGME Compilation Questions
Kevin Hilton
kevhilton at gmail.com
Fri Jul 31 23:50:06 CEST 2009
Yet more cygwin errors trying this time to compile gpgme:
gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o t-encrypt.exe t-en
crypt.o ../../src/.libs/libgpgme.a /usr/lib/libgpg-error.dll.a -L/usr/lib /usr/
lib/libintl.dll.a /usr/lib/libiconv.dll.a
t-encrypt.o: In function `print_data':
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:58: undefined referenc
e to `_gpgme_data_seek'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:62: undefined referenc
e to `_gpgme_data_read'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:60: undefined referenc
e to `_gpgme_err_code_from_errno'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:60: undefined referenc
e to `_gpgme_err_code_from_errno'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:60: undefined referenc
e to `_gpgme_strerror'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:60: undefined referenc
e to `_gpgme_err_code_from_errno'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:60: undefined referenc
e to `_gpgme_strsource'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:64: undefined referenc
e to `_gpgme_err_code_from_errno'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:64: undefined referenc
e to `_gpgme_err_code_from_errno'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:64: undefined referenc
e to `_gpgme_strerror'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:64: undefined referenc
e to `_gpgme_err_code_from_errno'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:64: undefined referenc
e to `_gpgme_strsource'
t-encrypt.o: In function `init_gpgme':
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:106: undefined referen
ce to `_gpgme_check_version'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:108: undefined referen
ce to `_gpgme_set_locale'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:110: undefined referen
ce to `_gpgme_set_locale'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:113: undefined referen
ce to `_gpgme_engine_check_version'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:114: undefined referen
ce to `_gpgme_strerror'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-support.h:114: undefined referen
ce to `_gpgme_strsource'
t-encrypt.o: In function `main':
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:48: undefined referenc
e to `_gpgme_new'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:50: undefined referenc
e to `_gpgme_set_armor'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:52: undefined referenc
e to `_gpgme_data_new_from_mem'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:55: undefined referenc
e to `_gpgme_data_new'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:58: undefined referenc
e to `_gpgme_get_key'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:61: undefined referenc
e to `_gpgme_get_key'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:65: undefined referenc
e to `_gpgme_op_encrypt'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:67: undefined referenc
e to `_gpgme_op_encrypt_result'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:76: undefined referenc
e to `_gpgme_key_unref'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:77: undefined referenc
e to `_gpgme_key_unref'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:78: undefined referenc
e to `_gpgme_data_release'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:79: undefined referenc
e to `_gpgme_data_release'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:80: undefined referenc
e to `_gpgme_release'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:49: undefined referenc
e to `_gpgme_strerror'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:49: undefined referenc
e to `_gpgme_strsource'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:53: undefined referenc
e to `_gpgme_strerror'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:53: undefined referenc
e to `_gpgme_strsource'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:56: undefined referenc
e to `_gpgme_strerror'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:56: undefined referenc
e to `_gpgme_strsource'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:60: undefined referenc
e to `_gpgme_strerror'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:60: undefined referenc
e to `_gpgme_strsource'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:63: undefined referenc
e to `_gpgme_strerror'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:63: undefined referenc
e to `_gpgme_strsource'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:66: undefined referenc
e to `_gpgme_strerror'
/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg/t-encrypt.c:66: undefined referenc
e to `_gpgme_strsource'
collect2: ld returned 1 exit status
make[3]: *** [t-encrypt.exe] Error 1
make[3]: Leaving directory `/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests/gpg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/temp/fwknop/gpgme-1.1.8/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/temp/fwknop/gpgme-1.1.8'
make: *** [all] Error 2
--
Kevin Hilton
More information about the Gnupg-devel
mailing list