Compiling libgcrypt: gcry problem (undefined reference)
Beatriz Hargrave
hargrave at vonbraunlabs.com.br
Fri Mar 10 14:17:31 CET 2006
Hi everybody !
I am trying to compile the libgcrypt library to uclinux (20041215, kernel 2.4.x, Coldfire) and I get this error concerning "gcry" functions (see bellow).
Does anybody know how to solve this problem ? (I have information that it might be a linker problem)
Thank you very much,
Beatriz.
m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE -I/home/usuarios/hargrave/uclib/include -Os -g -fomit-frame-pointer -m5307 -DCONFIG_COLDFIRE -fno-common -Wall -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -nostdinc -I/home/usuarios/hargrave/uClinux-vb/lib/libssl -I/home/usuarios/hargrave/uClinux-vb/lib/libssl/ssl -I/home/usuarios/hargrave/uClinux-vb/lib/libssl/crypto -I/home/usuarios/hargrave/uClinux-vb/include -I/home/usuarios/hargrave/uClinux-vb/include/include -I/home/usuarios/hargrave/uClinux-vb/include/openssl -I/home/usuarios/hargrave/uClinux-vb/mylibs/include/mylibs -I/home/usuarios/hargrave/uClinux-vb/mylibs/include/ilbc -I/home/usuarios/hargrave/uClinux-vb/mylibs/include -fno-builtin -I/home/usuarios/hargrave/desenvolvimento/vonbraun/include -Wl,-elf2flt -DUSE_SYSLOG -Wall -Os -g -fomit-frame-pointer -m5307 -DCONFIG_COLDFIRE -fno-common -Wall -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -nostdinc -fno-builtin -msep-data -Wl,-elf2flt -Wl,-move-rodata -nostartfiles /home/usuarios/hargrave/uClinux-vb/lib/crt0.o -o prime prime.o -L/home/usuarios/hargrave/uClinux-vb/lib -L/home/usuarios/hargrave/uClinux-vb/mylibs/lib -L/home/usuarios/hargrave/uClinux-vb/lib/libssl ../src/.libs/libgcrypt.a -L/home/usuarios/hargrave/uclib/lib /home/usuarios/hargrave/uclib/lib/libgpg-error.a -lssl -lcrypto -lc -lnsl
prime.elf2flt: In function `main':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/tests/prime.c:108: undefined reference to `gcry_control'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/tests/prime.c:109: undefined reference to `gcry_check_version'
prime.elf2flt: In function `prime_generate_internal':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:253: undefined reference to `_gcry_get_debug_flag'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:254: undefined reference to `_gcry_log_debug'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:266: undefined reference to `gcry_calloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:279: undefined reference to `gcry_calloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:300: undefined reference to `gcry_calloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:326: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:377: undefined reference to `_gcry_get_debug_flag'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:386: undefined reference to `_gcry_log_debug'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:398: undefined reference to `gcry_calloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:448: undefined reference to `_gcry_get_debug_flag'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:450: undefined reference to `_gcry_log_debug'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:452: undefined reference to `_gcry_log_printf'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:477: undefined reference to `_gcry_get_debug_flag'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:486: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:489: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:491: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:509: undefined reference to `gcry_free'
prime.elf2flt: In function `gen_prime':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:545: undefined reference to `_gcry_log_fatal'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:547: undefined reference to `gcry_xmalloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:623: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:605: undefined reference to `_gcry_log_debug'
prime.elf2flt: In function `m_out_of_n':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:785: undefined reference to `_gcry_bug'
prime.elf2flt: In function `gcry_prime_generate':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:915: undefined reference to `gcry_free'
prime.elf2flt: In function `gcry_prime_group_generator':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:987: undefined reference to `_gcry_get_debug_flag'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:989: undefined reference to `_gcry_log_debug'
prime.elf2flt: In function `gcry_prime_release_factors':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/primegen.c:1026: undefined reference to `gcry_free'
prime.elf2flt: In function `gcry_mpi_div':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpi-div.c:354: undefined reference to `_gcry_log_bug'
prime.elf2flt: In function `mpi_read_from_buffer':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:48: undefined reference to `_gcry_log_error'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:53: undefined reference to `_gcry_log_error'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:73: undefined reference to `_gcry_log_bug'
prime.elf2flt: In function `gcry_mpi_dump':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:171: undefined reference to `_gcry_log_printf'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:195: undefined reference to `_gcry_log_printf'
prime.elf2flt: In function `_gcry_log_mpidump':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:203: undefined reference to `_gcry_log_printf'
prime.elf2flt: In function `do_get_buffer':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:228: undefined reference to `gcry_xmalloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:228: undefined reference to `gcry_xmalloc'
prime.elf2flt: In function `gcry_mpi_scan':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:346: undefined reference to `gcry_is_secure'
prime.elf2flt: In function `gcry_mpi_print':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:506: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:522: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:543: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:577: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:592: undefined reference to `gcry_free'
prime.elf2flt:/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:616: more undefined references to `gcry_free' follow
prime.elf2flt: In function `gcry_mpi_aprint':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:640: undefined reference to `gcry_xmalloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:640: undefined reference to `gcry_xmalloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpicoder.c:643: undefined reference to `gcry_free'
prime.elf2flt: In function `_gcry_mpih_mul_n':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpih-mul.c:356: undefined reference to `gcry_is_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpih-mul.c:367: undefined reference to `gcry_is_secure'
prime.elf2flt: In function `_gcry_mpih_mul_karatsuba_case':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpih-mul.c:389: undefined reference to `gcry_is_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpih-mul.c:405: undefined reference to `gcry_is_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpih-mul.c:426: undefined reference to `gcry_xcalloc'
prime.elf2flt: In function `_gcry_mpih_release_karatsuba_ctx':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpih-mul.c:455: undefined reference to `gcry_free'
prime.elf2flt: In function `_gcry_mpi_alloc':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:43: undefined reference to `gcry_xmalloc'
prime.elf2flt: In function `_gcry_mpi_m_check':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:55: undefined reference to `_gcry_check_heap'
prime.elf2flt: In function `_gcry_mpi_alloc_secure':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:64: undefined reference to `gcry_xmalloc'
prime.elf2flt: In function `_gcry_mpi_alloc_limb_space':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:82: undefined reference to `gcry_xmalloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:82: undefined reference to `gcry_xmalloc'
prime.elf2flt: In function `_gcry_mpi_free_limb_space':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:102: undefined reference to `gcry_free'
prime.elf2flt: In function `_gcry_mpi_resize':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:128: undefined reference to `gcry_xrealloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:133: undefined reference to `gcry_xcalloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:136: undefined reference to `gcry_xcalloc'
prime.elf2flt: In function `_gcry_mpi_free':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:155: undefined reference to `gcry_free'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:161: undefined reference to `_gcry_log_bug'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:162: undefined reference to `gcry_free'
prime.elf2flt: In function `gcry_mpi_set_opaque':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:193: undefined reference to `gcry_free'
prime.elf2flt: In function `gcry_mpi_get_opaque':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:210: undefined reference to `_gcry_log_bug'
prime.elf2flt: In function `_gcry_mpi_copy':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:228: undefined reference to `gcry_is_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:228: undefined reference to `gcry_xmalloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:228: undefined reference to `gcry_xmalloc'
prime.elf2flt: In function `_gcry_mpi_alloc_like':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:260: undefined reference to `gcry_is_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:260: undefined reference to `gcry_malloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:260: undefined reference to `gcry_malloc'
prime.elf2flt: In function `gcry_mpi_randomize':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:385: undefined reference to `gcry_xmalloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:385: undefined reference to `gcry_xmalloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:395: undefined reference to `gcry_free'
prime.elf2flt: In function `gcry_mpi_set_flag':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:405: undefined reference to `_gcry_log_bug'
prime.elf2flt: In function `gcry_mpi_clear_flag':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:415: undefined reference to `_gcry_log_bug'
prime.elf2flt: In function `gcry_mpi_get_flag':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/mpi/mpiutil.c:425: undefined reference to `_gcry_log_bug'
prime.elf2flt: In function `initialize_basics':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:147: undefined reference to `_gcry_ath_mutex_init'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:149: undefined reference to `_gcry_log_fatal'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:153: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `initialize':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:166: undefined reference to `gcry_xcalloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:166: undefined reference to `gcry_xcalloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:168: undefined reference to `gcry_xcalloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:168: undefined reference to `gcry_xcalloc'
prime.elf2flt: In function `_gcry_random_dump_stats':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:211: undefined reference to `_gcry_log_info'
prime.elf2flt: In function `get_random_bytes':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:268: undefined reference to `_gcry_ath_mutex_lock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:270: undefined reference to `_gcry_log_fatal'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:286: undefined reference to `gcry_xmalloc_secure'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:286: undefined reference to `gcry_xmalloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:302: undefined reference to `_gcry_ath_mutex_unlock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:304: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `gcry_randomize':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:378: undefined reference to `_gcry_ath_mutex_lock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:380: undefined reference to `_gcry_log_fatal'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:408: undefined reference to `_gcry_ath_mutex_unlock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:410: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `mix_pool':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:520: undefined reference to `_gcry_burn_stack'
prime.elf2flt: In function `_gcry_set_random_seed_file':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:528: undefined reference to `_gcry_bug'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:529: undefined reference to `gcry_xstrdup'
prime.elf2flt: In function `read_seed_file':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:563: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:563: undefined reference to `_gcry_log_info'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:568: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:568: undefined reference to `_gcry_log_info'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:574: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:574: undefined reference to `_gcry_log_info'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:580: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:580: undefined reference to `_gcry_log_info'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:587: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:587: undefined reference to `_gcry_log_info'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:600: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:600: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `_gcry_update_random_seed_file':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:645: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:645: undefined reference to `_gcry_log_info'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:649: undefined reference to `_gcry_ath_mutex_lock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:651: undefined reference to `_gcry_log_fatal'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:680: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:680: undefined reference to `_gcry_log_info'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:683: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:683: undefined reference to `_gcry_log_info'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:688: undefined reference to `_gcry_ath_mutex_unlock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:690: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `read_pool':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:735: undefined reference to `_gcry_log_bug'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:755: undefined reference to `_gcry_bug'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:770: undefined reference to `_gcry_bug'
prime.elf2flt: In function `getfnc_gather_random':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:916: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:916: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `do_fast_random_poll':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:963: undefined reference to `_gcry_bug'
prime.elf2flt: In function `_gcry_fast_random_poll':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1031: undefined reference to `_gcry_ath_mutex_lock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1033: undefined reference to `_gcry_log_fatal'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1039: undefined reference to `_gcry_ath_mutex_unlock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1041: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `read_random_source':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1069: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `gather_faked':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1082: undefined reference to `_gcry_gettext'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1082: undefined reference to `_gcry_log_info'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1099: undefined reference to `gcry_xmalloc'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1109: undefined reference to `gcry_free'
prime.elf2flt: In function `gcry_create_nonce':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1133: undefined reference to `_gcry_ath_mutex_lock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1135: undefined reference to `_gcry_log_fatal'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1181: undefined reference to `_gcry_ath_mutex_unlock'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/random.c:1183: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `rmd160_write':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/rmd160.c:411: undefined reference to `_gcry_burn_stack'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/rmd160.c:434: undefined reference to `_gcry_burn_stack'
prime.elf2flt: In function `rmd160_final':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/rmd160.c:511: undefined reference to `_gcry_burn_stack'
prime.elf2flt: In function `sha1_write':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/sha1.c:219: undefined reference to `_gcry_burn_stack'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/sha1.c:243: undefined reference to `_gcry_burn_stack'
prime.elf2flt:/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/sha1.c:304: more undefined references to `_gcry_burn_stack' follow
prime.elf2flt: In function `open_device':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/rndlinux.c:55: undefined reference to `_gcry_log_fatal'
prime.elf2flt: In function `_gcry_rndlinux_gather_random':
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/rndlinux.c:118: undefined reference to `_gcry_log_error'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/rndlinux.c:128: undefined reference to `_gcry_log_error'
/home/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/cipher/rndlinux.c:134: undefined reference to `_gcry_log_fatal'
collect2: ld returned 1 exit status
make[2]: *** [prime] Error 1
make[2]: Leaving directory `/mnt/auto/oberon/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/auto/oberon/usuarios/hargrave/tmp/xml/uC/libgcrypt-1.2.2'
make: *** [all] Error 2
sh-2.05b$
More information about the Gcrypt-devel
mailing list