Install the OpenSSL development RPM's.
SSL_CTX_set_options() is defined in openssl/ssl.h
________________________________
From: users-bounces(a)openser.org [mailto:users-bounces@openser.org]
On Behalf Of Ferianto siregar
Sent: Monday, 3 July 2006 12:42 p.m.
To: users(a)openser.org
Subject: [Users] Error in Compiling TLS..please help...
Dear all,
When i try to compile again TLS by using Command ,TLS=1 make
install, I got an error message.
It is the error message:
make: *** [tls/tls_init.o] Error 1
What should i do else? I am confused because this is the first I
compile it. I do hope anybody can give me any sugestion. Please help me..
Note: Below is the message shown when i compile TLS support
gcc -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double - falign-loops -mcpu=athlon
-DNAME='"openser"' -DVERSION='"1.0.1-tls"'
-DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"gcc 3.2.2"' -D__CPU_i386 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM
-DSHM_MMAP
-DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DHAVE_RESOLV_RES -DF_MALLOC -DOPENSSL_NO_KRB5 -DUSE_TLS -DFAST_LOCK
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/ssl/include -c
tls/tls_init.c -o tls/tls_init.o
tls/tls_init.c:373:25: directives may not be used inside a macro
argument
tls/tls_init.c:372:56: unterminated argument list invoking macro
"SSL_CTX_set_options"
tls/tls_init.c: In function `init_ssl_ctx_behavior':
tls/tls_init.c:376: `SSL_CTX_set_options' undeclared (first use in
this function)
tls/tls_init.c:376: (Each undeclared identifier is reported only
once
tls/tls_init.c:376: for each function it appears in.)
tls/tls_init.c:376: parse error before ')' token
make: *** [tls/tls_init.o] Error 1
NB: For O/S i use Redhat 9 and for openser packet i use
openser-1.0.1-tls.tar.gz
Thank you very much
Regards,
Ferianto
________________________________
Want to be your own boss? Learn how on Yahoo! Small Business.
<http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index>