zhqiyi / webrtc2sip

Automatically exported from code.google.com/p/webrtc2sip
0 stars 0 forks source link

webrtc2sip build error - ‘strnicmp’ was not declared in this scope #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Used OS - CentOS 6.6 64-bit

Followed steps given in http://webrtc2sip.org/technical-guide-1.0.pdf for 
webrtc2sip build (5 Building source code). Excluded video codec and FFmpeg, 
because I do not require video calls, only audio calls are required.

Everything goes fine till make command for webrtc2sip. Getting below error 
during build:

[root@localhost webrtc2sip]# make
make  all-am
make[1]: Entering directory `/usr/src/werbrtc2sip_setup/webrtc2sip'
g++ -DHAVE_CONFIG_H -I.  -I/usr/local/include/tinysak 
-I/usr/local/include/tinynet -I/usr/local/include/tinyhttp 
-I/usr/local/include/tinysip -I/usr/local/include/tinydav 
-I/usr/local/include/tinysdp -I/usr/local/include/tinybfcp 
-I/usr/local/include/tinysigcomp -I/usr/local/include/tinymedia 
-I/usr/local/include/tinyxcap -I/usr/local/include/tinysms 
-I/usr/local/include/tinymsrp -I/usr/local/include/tinyrtp 
-I/usr/local/include/tinyipsec -I/usr/include/libxml2 -I/usr/include -Itinywrap 
  -g -O2 -MT webrtc2sip-mp_mediaproxy.o -MD -MP -MF 
.deps/webrtc2sip-mp_mediaproxy.Tpo -c -o webrtc2sip-mp_mediaproxy.o `test -f 
'mp_mediaproxy.cc' || echo './'`mp_mediaproxy.cc
mp_mediaproxy.cc: In function ‘int main(int, char**)’:
mp_mediaproxy.cc:475: error: ‘strnicmp’ was not declared in this scope
make[1]: *** [webrtc2sip-mp_mediaproxy.o] Error 1
make[1]: Leaving directory `/usr/src/werbrtc2sip_setup/webrtc2sip'
make: *** [all] Error 2

Thanks and Regards
Vinod Pandey

Original issue reported on code.google.com by pandey.g...@gmail.com on 12 Dec 2014 at 5:27

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/webrtc2sip/source/detail?r=138

Original comment by boss...@yahoo.fr on 12 Dec 2014 at 5:34