[gnutls-dev] building GnuTLS 1.0.4 on Solaris

Dimitri Papadopoulos-Orfanos papadopo at shfj.cea.fr
Mon Jan 5 10:53:15 CET 2004


Hi,

GnuTLS doesn't build out of the box using my configuration because the 
Makefile lacks the inclusion path for OpenCDK:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../libtasn1/lib -I../includes 
    -O -D_REENTRANT -I/usr/local/libgcrypt-1.1.91/include 
-I/usr/local/libgpg-error-0.6/include -c `test -f 'serv.c' || echo 
'./'`serv.c
"serv.c", line 41: cannot find include file: <opencdk.h>
"serv.c", line 211: warning: assignment type mismatch:
	pointer to unsigned char "=" pointer to char
"serv.c", line 344: warning: argument #3 is incompatible with prototype:
	prototype: pointer to unsigned int : "../includes/gnutls/gnutls.h", 
line 289
	argument : pointer to int
"serv.c", line 954: warning: statement not reached
"serv.c", line 1155: undefined symbol: cdk_kbnode_t
"serv.c", line 1155: syntax error before or at: knode
"serv.c", line 1170: warning: implicit function declaration: 
cdk_keyserver_recv_key
"serv.c", line 1171: undefined symbol: CDK_DBSEARCH_FPR
"serv.c", line 1171: undefined symbol: knode
"serv.c", line 1176: warning: implicit function declaration: 
cdk_kbnode_write_to_mem
"serv.c", line 1195: warning: implicit function declaration: 
cdk_kbnode_release
cc: acomp failed for serv.c
gmake[3]: *** [serv.o] Error 2
gmake[3]: Leaving directory `/tmp/gnutls-1.0.4/src'


I'm not sure how to fix that properly.

Happy new year,
--
Dimitri





More information about the Gnutls-devel mailing list