On Saturday January 7th 2006 sun yingming wrote: > Hi: > > I'm compiling a program these days , but get stuck on the following > error, can anyone help me out? It will be great thankful. > > [EMAIL PROTECTED] connection]# make > gcc -g -I/usr/include -Wall -c -o wclient.o wclient.c > In file included from /usr/include/openssl/ssl.h:179, > from common.h:17, > from wclient.c:6: > /usr/include/openssl/kssl.h:72:18: krb5.h: ?????????????????? > In file included from /usr/include/openssl/ssl.h:179, > from common.h:17, > from wclient.c:6: > /usr/include/openssl/kssl.h:132: parse error before "krb5_enctype" > > ... > > and my OS is RH 9, openssl version is 0.9.7a.
RedHat 9 has kerberos enabled, but has the include files and libraries of kerberos in non-standard locations. Try adding them manually: Inside your Makefile: INCLUDEPATHS+=-I/usr/kerberos/include LDFLAGS+=-L/usr/kerberos/lib LDLIBS+=-lkrb5 Or manually: gcc -g -Wall -I/usr/kerberos/include -c -o wclient.o wclient.c -L/usr/kerberos/lib -lkrb5 You'll probably also need "-lssl -lcrypto" to use OpenSSL! -- Marco Roeland ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]