GPGME 0.4.1 -- compile hassles

Marcus Brinkmann Marcus.Brinkmann at ruhr-uni-bochum.de
Tue Jul 22 14:56:13 CEST 2003


On Thu, Jul 17, 2003 at 09:48:15PM +0200, Bernhard Reiter wrote:
> Also hit the bug that libgpg-error is not enforced by the configure script.

Ok.  Is it fixed in CVS now?
 
> 	the include path to libgpg-error
> 	is not added to the CFLAGS for tests/gpg, tests/gpgsm and tests

Right.  I fixed that now in CVS (hopefully).
 
> 	compilation fails at
> 	engine-gpgsm.c: In function `set_recipients':
> 	engine-gpgsm.c:980: parse error before `int'
> 	engine-gpgsm.c:981: `newlen' undeclared (first use in this function)
> 	engine-gpgsm.c:981: (Each undeclared identifier is reported only once
> 	engine-gpgsm.c:981: for each function it appears in.)
> 	make[3]: *** [engine-gpgsm.lo] Error 1
> 	make[3]: Leaving directory `/home/projects/sicherheit/gpa/gpgme-0.4.1/gpgme'
> 
> 	putting the declaration to the beginning of the while loop helps.
> 	I wonder if some new standard of C allows is with other compilers. :)

Yes, C99 allows that, but we don't want to use it.  Thanks for spotting
this!
 
> 	Fixing the hassles above all 15 tests fails with:
> 	t-encrypt.c:42: GPGME: Invalid crypto engine

It works just fine for me, of course.  So maybe there is a problem with your
configuration?  What is your GnuPG version?  1.2.2 is required.

> ps.: Please cc: me on relevant replies, I'm not subscribed to gnupg-devel at .

Mmh, maybe fix your Mail-Followup-To then :)

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus at gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




More information about the Gnupg-devel mailing list