<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'</div><div>make[5]: Entering directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod/endpoints/mod_gsmopen'</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="" -DMODGSMOPEN_C_VER="" -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: 'ctb' has not been declared</div><div>gsmopen.h:477: error: ISO C++ forbids declaration of 'SerialPort' with no type</div>
<div>gsmopen.h:477: error: expected ';' before '*' token</div><div>gsmopen.h:479: error: 'ctb' has not been declared</div><div>gsmopen.h:479: error: ISO C++ forbids declaration of 'SerialPort' with no type</div>
<div>gsmopen.h:479: error: expected ';' before '*' token</div><div>gsmopen_protocol.cpp: In function 'int gsmopen_serial_init(private_t*, int)':</div><div>gsmopen_protocol.cpp:117: error: 'struct private_object' has no member named 'serialPort_serial_control'</div>
<div>gsmopen_protocol.cpp:117: error: expected type-specifier before 'ctb'</div><div>gsmopen_protocol.cpp:117: error: expected ';' before 'ctb'</div><div>gsmopen_protocol.cpp:119: error: 'struct private_object' has no member named 'serialPort_serial_control'</div>
<div>gsmopen_protocol.cpp:119: error: 'ctb' has not been declared</div><div>gsmopen_protocol.cpp: In function 'int gsmopen_serial_config_AT(private_t*)':</div><div>gsmopen_protocol.cpp:192: error: 'struct private_object' has no member named 'serialPort_serial_control'</div>
<div>gsmopen_protocol.cpp: In function 'int gsmopen_serial_read_AT(private_t*, int, int, int, const char*, int)':</div><div>gsmopen_protocol.cpp:638: error: 'struct private_object' has no member named 'serialPort_serial_control'</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 'int gsmopen_serial_write_AT(private_t*, const char*)':</div><div>gsmopen_protocol.cpp:1872: error: 'struct private_object' has no member named 'serialPort_serial_control'</div>
<div>gsmopen_protocol.cpp:1879: error: 'struct private_object' has no member named 'serialPort_serial_control'</div><div>gsmopen_protocol.cpp:1923: error: 'struct private_object' has no member named 'serialPort_serial_control'</div>
<div>gsmopen_protocol.cpp:1930: error: 'struct private_object' has no member named 'serialPort_serial_control'</div><div>gsmopen_protocol.cpp: In function 'int gsmopen_serial_write_AT_nocr(private_t*, const char*)':</div>
<div>gsmopen_protocol.cpp:1984: error: 'struct private_object' has no member named 'serialPort_serial_control'</div><div>gsmopen_protocol.cpp:1991: error: 'struct private_object' has no member named 'serialPort_serial_control'</div>
<div>gsmopen_protocol.cpp: In function 'int gsmopen_serial_write_AT_noack(private_t*, const char*)':</div><div>gsmopen_protocol.cpp:2042: warning: comparison between signed and unsigned integer expressions</div><div>
gsmopen_protocol.cpp: In function 'int gsmopen_serial_write_AT_ack(private_t*, const char*)':</div><div>gsmopen_protocol.cpp:2082: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function 'int gsmopen_serial_write_AT_ack_nocr_longtime(private_t*, const char*)':</div>
<div>gsmopen_protocol.cpp:2124: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function 'int gsmopen_serial_write_AT_expect1(private_t*, const char*, const char*, int, int)':</div>
<div>gsmopen_protocol.cpp:2166: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function 'int ucs2_to_utf8(private_t*, char*, char*, size_t)':</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 'int utf8_to_iso_8859_1(private_t*, char*, size_t, char*, size_t)':</div>
<div>gsmopen_protocol.cpp:2439: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function 'int iso_8859_1_to_utf8(private_t*, char*, char*, size_t)':</div><div>
gsmopen_protocol.cpp:2494: warning: comparison between signed and unsigned integer expressions</div><div>gsmopen_protocol.cpp: In function 'int utf8_to_ucs2(private_t*, char*, size_t, char*, size_t)':</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 'int gsmopen_serial_init_audio_port(private_t*, int)':</div><div>gsmopen_protocol.cpp:3156: error: 'struct private_object' has no member named 'serialPort_serial_audio'</div>
<div>gsmopen_protocol.cpp:3156: error: expected type-specifier before 'ctb'</div><div>gsmopen_protocol.cpp:3156: error: expected ';' before 'ctb'</div><div>gsmopen_protocol.cpp:3159: error: 'struct private_object' has no member named 'serialPort_serial_audio'</div>
<div>gsmopen_protocol.cpp:3159: error: 'ctb' has not been declared</div><div>gsmopen_protocol.cpp: In function 'int serial_audio_shutdown(private_t*)':</div><div>gsmopen_protocol.cpp:3191: error: 'struct private_object' has no member named 'serialPort_serial_audio'</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'</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'</div>
<div>make[3]: *** [mod_gsmopen-all] Error 1</div><div>make[3]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod'</div><div>make[3]: Entering directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src'</div>
<div>make[3]: Nothing to be done for `all-am'.</div><div>make[3]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src'</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23'</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>