[Freeswitch-users] Freeswitch rpm building make and make install

Steven Ayre steveayre at gmail.com
Fri Aug 15 11:40:36 MSD 2014


Upgrade please. 1.2 is oldstable, 1.4 is the new stable


On 15 August 2014 06:57, Mujahid Ali <mujahid at ictinnovations.com> wrote:

> making all mod_gsmopen
> make[4]: Entering directory
> `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod/endpoints/mod_gsmopen'
> make[5]: Entering directory
> `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod/endpoints/mod_gsmopen'
> Compiling gsmopen_protocol.cpp...
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> 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
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> In file included from gsmopen_protocol.cpp:37:
> gsmopen.h:119:26: error: ctb-0.16/ctb.h: No such file or directory
> In file included from gsmopen_protocol.cpp:37:
> gsmopen.h:477: error: 'ctb' has not been declared
> gsmopen.h:477: error: ISO C++ forbids declaration of 'SerialPort' with no
> type
> gsmopen.h:477: error: expected ';' before '*' token
> gsmopen.h:479: error: 'ctb' has not been declared
> gsmopen.h:479: error: ISO C++ forbids declaration of 'SerialPort' with no
> type
> gsmopen.h:479: error: expected ';' before '*' token
> gsmopen_protocol.cpp: In function 'int gsmopen_serial_init(private_t*,
> int)':
> gsmopen_protocol.cpp:117: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp:117: error: expected type-specifier before 'ctb'
> gsmopen_protocol.cpp:117: error: expected ';' before 'ctb'
> gsmopen_protocol.cpp:119: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp:119: error: 'ctb' has not been declared
> gsmopen_protocol.cpp: In function 'int
> gsmopen_serial_config_AT(private_t*)':
> gsmopen_protocol.cpp:192: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp: In function 'int gsmopen_serial_read_AT(private_t*,
> int, int, int, const char*, int)':
> gsmopen_protocol.cpp:638: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp:786: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp:821: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp:1628: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp: In function 'int gsmopen_serial_write_AT(private_t*,
> const char*)':
> gsmopen_protocol.cpp:1872: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp:1879: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp:1923: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp:1930: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp: In function 'int
> gsmopen_serial_write_AT_nocr(private_t*, const char*)':
> gsmopen_protocol.cpp:1984: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp:1991: error: 'struct private_object' has no member
> named 'serialPort_serial_control'
> gsmopen_protocol.cpp: In function 'int
> gsmopen_serial_write_AT_noack(private_t*, const char*)':
> gsmopen_protocol.cpp:2042: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp: In function 'int
> gsmopen_serial_write_AT_ack(private_t*, const char*)':
> gsmopen_protocol.cpp:2082: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp: In function 'int
> gsmopen_serial_write_AT_ack_nocr_longtime(private_t*, const char*)':
> gsmopen_protocol.cpp:2124: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp: In function 'int
> gsmopen_serial_write_AT_expect1(private_t*, const char*, const char*, int,
> int)':
> gsmopen_protocol.cpp:2166: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp: In function 'int ucs2_to_utf8(private_t*, char*,
> char*, size_t)':
> gsmopen_protocol.cpp:2370: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp:2397: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp: In function 'int utf8_to_iso_8859_1(private_t*,
> char*, size_t, char*, size_t)':
> gsmopen_protocol.cpp:2439: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp: In function 'int iso_8859_1_to_utf8(private_t*,
> char*, char*, size_t)':
> gsmopen_protocol.cpp:2494: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp: In function 'int utf8_to_ucs2(private_t*, char*,
> size_t, char*, size_t)':
> gsmopen_protocol.cpp:2542: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp:2551: warning: comparison between signed and unsigned
> integer expressions
> gsmopen_protocol.cpp: In function 'int
> gsmopen_serial_init_audio_port(private_t*, int)':
> gsmopen_protocol.cpp:3156: error: 'struct private_object' has no member
> named 'serialPort_serial_audio'
> gsmopen_protocol.cpp:3156: error: expected type-specifier before 'ctb'
> gsmopen_protocol.cpp:3156: error: expected ';' before 'ctb'
> gsmopen_protocol.cpp:3159: error: 'struct private_object' has no member
> named 'serialPort_serial_audio'
> gsmopen_protocol.cpp:3159: error: 'ctb' has not been declared
> gsmopen_protocol.cpp: In function 'int serial_audio_shutdown(private_t*)':
> gsmopen_protocol.cpp:3191: error: 'struct private_object' has no member
> named 'serialPort_serial_audio'
> make[5]: *** [gsmopen_protocol.o] Error 1
> make[5]: Leaving directory
> `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod/endpoints/mod_gsmopen'
> make[4]: *** [all] Error 1
> make[4]: Leaving directory
> `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod/endpoints/mod_gsmopen'
> make[3]: *** [mod_gsmopen-all] Error 1
> make[3]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src/mod'
> make[3]: Entering directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/rpmbuild/BUILD/freeswitch-1.2.23'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.H9lKTQ (%build)
>
>
>
> how i can solve it ?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140815/8f4a09dc/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list