Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

link failure when building against latest libgcrypt

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


jim at meyering

Sep 19, 2011, 12:09 PM

Post #1 of 2 (215 views)
Permalink
link failure when building against latest libgcrypt

Hi,

Just a quick FYI that building gnupg (latest from git),
using the latest sources of libgcrypt leads to link failures like this:

/w/gnupg/g10/mainproc.c:712: undefined reference to `gcry_md_start_debug'
/w/gnupg/g10/mainproc.c:714: undefined reference to `gcry_md_start_debug'
mainproc.o: In function `proc_tree':
...

That's due to this commit in libgcrypt:

commit 889a25ed3333d1d7657b4b59ae21f6e8458f9027
Author: Werner Koch <wk [at] gnupg>
Date: Thu Sep 15 18:24:23 2011 +0200

Removed deprecated debug macros.

While I wait for gnupg to catch up, I worked around it
by adding this line to config.h:

#define gcry_md_start_debug(a,b) /*empty */

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


wk at gnupg

Sep 20, 2011, 1:00 AM

Post #2 of 2 (208 views)
Permalink
Re: link failure when building against latest libgcrypt [In reply to]

On Mon, 19 Sep 2011 21:09, jim [at] meyering said:

> /w/gnupg/g10/mainproc.c:714: undefined reference to `gcry_md_start_debug'

I adjusted gnupg. Thanks.

FWIW: The next Libgcrypt version will have a changed ABI and some
cleanups in the API. In particular the entire module registration
system is gone, the gcry_ac functions are gone and the threading model
setup calls won't be needed anymore.


Shalom-Salam,

Werner

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.