building newpg

Dennis Gilmore dennis at ausil.us
Sat May 1 15:10:26 CEST 2004


Hi  ot sure if this is the right list or not  but im trying to build newpg 
against libgcrypt-1.1.94  and am comming across the following errors.

cc -DHAVE_CONFIG_H -I. -I. -I..      -O2 -g -pipe -march=i386 -mcpu=i686 -Wall 
-Wcast-align -Wshadow -Wstrict-prototypes -c `test -f 'maperror.c' || echo 
'./'`maperror.c
maperror.c: In function `map_gcry_err':
maperror.c:72: error: `GCRYERR_EOF' undeclared (first use in this function)
maperror.c:72: error: (Each undeclared identifier is reported only once
maperror.c:72: error: for each function it appears in.)
maperror.c:80: error: `GCRYERR_WRONG_PK_ALGO' undeclared (first use in this 
function)
maperror.c:81: error: `GCRYERR_INV_PK_ALGO' undeclared (first use in this 
function)
maperror.c:82: error: `GCRYERR_INV_MD_ALGO' undeclared (first use in this 
function)
maperror.c:83: error: `GCRYERR_INV_CIPHER_ALGO' undeclared (first use in this 
function)
maperror.c:86: error: `GCRYERR_INV_KEYLEN' undeclared (first use in this 
function)
maperror.c:87: error: `GCRYERR_WEAK_KEY' undeclared (first use in this 
function)
maperror.c:88: error: `GCRYERR_BAD_PUBLIC_KEY' undeclared (first use in this 
function)
maperror.c:89: error: `GCRYERR_BAD_SECRET_KEY' undeclared (first use in this 
function)
maperror.c:90: error: `GCRYERR_BAD_SIGNATURE' undeclared (first use in this 
function)
maperror.c:92: error: `GCRYERR_BAD_MPI' undeclared (first use in this 
function)
maperror.c:96: error: `GCRYERR_INV_ARG' undeclared (first use in this 
function)
maperror.c:97: error: `GCRYERR_INV_OP' undeclared (first use in this function)
maperror.c:98: error: `GCRYERR_INTERNAL' undeclared (first use in this 
function)
maperror.c:99: error: `GCRYERR_INV_CIPHER_MODE' undeclared (first use in this 
function)
maperror.c:103: error: `GCRYERR_SELFTEST' undeclared (first use in this 
function)
maperror.c:107: error: `GCRYERR_SEXP_INV_LEN_SPEC' undeclared (first use in 
this function)
maperror.c:108: error: `GCRYERR_SEXP_STRING_TOO_LONG' undeclared (first use in 
this function)
maperror.c:109: error: `GCRYERR_SEXP_UNMATCHED_PAREN' undeclared (first use in 
this function)
maperror.c:110: error: `GCRYERR_SEXP_NOT_CANONICAL' undeclared (first use in 
this function)
maperror.c:111: error: `GCRYERR_SEXP_BAD_CHARACTER' undeclared (first use in 
this function)
maperror.c:112: error: `GCRYERR_SEXP_BAD_QUOTATION' undeclared (first use in 
this function)
maperror.c:113: error: `GCRYERR_SEXP_ZERO_PREFIX' undeclared (first use in 
this function)
maperror.c:114: error: `GCRYERR_SEXP_NESTED_DH' undeclared (first use in this 
function)
maperror.c:115: error: `GCRYERR_SEXP_UNMATCHED_DH' undeclared (first use in 
this function)
maperror.c:116: error: `GCRYERR_SEXP_UNEXPECTED_PUNC' undeclared (first use in 
this function)
maperror.c:117: error: `GCRYERR_SEXP_BAD_HEX_CHAR' undeclared (first use in 
this function)
maperror.c:118: error: `GCRYERR_SEXP_ODD_HEX_NUMBERS' undeclared (first use in 
this function)
maperror.c:119: error: `GCRYERR_SEXP_BAD_OCT_CHAR' undeclared (first use in 
this function)
maperror.c:123: error: `GCRYERR_NO_MEM' undeclared (first use in this 
function)
maperror.c:125: error: `GCRYERR_NOT_IMPL' undeclared (first use in this 
function)
maperror.c:126: error: `GCRYERR_CONFLICT' undeclared (first use in this 
function)
maperror.c:128: error: `GCRYERR_INV_OBJ' undeclared (first use in this 
function)
maperror.c:129: error: `GCRYERR_TOO_SHORT' undeclared (first use in this 
function)
maperror.c:130: error: `GCRYERR_TOO_LARGE' undeclared (first use in this 
function)
maperror.c:131: error: `GCRYERR_NO_OBJ' undeclared (first use in this 
function)
make[3]: *** [maperror.o] Error 1
make[3]: Leaving directory `/var/tmp/rpm/newpg-0.9.4/common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/rpm/newpg-0.9.4/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/rpm/newpg-0.9.4'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm/rpm-tmp.84339 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm/rpm-tmp.84339 (%build)

all was fine until getting to this version of gcrypt  has the api changed?

Dennis



More information about the Gcrypt-devel mailing list