[gnutls-dev]Compiling error

Khairul Azmi Abu Bakar mie@mimos.my
Tue Jun 25 11:48:01 2002


Hi,
Now sure if this is the right place to get some help. Tried to compile the
latest gnutls-0.4.3 but end up to get this error messages
I tried to find if KEYDB_HD is defined anywhere by doing grep KEYDB_HD
but could not get any. Thanks in advance.


gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -g -O2 -O2 -finline-functions
-fexpensive-optimizations -fomit-frame-pointer -pipe -c gnutls_openpgp.c
-MT gnutls_openpgp.lo -MD -MP -MF .deps/gnutls_openpgp.TPlo  -fPIC -DPIC
-o .libs/gnutls_openpgp.lo
gnutls_openpgp.c:122: parse error before `kbx_to_keydb'
gnutls_openpgp.c: In function `kbx_to_keydb':
gnutls_openpgp.c:124: `KEYDB_HD' undeclared (first use in this function)
gnutls_openpgp.c:124: (Each undeclared identifier is reported only once
gnutls_openpgp.c:124: for each function it appears in.)
gnutls_openpgp.c:124: parse error before `khd'
gnutls_openpgp.c:127: warning: return makes integer from pointer without a
cast
gnutls_openpgp.c:129: `khd' undeclared (first use in this function)
gnutls_openpgp.c:131: warning: return makes integer from pointer without a
cast
gnutls_openpgp.c: In function `kbnode_to_datum':
gnutls_openpgp.c:223: `PACKET' undeclared (first use in this function)
gnutls_openpgp.c:223: parse error before `pkt'
gnutls_openpgp.c: At top level:
gnutls_openpgp.c:226: parse error before `if'
gnutls_openpgp.c:230: invalid type argument of `->'
gnutls_openpgp.c:230: parse error before `)'
gnutls_openpgp.c:235: redefinition of `rc'
gnutls_openpgp.c:224: `rc' previously defined here
gnutls_openpgp.c:235: `a' undeclared here (not in a function)
gnutls_openpgp.c:235: `pkt' undeclared here (not in a function)