Set of errors during kamailio build on alpine.

CC (gcc) [M tls.so]		tls_verify.o

CC (gcc) [M tls.so]		tls_ct_wrq.o

CC (gcc) [M tls.so]		tls_rpc.o

CC (gcc) [M tls.so]		tls_bio.o

tls_bio.c:88:14: error: static declaration of 'BIO_get_data' follows non-static declaration

 static void *BIO_get_data(BIO *b)

              ^~~~~~~~~~~~

In file included from tls_bio.h:27:0,

                 from tls_bio.c:25:

/usr/include/openssl/bio.h:608:8: note: previous declaration of 'BIO_get_data' was here

 void  *BIO_get_data(BIO *a);

        ^~~~~~~~~~~~

tls_bio.c:92:13: error: static declaration of 'BIO_set_data' follows non-static declaration

 static void BIO_set_data(BIO *b, void *ptr)

             ^~~~~~~~~~~~

In file included from tls_bio.h:27:0,

                 from tls_bio.c:25:

/usr/include/openssl/bio.h:609:7: note: previous declaration of 'BIO_set_data' was here

 void  BIO_set_data(BIO *a, void *ptr);

       ^~~~~~~~~~~~

tls_bio.c:96:13: error: static declaration of 'BIO_set_init' follows non-static declaration

 static void BIO_set_init(BIO *b, int init)

             ^~~~~~~~~~~~

In file included from tls_bio.h:27:0,

                 from tls_bio.c:25:

/usr/include/openssl/bio.h:610:7: note: previous declaration of 'BIO_set_init' was here

 void  BIO_set_init(BIO *a, int init);

       ^~~~~~~~~~~~

make[2]: *** [../../Makefile.rules:100: tls_bio.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[1]: *** [Makefile:511: modules] Error 1

make: *** [Makefile:27: all] Error 2

make[1]: Leaving directory '/usr/src/kamailio/pkg/kamailio/alpine/src/kamailio-25c4b9eb56e0c75daaa98256c590947daa2b9906/src'

>>> ERROR: kamailio: all failed

>>> kamailio: Uninstalling dependencies...

(1/1) Purging .makedepends-kamailio (0)

OK: 448 MiB in 141 packages

pre_build hook failed! (1)

First failed build on commit 25c4b9e
Look as this commit not related to tls and think issue may be on alpine dist change.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.