Hi Kevin,

I don't use ocsp too but I checked the ocspd.

Kevin wrote:

`openca-xml-cache/Makefile' is up to date.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "de_AT",
        LANG = (unset)
    are supported and installed on your system.

Some time ago src/modules/Makefile includes de_AT to avoid problems with "make test" in libintl-perl. This was removed some weeks ago.


cd ocspd && make
Making all in src
if /usr/local/bin/egcc -DPACKAGE_VERSION=\"0.5.1\\x0\"
-D_USE_SEMAPHORES=1 -I. -I. -I../include       -g -O2 -MT ocspd.o -MD
-MP -MF ".deps/ocspd.Tpo"  -c -o ocspd.o `test -f 'ocspd.c' || echo
'./'`ocspd.c;  then mv ".deps/ocspd.Tpo" ".deps/ocspd.Po";  else rm -f
".deps/ocspd.Tpo"; exit 1;  fi
In file included from ocspd.c:25:
general.h:38: error: redefinition of `union semun'
*** Error code 1

general.h is ok but it is included several times and there is no protection included against multiple includes. I attached a fixed version of general.h to avoid such problems. The error message from the compiler is ok.


BTW it is no problem to set configure options which are no longer supported. This is a feature of autoconf because configure files can be used in cascades (like ocspd, scep and openca-sv).

Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
_______________________________________________________________
Index: general.h
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/ocspd/src/general.h,v
retrieving revision 1.7
diff -r1.7 general.h
1c1,5
< /* OpenCA OCSP daemon - (c) 2000 by Massimiliano Pala and OpenCA Group */
---
> /* OpenCA OCSP daemon - (c) 2000-2004 by Massimiliano Pala and OpenCA Group */
> 
> #ifndef HEADER_OPENCA_OCSPD_GENERAL_H
> #define HEADER_OPENCA_OCSPD_GENERAL_H
> 
251a256
> #endif

Reply via email to