srtp installation issue with webrtc asterisk

While configuring srtp from below command

./configure CFLAGS=-fPIC –prefix=/usr/local/lib

We are getting error

configure: error: unrecognized option: -–prefix=/usr/local/lib

Add Comment
3 Answer(s)
    Best answer

    Try

    ./configure CFLAGS=-fPIC -–prefix=/usr/local/lib

     

    It worked for me

     

    Answered on May 7, 2018.
    Add Comment

      If you get any issue while configuring srtp, You can follow the below step to configure and install srtp.

      # make uninstall

      # ./configure CFLAGS=-fPIC –prefix=/usr/local/lib

      # autoconf

      # make

      # make runtest

      # make install

      # cp /usr/local/lib/libsrtp.a /lib

       

      Answered on May 7, 2018.
      Add Comment

        Tried to configure only with below command and this worked.

        ./configure CFLAGS=-fPIC

         

         

        Answered on May 4, 2018.
        Add Comment

        Your Answer

        By posting your answer, you agree to the privacy policy and terms of service.