[gpgme] gpgme_data_seek error

Werner Koch wk at gnupg.org
Thu Oct 14 11:54:20 CEST 2004


On Wed, 13 Oct 2004 20:46:51 +0200, micron  said:

> Try to build the attacched file, it's taken from the cvs but I made a little 
> modification (it just fills a databuffer and then tries to read it).
> You'll encvouter my same error.

Hmm, it works for me:

wk at wheatstone:~/tmp$ cc `gpgme-config --cflags --libs` -Wall -g t-sign.c
t-sign.c: In function `main':
t-sign.c:89: warning: unused variable `out'
t-sign.c:90: warning: unused variable `result'
t-sign.c:92: warning: unused variable `key'
t-sign.c: At top level:
t-sign.c:39: warning: `check_result' defined but not used
wk at wheatstone:~/tmp$ ./a.out
wk at wheatstone:~/tmp$ gpgme-config --cflags --libs --version
1.0.0
wk at wheatstone:~/tmp$ gpgme-config --cflags --libs
-I/usr/local/include -I/usr/local/include -L/usr/local/lib -lgpgme -L/usr/local/lib -lgpg-error

There have been no changes in that area since 0.9.0.  

Your problem might be due to the use of a non-matching off_t size -
see the manual section on Largefile support.


Shalom-Salam,

   Werner




More information about the Gnupg-devel mailing list