Error Compiling Asterisk On CentOS 8
I am compiling asterisk11 (eleven) on CentOS 8 (eight)
with
./configure LDFLAGS=”-z muldefs” –libdir=/usr/lib64
–with-unixodbc=$(odbc_config –include-prefix)/ –disable-asteriskssl
-enable-xmldoc NOISY_BUILD=no
Since I did the configure with “–disable-asteriskssl”, why is even trying to compile libasteriskssl?
make[1]: Entering directory ‘/usr/src/asterisk/main’
gcc -o libasteriskssl.o -c libasteriskssl.c -MD -MT libasteriskssl.o -MF
.libasteriskssl.o.d -MP -pthread -I/usr/src/asterisk/include
-I/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g3 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native
-DAST_MODULE=\”core\” -DAST_IN_CORE
libasteriskssl.c:77:26: error: macro “SSL_library_init” passed 1
arguments, but takes just 0
int SSL_library_init(void)
^
libasteriskssl.c:78:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
{
^
libasteriskssl.c:87:33: error: macro “SSL_load_error_strings” passed 1
arguments, but takes just 0
void SSL_load_error_strings(void)
^
libasteriskssl.c:88:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
{
^
libasteriskssl.c:97:1: error: expected identifier or ‘(’ before ‘{’
token
{
^
libasteriskssl.c:106:1: error: expected identifier or ‘(’ before ‘{’
token
{
^
—