Aegypten backend alpha release day

Luca M. G. Centamore luca.centamore at inps.it
Wed Nov 19 12:19:10 CET 2003


On Monday 17 November 2003 14:40, Werner Koch wrote:
> Hi!
>
> I have worked a bit on Aegypten related code and updated a couple of
>
> 6. The CRL management daemon
>
> ftp://ftp.gnupg.org/gcrypt/alpha/dirmngr-0.5.0.tar.gz (275k)
>
>
> Bug reports please to the gpa-dev at gnupg.org list.  Please consider to
> buy maintenance points to help with the development; see
> http://www.g10code.com/products.html#maintpoints .

Hi all,
I have a problem building dirmngr-0.5.0
I got this error
...
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../jnlib -I/usr/local/include  
-I/usr/local/include -I/usr/local/include -I/usr/local/include    -g -O2 
-Wall -MT crlcache.o -MD -MP -MF ".deps/crlcache.Tpo" \
  -c -o crlcache.o `test -f 'crlcache.c' || echo './'`crlcache.c; \
then mv -f ".deps/crlcache.Tpo" ".deps/crlcache.Po"; \
else rm -f ".deps/crlcache.Tpo"; exit 1; \
fi
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
crlcache.c: In function `list_one_crl_entry':
crlcache.c:1044: parse error before "X"
make[2]: *** [crlcache.o] Error 1

I removed some lines and it succesfully builds.
Here is the diff -u

[luca at p27250000 dirmngr-0.5.0]$ diff -u src/crlcache.c src/crlcache.c.orig
--- src/crlcache.c      Wed Nov 19 12:15:35 2003
+++ src/crlcache.c.orig Wed Nov 19 12:14:48 2003
@@ -1039,8 +1039,10 @@
   fprintf (fp, " Valid from %s to %s\n\n", e->this_update, e->next_update);

 #if defined(HAVE_DB4_DB_H) || defined(DB2_CURSOR_4_PARAMS)
-  rc = e->dbf->cursor( e->dbf, NULL, &cursorp X);
+#define X ,0
 #endif
+  rc = e->dbf->cursor( e->dbf, NULL, &cursorp X);
+#undef X
   if (rc)
     {
       log_error ("error reading cache entry from db: db cursor rc=%d\n", rc);

Am I doing wrong?

Regards




More information about the Gpa-dev mailing list