srtp installation issue with webrtc asterisk
Answered
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
Best answer
Try
./configure CFLAGS=-fPIC -–prefix=/usr/local/lib
It worked for me
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
Tried to configure only with below command and this worked.
./configure CFLAGS=-fPIC