Mantis - gpgme_dev
Viewing Issue Advanced Details
5286 minor have not tried 2016-10-24 15:00 2016-10-24 15:00
jeroenooms  
 
normal  
new  
open  
none    
none  
0005286: GPGME cflags missing _FILE_OFFSET_BITS
I am trying to compile an application that links to gpgme using CFLAGS and LIBS from "gpgme-config --cflags" and "gpgme-config --libs" respectively. It fails with the error belows.

Maybe "config --cflags" should include "-D_FILE_OFFSET_BITS=64" to compile? Or perhaps the issue has been fixed upstream in GPGME 1.7.1.

Using PKG_CFLAGS=-I/opt/csw/include
Using PKG_LIBS=-L/opt/csw/lib -lgpgme -lassuan -lsocket -lgpg-error
In file included from <stdin>:1:0:
/opt/csw/include/gpgme.h:105:2: error: #error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual.
 #error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual.
Issue History
2016-10-24 15:00 jeroenooms New Issue

There are no notes attached to this issue.