Problem to compile newpg-0.9.4

Falk Höppner falk.hoeppner at bahn.de
Wed Oct 22 01:41:03 CEST 2003


Hi list,

tonight I tried to install PGP/MIME for KMail, following the howto
from http://kmail.kde.org/kmail-pgpmime-howto.html.

Everything worked fine, except compiling the newpg-package from 
ftp://ftp.gnupg.org/gcrypt/alpha/aegypten/newpg-0.9.4.tar.gz

configure finished only whith one warning (GNU Portable Threads 
Library).
make crashed on compiling maperror.c with the following 
error-message(s):

<--cut-->
source='maperror.c' object='maperror.o' libtool=no \
depfile='.deps/maperror.Po' tmpdepfile='.deps/maperror.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..      -O2 -march=i486 -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: `GCRYERR_EOF' undeclared (first use in this function)
maperror.c:72: (Each undeclared identifier is reported only once
maperror.c:72: for each function it appears in.)
maperror.c:80: `GCRYERR_WRONG_PK_ALGO' undeclared (first use in this 
function)
maperror.c:81: `GCRYERR_INV_PK_ALGO' undeclared (first use in this 
function)
maperror.c:82: `GCRYERR_INV_MD_ALGO' undeclared (first use in this 
function)
maperror.c:83: `GCRYERR_INV_CIPHER_ALGO' undeclared (first use in this 
function)
maperror.c:86: `GCRYERR_INV_KEYLEN' undeclared (first use in this 
function)
maperror.c:87: `GCRYERR_WEAK_KEY' undeclared (first use in this 
function)
maperror.c:88: `GCRYERR_BAD_PUBLIC_KEY' undeclared (first use in this 
function)
maperror.c:89: `GCRYERR_BAD_SECRET_KEY' undeclared (first use in this 
function)
maperror.c:90: `GCRYERR_BAD_SIGNATURE' undeclared (first use in this 
function)
maperror.c:92: `GCRYERR_BAD_MPI' undeclared (first use in this function)
maperror.c:96: `GCRYERR_INV_ARG' undeclared (first use in this function)
maperror.c:97: `GCRYERR_INV_OP' undeclared (first use in this function)
maperror.c:98: `GCRYERR_INTERNAL' undeclared (first use in this 
function)
<--cut-->
and so on ...

I'm not a programmer - so a look to maperror.c don't realy helped :-/

Can anybody give me a hint what to do ? 

Thanks for any help.

--
Best regards

Falk Hoeppner





More information about the Gpa-dev mailing list