[Freeswitch-users] install error

Макаревич М.А. 11666by at gmail.com
Tue Sep 19 10:00:24 UTC 2017


I am installing freeswitch 1.6.19 with RPI-3,but getting some errors.

  Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux


pi at raspberrypi:~/freeswitch-1.6.19 $ make -j3
touch /home/pi/freeswitch-1.6.19/src/include/switch.h
   CC     libfreeswitch_spandsp_la-plc.lo
make[1]: Entering directory '/home/pi/freeswitch-1.6.19/libs/srtp'
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./crypto/include   -I./src -Icrypto/include -I./include -I./crypto/include   -I./src -Icrypto/include -I./include -I./crypto/include -g -O2  -Wall -std=c99 -pedantic  -MT srtp.lo -MD -MP -MF .deps/srtp.Tpo -c -o srtp.lo `test -f 'srtp/srtp.c' || echo './'`srtp/srtp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./crypto/include -I./src -Icrypto/include -I./include -I./crypto/include -I./src -Icrypto/include -I./include -I./crypto/include -g -O2 -Wall -std=c99 -pedantic -MT srtp.lo -MD -MP -MF .deps/srtp.Tpo -c srtp/srtp.c  -fPIC -DPIC -o srtp.o
In file included from ./crypto/include/prng.h:17:0,
                  from ./crypto/include/crypto_kernel.h:50,
                  from ./include/srtp.h:53,
                  from srtp/srtp.c:46:
./crypto/include/aes_icm_ossl.h:66:20: error: field ‘ctx’ has incomplete type
      EVP_CIPHER_CTX ctx;
                     ^~~
In file included from srtp/srtp.c:50:0:
./crypto/include/aes_gcm_ossl.h:58:18: error: field ‘ctx’ has incomplete type
    EVP_CIPHER_CTX ctx;
                   ^~~
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
Makefile:513: recipe for target 'srtp.lo' failed
make[1]: *** [srtp.lo] Error 1
make[1]: Leaving directory '/home/pi/freeswitch-1.6.19/libs/srtp'
Makefile:3719: recipe for target 'libs/srtp/libsrtp.la' failed
make: *** [libs/srtp/libsrtp.la] Error 2

Please suggest me.




More information about the FreeSWITCH-users mailing list