Guest User

Untitled

a guest
Jan 19th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. checking for the ability of -lsrtp to be linked in a shared object... no
  2. configure: WARNING: ***
  3. configure: WARNING: *** libsrtp could not be linked as a shared object.
  4. configure: WARNING: *** Try compiling libsrtp manually. Configure libsrtp
  5. configure: WARNING: *** with ./configure CFLAGS=-fPIC --prefix=/usr
  6. configure: WARNING: *** replacing /usr with the prefix of your choice.
  7. configure: WARNING: *** After re-installing libsrtp
  8. configure: WARNING: *** configure script.
  9. configure: WARNING: ***
  10. configure: WARNING: *** If you do not need SRTP support re-run configure
  11. configure: WARNING: *** with the --without-srtp option.
  12.  
  13. if test "$PBX_SRTP" = "1";
  14.  
  15. then
  16.  
  17. saved_libs="${LIBS}"
  18. saved_ldflags="${LDFLAGS}"
  19. LIBS="${LIBS} -lsrtp"
  20. LDFLAGS="${LDFLAGS} -shared -fPIC"
  21. AC_MSG_CHECKING(for the ability of -lsrtp to be linked in a shared object)
  22. AC_LINK_IFELSE(
  23. [
  24. AC_LANG_PROGRAM(
  25. [#include <srtp/srtp.h>],
  26. [srtp_init();]
  27. )
  28. ],
  29.  
  30. [ AC_MSG_RESULT(yes) ],
  31. [
  32. AC_MSG_RESULT(no)
  33. AC_MSG_NOTICE(***)
  34. AC_MSG_NOTICE(*** libsrtp could not be linked as a shared object)
  35. AC_MSG_NOTICE(*** try compiling libsrtp manually and configuring with)
  36. AC_MSG_NOTICE(*** ./configure CFLAGS=-fPIC --prefix=/usr)
  37. AC_MSG_NOTICE(*** replacing /usr with the prefix of your choice)
  38. exit 1
  39. ]
  40. )
  41. LIBS="${saved_libs}"
  42. LDFLAGS="${saved_ldflags}"
  43. fi
  44.  
  45. ./configure CFLAGS=-fPIC
  46.  
  47. ./configure --with-srtp=/usr/local/lib
  48. checking for srtp_init in -lsrtp... yes
  49. checking srtp/srtp.h usability... yes
  50. checking srtp/srtp.h presence... yes
  51. checking for srtp/srtp.h... yes
  52. checking for the ability of -lsrtp to be linked in a shared object... yes
Add Comment
Please, Sign In to add comment