Bug compiling tests/ dir in GPGME

Jose Carlos Garcia Sogo jsogo at debian.org
Tue Jun 24 14:04:04 CEST 2003


 Hi,

  I was trying to compile new GPGME 0.4.1, just after compiling and
  installing libgpg-error in place.

  I get this error in test/ dir:

  /bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wcast-align
  -Wshadow -Wstrict-prototypes   -o t-encrypt  t-encrypt.o
  ../../gpgme/libgpgme.la
  gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o
  .libs/t-encrypt t-encrypt.o  ../../gpgme/.libs/libgpgme.so
  ../../gpgme/.libs/libgpgme.so: undefined reference to
  `gpg_err_code_to_errno'
  ../../gpgme/.libs/libgpgme.so: undefined reference to
  `gpg_err_code_from_errno'
  ../../gpgme/.libs/libgpgme.so: undefined reference to `gpg_strerror'
  ../../gpgme/.libs/libgpgme.so: undefined reference to `gpg_strsource'
  collect2: ld returned 1 exit status


  I think it's related to some problem in libtool not knowing about the
  new gpg-error lib, so I guess some magic in the Makefile should be
  done.

  Cheers

-- 
  Jose Carlos Garcia Sogo
     jsogo at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20030624/719558d1/attachment.bin


More information about the Gnupg-devel mailing list