>Am trying to upgrade openssl 1.0.1p to 1.0.2k and the compilation breaks with 
>the below error and am using Ubuntu 10.04.1
>In file included from req.c:84:
>comp.h:28: error: redefinition of typedef 'COMP_METHOD'
>../../Build/target/usr/include/openssl/ossl_typ.h:181: error: previous 
>declaration of 'COMP_METHOD' was here

Something is strange.  Scrub your build area and restart.

; sed -n -e25,30p crypto/comp/comp.h
    int (*expand) (COMP_CTX *ctx,
                   unsigned char *out, unsigned int olen,
                   unsigned char *in, unsigned int ilen);
    /*
     * The following two do NOTHING, but are kept for backward compatibility
     */
; sed -n -e181p crypto/ossl_typ.h
typedef struct comp_method_st COMP_METHOD;
;


-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to