Building on OS X Lion

Werner Koch wk at gnupg.org
Mon Jul 25 18:26:06 CEST 2011


On Mon, 25 Jul 2011 17:40, nicholas.cole at gmail.com said:

> nicholas$ gpg --card-status
> gpg(97903) malloc: *** mmap(size=2608166010582208512) failed (error code=12)

That is probably a bug in the pcsc code:  We dlopen the pcsc library and
have our own prototypes for the functions.  However we use "unsigned
long" instead of the "DWORD" type  Windows originally used.  Thus we
have a 64/32 bit mismatch if tyhe pcsc library is 32 bit. 

See also https://bugs.gnupg.org/gnupg/issue1358 .


Shalom-Salam,

   Werner

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




More information about the Gnupg-devel mailing list