Compile error with gpgme-1.1.2

Robby Workman rw at rlworkman.net
Sat Sep 9 07:35:54 CEST 2006


While attempting to compile gpgme 1.1.2, I encountered this 
error:  http://rlworkman.net/linux/gpgme_error_1

For those who don't want to click links, the first part of the 
actual error is:

In file included from ath-pthread.c:36:
/usr/include/pthread.h:285: error: conflicting types for 'pthread_t'
/usr/include/bits/pthreadtypes.h:150: error: previous declaration 
of 'pthread_t' was here

In searching the archives, I found something similar to this from 
back in 2005:
http://lists.gnupg.org/pipermail/gpa-dev/2005-September/002322.html
However, a fix was committed in 1.1.0 (iirc) according to the 
ChangeLog.

Other likely relevant information:
pth was compiled with --prefix=/usr --sysconfdir=/etc 
--enable-shared=yes --enable-static=no --enable-pthread 
originally; however, I have rebuilt it with --disable-pthread and 
then attempted gpgme afterward, but the same error occurs.
The installed kernel headers are 2.4.33.3, and glibc is version 
2.3.6.  OS is Slackware -current (11.0rc4+).

TIA,
RW (robw810)

-- 

http://rlworkman.net



More information about the Gnupg-devel mailing list