gnutls 2.3.2 build fail because of opencdk
Roman Bogorodskiy
novel at FreeBSD.org
Mon Mar 10 10:29:34 CET 2008
When I try to build gnutls 2.3.2 without opencdk, it fails to build, the
log attached. It seems it fails because there's no
"-I$(top_srcdir)/lib/opencdk" flag in libextra/Makefile.am in
AM_CPPFLAGS variable. However, this problem won't show up on a system
with opencdk installed since it will pick opencdk.h from
/usr/local/include (or whatever standard include path on a system).
Adding -I$(top_srcdir)/lib/opencdk to AM_CPPFLAGS in
libextra/Makefile.am solves the problem for me.
Roman Bogorodskiy
-------------- next part --------------
gmake[3]: Entering directory `/usr/home/novel/ports_stuff/gnutls-devel/work/gnutls-2.3.2/libextra'
/bin/sh /usr/home/novel/ports_stuff/gnutls-devel/work/gnome-libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lgl -I../lgl -I../lib -I../includes -I../includes -I../lib/minitasn1 -I/usr/local/include -I/usr/local/include -I/usr/local/include -pipe -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=k8 -Wno-pointer-sign -MT gnutls_extra.lo -MD -MP -MF .deps/gnutls_extra.Tpo -c -o gnutls_extra.lo gnutls_extra.c
cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lgl -I../lgl -I../lib -I../includes -I../includes -I../lib/minitasn1 -I/usr/local/include -I/usr/local/include -I/usr/local/include -pipe -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=k8 -Wno-pointer-sign -MT gnutls_extra.lo -MD -MP -MF .deps/gnutls_extra.Tpo -c gnutls_extra.c -fPIC -DPIC -o .libs/gnutls_extra.o
In file included from ../lib/auth_cert.h:31,
from ./gnutls_extra.h:25,
from gnutls_extra.c:25:
../lib/openpgp/openpgp_int.h:10:21: error: opencdk.h: No such file or directory
In file included from ../lib/auth_cert.h:31,
from ./gnutls_extra.h:25,
from gnutls_extra.c:25:
../lib/openpgp/openpgp_int.h:20: error: expected specifier-qualifier-list before 'cdk_kbnode_t'
../lib/openpgp/openpgp_int.h:28: error: expected specifier-qualifier-list before 'cdk_kbnode_t'
../lib/openpgp/openpgp_int.h:36: error: expected specifier-qualifier-list before 'cdk_keydb_hd_t'
../lib/openpgp/openpgp_int.h:41: error: expected ')' before 'node'
../lib/openpgp/openpgp_int.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_gnutls_get_valid_subkey'
../lib/openpgp/openpgp_int.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_gnutls_openpgp_find_key'
../lib/openpgp/openpgp_int.h:64: error: expected ')' before 'pkt'
../lib/openpgp/openpgp_int.h:66: error: expected ')' before 'knode'
gmake[3]: *** [gnutls_extra.lo] Error 1
gmake[3]: Leaving directory `/usr/home/novel/ports_stuff/gnutls-devel/work/gnutls-2.3.2/libextra'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/novel/ports_stuff/gnutls-devel/work/gnutls-2.3.2/libextra'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/novel/ports_stuff/gnutls-devel/work/gnutls-2.3.2'
gmake: *** [all] Error 2
*** Error code 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: </pipermail/attachments/20080310/ab768051/attachment.pgp>
More information about the Gnutls-devel
mailing list