Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opensips-1.11.9 fails to build with OpenSSL-1.1.0 #996

Closed
ppisar opened this issue Nov 28, 2016 · 5 comments
Closed

opensips-1.11.9 fails to build with OpenSSL-1.1.0 #996

ppisar opened this issue Nov 28, 2016 · 5 comments

Comments

@ppisar
Copy link
Contributor

ppisar commented Nov 28, 2016

Building opensips with OpenSSL 1.1.0c results in this error:

gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fgnu89-inline -Wcast-align  -I/usr/include/json-c -DPKG_MALLOC  -DSHM_MEM  -DSHM_MMAP  -DUSE_IPV6  -DUSE_MCAST  -DDISABLE_NAGLE  -DSTATISTICS  -DCHANGEABLE_DEBUG_LEVEL  -DHAVE_RESOLV_RES  -DF_MALLOC  -DUSE_TCP   -DNAME='"opensips"' -DVERSION='"1.11.8-tls"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 6.2.1"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"'  -DUSE_FREERADIUS -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 -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/ssl/include -I/usr/include -I/usr/include/openssl -c tls/tls_server.c -o tls/tls_server.o
[...]
tls/tls_server.c: In function 'tls_accept':
tls/tls_server.c:232:10: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}'
  if ( ssl->kssl_ctx==NULL )
          ^~

Openssl 1.1.0 made the SSL structure opaque and removed kssl.h header file.

razvancrainea added a commit that referenced this issue Nov 29, 2016
Reported by Petr Pisar in issue #996
@razvancrainea
Copy link
Member

@ppisar I've just added support for the master branch. Could you take that code and give it a try?

@ppisar
Copy link
Contributor Author

ppisar commented Nov 30, 2016 via email

lemenkov pushed a commit to lemenkov/opensips that referenced this issue Nov 30, 2016
Reported by Petr Pisar in issue OpenSIPS#996
razvancrainea added a commit that referenced this issue Nov 30, 2016
Reported by Petr Pisar in issue #996
@razvancrainea
Copy link
Member

Thanks for reporting it. Please try the latest version now.

razvancrainea added a commit that referenced this issue Nov 30, 2016
Reported by Petr Pisar in issue #996
@ppisar
Copy link
Contributor Author

ppisar commented Dec 1, 2016 via email

@razvancrainea
Copy link
Member

This was fixed in the newer versions; will not downgrade it. Closing this ticket.

lemenkov pushed a commit to lemenkov/opensips that referenced this issue Jan 12, 2017
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Jan 12, 2017
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Nov 21, 2017
Reported by Petr Pisar in issue OpenSIPS#996
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Nov 21, 2017
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Nov 21, 2017
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Nov 21, 2017
Reported by Petr Pisar in issue OpenSIPS#996
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Nov 21, 2017
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Nov 21, 2017
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Feb 22, 2018
Reported by Petr Pisar in issue OpenSIPS#996
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Feb 22, 2018
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Feb 22, 2018
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Jun 27, 2018
Reported by Petr Pisar in issue OpenSIPS#996
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Jun 27, 2018
lemenkov pushed a commit to lemenkov/opensips that referenced this issue Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants