I am trying to compile opensips on Solaris 10 with TLS and SCTP and I am getting this error:
Compiling main.c gcc -g -O9 -funroll-loops -Wall -DNAME='"opensips"' -DVERSION='"1.5.1-tls"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.4.6"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -mcpu=ultrasparc -DUSE_TLS -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/ssl/include -I/include -I/usr/include/openssl -I/usr/sfw/include/openssl -c main.c -o main.o In file included from main.c:136: tls/tls_init.h:28:25: openssl/ssl.h: No such file or directory In file included from tls/tls_init.h:30, from main.c:136: tls/tls_domain.h:51: error: syntax error before "SSL_CTX" tls/tls_domain.h:51: warning: no semicolon at end of struct or union tls/tls_domain.h:61: error: syntax error before '}' token make: *** [main.o] Error 1 OpenSSL is installed with the OS. The ssl.h is located in /usr/sfw/include/openssl. What do I need to change so this file can be located? I have tried to change the Makefile.def to include this directory but it is not picking it up when compiling the main program. Thanks _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users