[Users] I still get error in [tls/tls_init.o). Please help me... Please...

Ferianto siregar ferianto_voip at yahoo.com
Mon Jul 10 16:32:49 CEST 2006


Dear all,
   
  I have tried to do all of your suggestion to solve my problem in compiling TLS support in my openser system. Some of tasks that I have done are:
  1. I have installed openssl package in my system. The package that I have installed is openssl-0.9.7a.tar.gz. The installing process success without any error.
  2. I have installed openser-1.0.1-tls.src.tar.gz package in my system and I got no error. But when I run “TLS=1 make all” command, I still got the same error message, [tls/tls_init.o] Error. 
  I am confused. Would you mind giving any suggestion for me? Please help me
please
so I can finish my paper and graduate this year..Please

   
  Thank you very much for your help
  Thanks with all regards,
   
   
   
  Ferianto
   
  Note: The version of my operationg system is
  # uname -a
  Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
    The version of my openssl package (the rpm packet) is 

  # rpm -qa|grep -i ssl
  openssl-devel-0.9.7a-2
  openssl-0.9.7a-2
  pyOpenSSL-0.5.1-8
  mod_ssl-2.0.40-21
  docbook-style-dsssl-1.76-8
     
  This is the error message that I got :
   
  [root at localhost root]# cd openser-1.0.1-tls
  [root at localhost openser-1.0.1-tls]# make TLS=1
  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: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"
  Compiling main.c
  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  -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 main.c -o main.o
  Compiling cfg.tab.c
  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  -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 cfg.tab.c -o cfg.tab.o
  Compiling tls/tls_domain.c
  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  -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_domain.c -o tls/tls_domain.o
  Compiling tls/tls_init.c
  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  -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


 			
---------------------------------
Sneak preview the  all-new Yahoo.com. It's not radically different. Just radically better. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20060710/f669341f/attachment.htm 


More information about the Users mailing list