gpgme usage

Oguz Yarimtepe comp.ogz at
Mon Mar 9 10:40:31 CET 2009


On Fri, Mar 6, 2009 at 12:00 AM, Werner Koch <wk at> wrote:
> On Thu,  5 Mar 2009 15:51, comp.ogz at said:
> If your system does not use LFS by default it can't work.  Recall that
> you use a gpgme_data_seek in print_data and that function takes an
> off_t.  GPGME has been build with LFS support and if your system doesn't
> use LFS by default we have a 32 / 64 bit mismatch in the off_t and thus
> the stack gets corrupted.  gpgme_data_seek sees other arguments than you
> passed and thus it returns you an error.  Please read the manual.

I didn't need LFS so i recompiled gpgme by disabling lfs support,
after your warning and reading the manual detaily. Then the code
worked. I thought some people may had the same issue in the future and
encounter with the thread. Better to make a feedback on the list.

Thank you.

Oğuz Yarımtepe

More information about the Gnupg-devel mailing list