<div dir="ltr">Upgrade please. 1.2 is oldstable, 1.4 is the new stable</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 August 2014 06:57, Mujahid Ali <span dir="ltr">&lt;<a href="mailto:mujahid@ictinnovations.com" target="_blank">mujahid@ictinnovations.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>how i can solve it ?</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>