<div dir="ltr"><div>making all mod_gsmopen</div><div>make[4]: Entering directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod/endpoints/mod_gsmopen&#39;</div><div>make[5]: Entering directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod/endpoints/mod_gsmopen&#39;</div>
<div>Compiling gsmopen_protocol.cpp...</div><div>fatal: Not a git repository (or any of the parent directories): .git</div><div>fatal: Not a git repository (or any of the parent directories): .git</div><div>g++ -I../../../../libs/spandsp/src -I../../../..//libs/tiff-4.0.2/libtiff -DGSMOPEN_C_VER=&quot;&quot; -DMODGSMOPEN_C_VER=&quot;&quot; -I/root/rpmbuild/BUILD/freeswitch-1.2.23/src/include -I/root/rpmbuild/BUILD/freeswitch-1.2.23/src/include -I/root/rpmbuild/BUILD/freeswitch-1.2.23/libs/libteletone/src -I/root/rpmbuild/BUILD/freeswitch-1.2.23/libs/stfu -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -DHAVE_CONFIG_H -c -o gsmopen_protocol.o gsmopen_protocol.cpp</div>
<div>fatal: Not a git repository (or any of the parent directories): .git</div><div>fatal: Not a git repository (or any of the parent directories): .git</div><div>In file included from gsmopen_protocol.cpp:37:</div><div>gsmopen.h:119:26: error: ctb-0.16/ctb.h: No such file or directory</div>
<div>In file included from gsmopen_protocol.cpp:37:</div><div>gsmopen.h:477: error: &#39;ctb&#39; has not been declared</div><div>gsmopen.h:477: error: ISO C++ forbids declaration of &#39;SerialPort&#39; with no type</div>
<div>gsmopen.h:477: error: expected &#39;;&#39; before &#39;*&#39; token</div><div>gsmopen.h:479: error: &#39;ctb&#39; has not been declared</div><div>gsmopen.h:479: error: ISO C++ forbids declaration of &#39;SerialPort&#39; with no type</div>
<div>gsmopen.h:479: error: expected &#39;;&#39; before &#39;*&#39; token</div><div>gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_init(private_t*, int)&#39;:</div><div>gsmopen_protocol.cpp:117: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div>
<div>gsmopen_protocol.cpp:117: error: expected type-specifier before &#39;ctb&#39;</div><div>gsmopen_protocol.cpp:117: error: expected &#39;;&#39; before &#39;ctb&#39;</div><div>gsmopen_protocol.cpp:119: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div>
<div>gsmopen_protocol.cpp:119: error: &#39;ctb&#39; has not been declared</div><div>gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_config_AT(private_t*)&#39;:</div><div>gsmopen_protocol.cpp:192: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div>
<div>gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_read_AT(private_t*, int, int, int, const char*, int)&#39;:</div><div>gsmopen_protocol.cpp:638: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div>
<div>gsmopen_protocol.cpp:786: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp:821: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp:1628: warning: comparison between signed and unsigned integer expressions</div>
<div>gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_write_AT(private_t*, const char*)&#39;:</div><div>gsmopen_protocol.cpp:1872: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div>
<div>gsmopen_protocol.cpp:1879: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div><div>gsmopen_protocol.cpp:1923: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div>
<div>gsmopen_protocol.cpp:1930: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div><div>gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_write_AT_nocr(private_t*, const char*)&#39;:</div>
<div>gsmopen_protocol.cpp:1984: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div><div>gsmopen_protocol.cpp:1991: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_control&#39;</div>
<div>gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_write_AT_noack(private_t*, const char*)&#39;:</div><div>gsmopen_protocol.cpp:2042: warning: comparison between signed and unsigned integer expressions</div><div>
gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_write_AT_ack(private_t*, const char*)&#39;:</div><div>gsmopen_protocol.cpp:2082: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_write_AT_ack_nocr_longtime(private_t*, const char*)&#39;:</div>
<div>gsmopen_protocol.cpp:2124: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_write_AT_expect1(private_t*, const char*, const char*, int, int)&#39;:</div>
<div>gsmopen_protocol.cpp:2166: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function &#39;int ucs2_to_utf8(private_t*, char*, char*, size_t)&#39;:</div><div>gsmopen_protocol.cpp:2370: warning: comparison between signed and unsigned integer expressions</div>
<div>gsmopen_protocol.cpp:2397: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function &#39;int utf8_to_iso_8859_1(private_t*, char*, size_t, char*, size_t)&#39;:</div>
<div>gsmopen_protocol.cpp:2439: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function &#39;int iso_8859_1_to_utf8(private_t*, char*, char*, size_t)&#39;:</div><div>
gsmopen_protocol.cpp:2494: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function &#39;int utf8_to_ucs2(private_t*, char*, size_t, char*, size_t)&#39;:</div><div>gsmopen_protocol.cpp:2542: warning: comparison between signed and unsigned integer expressions</div>
<div>gsmopen_protocol.cpp:2551: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function &#39;int gsmopen_serial_init_audio_port(private_t*, int)&#39;:</div><div>gsmopen_protocol.cpp:3156: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_audio&#39;</div>
<div>gsmopen_protocol.cpp:3156: error: expected type-specifier before &#39;ctb&#39;</div><div>gsmopen_protocol.cpp:3156: error: expected &#39;;&#39; before &#39;ctb&#39;</div><div>gsmopen_protocol.cpp:3159: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_audio&#39;</div>
<div>gsmopen_protocol.cpp:3159: error: &#39;ctb&#39; has not been declared</div><div>gsmopen_protocol.cpp: In function &#39;int serial_audio_shutdown(private_t*)&#39;:</div><div>gsmopen_protocol.cpp:3191: error: &#39;struct private_object&#39; has no member named &#39;serialPort_serial_audio&#39;</div>
<div>make[5]: *** [gsmopen_protocol.o] Error 1</div><div>make[5]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod/endpoints/mod_gsmopen&#39;</div><div>make[4]: *** [all] Error 1</div><div>make[4]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod/endpoints/mod_gsmopen&#39;</div>
<div>make[3]: *** [mod_gsmopen-all] Error 1</div><div>make[3]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod&#39;</div><div>make[3]: Entering directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src&#39;</div>
<div>make[3]: Nothing to be done for `all-am&#39;.</div><div>make[3]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src&#39;</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src&#39;</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23&#39;</div><div>make: *** [all] Error 2</div><div>error: Bad exit status from /var/tmp/rpm-tmp.H9lKTQ (%build)</div>
<div><br></div><div><br></div><div><br></div><div style>how i can solve it ?</div></div>