[gnutls-dev] (no subject)
rambot
rambot at freemail.gr
Fri Nov 23 21:21:02 CET 2001
I am using Linux Slackware 8.1. I have successfully compiled gnutls library. But when I write a very simple program and I link with the library I get the following errors from g++:
/tmp/ccU28rH1.o: In function `main':
/tmp/ccU28rH1.o(.text+0xf): undefined reference to `cout'
/tmp/ccU28rH1.o(.text+0x14): undefined reference to `ostream::operator<<(char const *)'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_print'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_md_get_algo_dlen'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_scan'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_pk_encrypt'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_md_close'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_get_nbits'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_md_read'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_md_setkey'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_set'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_addm'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_copy'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_sexp_find_token'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_powm'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_randomize'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_set_allocation_handler'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_add'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_sexp_build'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_sexp_nth_mpi'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_mulm'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_md_write'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_cipher_open'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_cipher_ctl'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_cipher_close'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_mul'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_md_get_algo'
/usr/local/lib/libgnutls.so: undefined reference to `_gcry_generate_elg_prime'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_cipher_encrypt'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_md_open'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_subm'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_set_ui'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_sexp_release'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_cipher_decrypt'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_new'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_mpi_release'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_md_ctl'
/usr/local/lib/libgnutls.so: undefined reference to `gcry_random_bytes'
collect2: ld returned 1 exit status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20011123/c192e12b/attachment.htm>
More information about the Gnutls-devel
mailing list