[gnutls-dev] OpenCDK-related build failures

Simon Josefsson simon at josefsson.org
Tue Apr 24 11:42:42 CEST 2007


Building gnutls fails:

make: *** No rule to make target `literal.lo', needed by `libminiopencdk.la'.  Stop.
jas at mocca:~/src/gnutls/libextra/opencdk$

Removing literal.c from the Makefile.am (there is no literal.c in the
GnuTLS CVS) causes other failures:

../libextra/.libs/libgnutls-extra.so: undefined reference to `_cdk_filter_literal'
../libextra/.libs/libgnutls-extra.so: undefined reference to `_cdk_filter_text'

Adding plaintext.c, which seems to implement those functions, doesn't
work:

plaintext.c: In function 'literal_decode':
plaintext.c:37: error: 'CDK_PACKET' undeclared (first use in this function)
plaintext.c:37: error: (Each undeclared identifier is reported only once
plaintext.c:37: error: for each function it appears in.)
plaintext.c:37: error: expected ';' before 'pkt'
plaintext.c:48: error: too few arguments to function '_cdk_stream_fpopen'
plaintext.c:51: error: too few arguments to function '_cdk_stream_fpopen'
plaintext.c:56: warning: implicit declaration of function 'cdk_pkt_init'
plaintext.c:56: error: 'pkt' undeclared (first use in this function)
plaintext.c:78: warning: comparison between signed and unsigned
plaintext.c:83: warning: implicit declaration of function 'cdk_md_write'
plaintext.c:88: warning: comparison between signed and unsigned
plaintext.c: In function 'literal_encode':
plaintext.c:107: error: 'CDK_PACKET' undeclared (first use in this function)
plaintext.c:107: error: expected ';' before 'pkt'
plaintext.c:122: error: too few arguments to function '_cdk_stream_fpopen'
plaintext.c:137: error: 'pkt' undeclared (first use in this function)
make: *** [plaintext.lo] Error 1
jas at mocca:~/src/gnutls/libextra/opencdk$

Timo, could you take a look why GnuTLS doesn't build?

Thanks,
Simon



More information about the Gnutls-dev mailing list