Compiling app_rtsp

Hi,

i want try app_rtsp with asterisk 1.10 (version actualy i use).
Howewer i’ve some errors when i try to compile it :

If I try with the default file code, i’ve these errors :

cc -O2 -fPIC -D _GNU_SOURCE -Wall -Wmissing-prototypes -Wstrict-prototypes -c -o app_rtsp.o app_rtsp.c
app_rtsp.c: In function ‘MediaStatsRR’:
app_rtsp.c:238: warning: initialization makes integer from pointer without a cast
app_rtsp.c: In function ‘RtspPlayerBasicAuthorization’:
app_rtsp.c:361: warning: pointer targets in passing argument 2 of ‘ast_base64encode’ differ in signedness
app_rtsp.c: In function ‘GetUdpPorts’:
app_rtsp.c:413: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
app_rtsp.c:416: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
app_rtsp.c:438: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
app_rtsp.c: In function ‘rtsp_play’:
app_rtsp.c:1429: warning: pointer targets in assignment differ in signedness
app_rtsp.c:1477: error: invalid operands to binary == (have ‘union ast_frame_subclass’ and ‘int’)
app_rtsp.c:1489: error: incompatible types in assignment
app_rtsp.c:1495: error: incompatible types in assignment
app_rtsp.c:1603: warning: format ‘%x’ expects type ‘unsigned int’, but argument 6 has type ‘struct ast_format_cap *’
app_rtsp.c:1609: error: invalid operands to binary | (have ‘struct ast_format_cap *’ and ‘int’)
app_rtsp.c:1612: warning: passing argument 1 of ‘ast_translator_best_choice’ from incompatible pointer type
app_rtsp.c:1612: warning: passing argument 2 of ‘ast_translator_best_choice’ from incompatible pointer type
app_rtsp.c:1612: error: too few arguments to function ‘ast_translator_best_choice’
app_rtsp.c:1646: error: invalid operands to binary & (have ‘int’ and ‘struct ast_format_cap *’)
app_rtsp.c:1665: warning: passing argument 2 of ‘ast_set_write_format’ makes pointer from integer without a cast
app_rtsp.c:1886: error: incompatible types in assignment
app_rtsp.c:1901: error: incompatible types in assignment
app_rtsp.c:1912: error: invalid operands to binary | (have ‘union ast_frame_subclass’ and ‘int’)
app_rtsp.c: In function ‘rtsp_tunnel’:
app_rtsp.c:2141: error: invalid operands to binary == (have ‘union ast_frame_subclass’ and ‘int’)
app_rtsp.c:2078: warning: unused variable ‘i’
app_rtsp.c: In function ‘load_module’:
app_rtsp.c:2372: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type
make: *** [app_rtsp.o] Erreur 1

If I try with 1.8 version, i’ve :

debian:/home/technet/asteriskvideo/app_rtsp/1.8# make cc -O2 -fPIC -D _GNU_SOURCE -Wall -Wmissing-prototypes -Wstrict-prototypes -c -o app_rtsp.o app_rtsp.c app_rtsp.c:71: error: expected specifier-qualifier-list before ‘format_t’ app_rtsp.c:74: warning: excess elements in struct initializer app_rtsp.c:74: warning: (near initialization for ‘mimeTypes[0]’) app_rtsp.c:74: warning: excess elements in struct initializer app_rtsp.c:74: warning: (near initialization for ‘mimeTypes[0]’) app_rtsp.c:75: warning: excess elements in struct initializer app_rtsp.c:75: warning: (near initialization for ‘mimeTypes[1]’) app_rtsp.c:75: warning: excess elements in struct initializer app_rtsp.c:75: warning: (near initialization for ‘mimeTypes[1]’) app_rtsp.c:76: warning: excess elements in struct initializer app_rtsp.c:76: warning: (near initialization for ‘mimeTypes[2]’) app_rtsp.c:76: warning: excess elements in struct initializer app_rtsp.c:76: warning: (near initialization for ‘mimeTypes[2]’) app_rtsp.c:77: warning: excess elements in struct initializer app_rtsp.c:77: warning: (near initialization for ‘mimeTypes[3]’) app_rtsp.c:77: warning: excess elements in struct initializer app_rtsp.c:77: warning: (near initialization for ‘mimeTypes[3]’) app_rtsp.c:78: warning: excess elements in struct initializer app_rtsp.c:78: warning: (near initialization for ‘mimeTypes[4]’) app_rtsp.c:78: warning: excess elements in struct initializer app_rtsp.c:78: warning: (near initialization for ‘mimeTypes[4]’) app_rtsp.c:79: warning: excess elements in struct initializer app_rtsp.c:79: warning: (near initialization for ‘mimeTypes[5]’) app_rtsp.c:79: warning: excess elements in struct initializer app_rtsp.c:79: warning: (near initialization for ‘mimeTypes[5]’) app_rtsp.c:80: warning: excess elements in struct initializer app_rtsp.c:80: warning: (near initialization for ‘mimeTypes[6]’) app_rtsp.c:80: warning: excess elements in struct initializer app_rtsp.c:80: warning: (near initialization for ‘mimeTypes[6]’) app_rtsp.c:81: warning: excess elements in struct initializer app_rtsp.c:81: warning: (near initialization for ‘mimeTypes[7]’) app_rtsp.c:81: warning: excess elements in struct initializer app_rtsp.c:81: warning: (near initialization for ‘mimeTypes[7]’) app_rtsp.c:82: warning: excess elements in struct initializer app_rtsp.c:82: warning: (near initialization for ‘mimeTypes[8]’) app_rtsp.c:82: warning: excess elements in struct initializer app_rtsp.c:82: warning: (near initialization for ‘mimeTypes[8]’) app_rtsp.c:83: warning: excess elements in struct initializer app_rtsp.c:83: warning: (near initialization for ‘mimeTypes[9]’) app_rtsp.c:83: warning: excess elements in struct initializer app_rtsp.c:83: warning: (near initialization for ‘mimeTypes[9]’) app_rtsp.c:84: warning: excess elements in struct initializer app_rtsp.c:84: warning: (near initialization for ‘mimeTypes[10]’) app_rtsp.c:84: warning: excess elements in struct initializer app_rtsp.c:84: warning: (near initialization for ‘mimeTypes[10]’) app_rtsp.c:85: warning: excess elements in struct initializer app_rtsp.c:85: warning: (near initialization for ‘mimeTypes[11]’) app_rtsp.c:85: warning: excess elements in struct initializer app_rtsp.c:85: warning: (near initialization for ‘mimeTypes[11]’) app_rtsp.c:86: warning: excess elements in struct initializer app_rtsp.c:86: warning: (near initialization for ‘mimeTypes[12]’) app_rtsp.c:86: warning: excess elements in struct initializer app_rtsp.c:86: warning: (near initialization for ‘mimeTypes[12]’) app_rtsp.c:87: warning: excess elements in struct initializer app_rtsp.c:87: warning: (near initialization for ‘mimeTypes[13]’) app_rtsp.c:87: warning: excess elements in struct initializer app_rtsp.c:87: warning: (near initialization for ‘mimeTypes[13]’) app_rtsp.c:88: warning: excess elements in struct initializer app_rtsp.c:88: warning: (near initialization for ‘mimeTypes[14]’) app_rtsp.c:88: warning: excess elements in struct initializer app_rtsp.c:88: warning: (near initialization for ‘mimeTypes[14]’) app_rtsp.c:89: warning: excess elements in struct initializer app_rtsp.c:89: warning: (near initialization for ‘mimeTypes[15]’) app_rtsp.c:89: warning: excess elements in struct initializer app_rtsp.c:89: warning: (near initialization for ‘mimeTypes[15]’) app_rtsp.c:90: warning: excess elements in struct initializer app_rtsp.c:90: warning: (near initialization for ‘mimeTypes[16]’) app_rtsp.c:90: warning: excess elements in struct initializer app_rtsp.c:90: warning: (near initialization for ‘mimeTypes[16]’) app_rtsp.c:91: warning: excess elements in struct initializer app_rtsp.c:91: warning: (near initialization for ‘mimeTypes[17]’) app_rtsp.c:91: warning: excess elements in struct initializer app_rtsp.c:91: warning: (near initialization for ‘mimeTypes[17]’) app_rtsp.c:92: warning: excess elements in struct initializer app_rtsp.c:92: warning: (near initialization for ‘mimeTypes[18]’) app_rtsp.c:92: warning: excess elements in struct initializer app_rtsp.c:92: warning: (near initialization for ‘mimeTypes[18]’) app_rtsp.c:93: warning: excess elements in struct initializer app_rtsp.c:93: warning: (near initialization for ‘mimeTypes[19]’) app_rtsp.c:93: warning: excess elements in struct initializer app_rtsp.c:93: warning: (near initialization for ‘mimeTypes[19]’) app_rtsp.c:94: warning: excess elements in struct initializer app_rtsp.c:94: warning: (near initialization for ‘mimeTypes[20]’) app_rtsp.c:94: warning: excess elements in struct initializer app_rtsp.c:94: warning: (near initialization for ‘mimeTypes[20]’) app_rtsp.c:95: warning: excess elements in struct initializer app_rtsp.c:95: warning: (near initialization for ‘mimeTypes[21]’) app_rtsp.c:95: warning: excess elements in struct initializer app_rtsp.c:95: warning: (near initialization for ‘mimeTypes[21]’) app_rtsp.c: In function ‘MediaStatsRR’: app_rtsp.c:240: warning: initialization makes integer from pointer without a cast app_rtsp.c: In function ‘RtspPlayerBasicAuthorization’: app_rtsp.c:363: warning: pointer targets in passing argument 2 of ‘ast_base64encode’ differ in signedness app_rtsp.c: In function ‘GetUdpPorts’: app_rtsp.c:415: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness app_rtsp.c:418: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness app_rtsp.c:440: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness app_rtsp.c: At top level: app_rtsp.c:969: error: expected specifier-qualifier-list before ‘format_t’ app_rtsp.c:977: error: expected specifier-qualifier-list before ‘format_t’ app_rtsp.c: In function ‘CreateMedia’: app_rtsp.c:1014: error: ‘struct SDPMedia’ has no member named ‘all’ app_rtsp.c:1023: error: ‘struct SDPFormat’ has no member named ‘format’ app_rtsp.c:1024: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c: In function ‘DestroyMedia’: app_rtsp.c:1042: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c:1043: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c: In function ‘CreateSDP’: app_rtsp.c:1126: warning: division by zero app_rtsp.c:1128: error: ‘struct <anonymous>’ has no member named ‘name’ app_rtsp.c:1131: error: ‘struct SDPFormat’ has no member named ‘format’ app_rtsp.c:1131: error: ‘struct <anonymous>’ has no member named ‘format’ app_rtsp.c:1135: error: ‘struct SDPMedia’ has no member named ‘all’ app_rtsp.c:1135: error: ‘struct SDPFormat’ has no member named ‘format’ app_rtsp.c:1155: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c:1158: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c:1160: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c:1162: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c: In function ‘rtsp_play’: app_rtsp.c:1366: error: ‘format_t’ undeclared (first use in this function) app_rtsp.c:1366: error: (Each undeclared identifier is reported only once app_rtsp.c:1366: error: for each function it appears in.) app_rtsp.c:1366: error: expected ‘;’ before ‘audioFormat’ app_rtsp.c:1367: error: expected ‘;’ before ‘videoFormat’ app_rtsp.c:1431: warning: pointer targets in assignment differ in signedness app_rtsp.c:1605: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘struct ast_format_cap *’ app_rtsp.c:1611: error: expected ‘;’ before ‘cap’ app_rtsp.c:1614: error: expected ‘;’ before ‘best’ app_rtsp.c:1616: error: ‘cap’ undeclared (first use in this function) app_rtsp.c:1616: error: ‘struct SDPMedia’ has no member named ‘all’ app_rtsp.c:1616: error: ‘best’ undeclared (first use in this function) app_rtsp.c:1619: error: ‘struct SDPMedia’ has no member named ‘all’ app_rtsp.c:1621: error: ‘struct SDPMedia’ has no member named ‘all’ app_rtsp.c:1621: error: too few arguments to function ‘ast_best_codec’ app_rtsp.c:1622: error: ‘struct SDPMedia’ has no member named ‘all’ app_rtsp.c:1628: error: ‘struct SDPFormat’ has no member named ‘format’ app_rtsp.c:1628: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c:1630: error: ‘struct SDPFormat’ has no member named ‘format’ app_rtsp.c:1635: error: ‘audioFormat’ undeclared (first use in this function) app_rtsp.c:1635: error: ‘struct SDPFormat’ has no member named ‘format’ app_rtsp.c:1637: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c:1652: error: ‘struct SDPFormat’ has no member named ‘format’ app_rtsp.c:1652: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c:1654: error: ‘struct SDPFormat’ has no member named ‘format’ app_rtsp.c:1659: error: ‘videoFormat’ undeclared (first use in this function) app_rtsp.c:1659: error: ‘struct SDPFormat’ has no member named ‘format’ app_rtsp.c:1661: error: ‘struct SDPFormat’ has no member named ‘control’ app_rtsp.c:1894: error: ‘union ast_frame_subclass’ has no member named ‘codec’ app_rtsp.c:1909: error: ‘union ast_frame_subclass’ has no member named ‘codec’ app_rtsp.c:1920: error: ‘union ast_frame_subclass’ has no member named ‘codec’ app_rtsp.c: In function ‘load_module’: app_rtsp.c:2379: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type make: *** [app_rtsp.o] Erreur 1

And if i add a [color=#800080]#define format_t long unsigned int[/color] to the last source file, i’ve :

debian:/home/technet/asteriskvideo/app_rtsp/1.8# make cc -O2 -fPIC -D _GNU_SOURCE -Wall -Wmissing-prototypes -Wstrict-prototypes -c -o app_rtsp.o app_rtsp.c app_rtsp.c: In function ‘MediaStatsRR’: app_rtsp.c:240: warning: initialization makes integer from pointer without a cast app_rtsp.c: In function ‘RtspPlayerBasicAuthorization’: app_rtsp.c:363: warning: pointer targets in passing argument 2 of ‘ast_base64encode’ differ in signedness app_rtsp.c: In function ‘GetUdpPorts’: app_rtsp.c:415: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness app_rtsp.c:418: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness app_rtsp.c:440: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness app_rtsp.c: In function ‘rtsp_play’: app_rtsp.c:1431: warning: pointer targets in assignment differ in signedness app_rtsp.c:1605: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘struct ast_format_cap *’ app_rtsp.c:1611: error: invalid operands to binary | (have ‘struct ast_format_cap *’ and ‘int’) app_rtsp.c:1614: warning: passing argument 1 of ‘ast_translator_best_choice’ from incompatible pointer type app_rtsp.c:1614: warning: passing argument 2 of ‘ast_translator_best_choice’ from incompatible pointer type app_rtsp.c:1614: error: too few arguments to function ‘ast_translator_best_choice’ app_rtsp.c:1621: warning: passing argument 1 of ‘ast_best_codec’ makes pointer from integer without a cast app_rtsp.c:1621: error: too few arguments to function ‘ast_best_codec’ app_rtsp.c:1654: error: invalid operands to binary & (have ‘long unsigned int’ and ‘struct ast_format_cap *’) app_rtsp.c:1673: warning: passing argument 2 of ‘ast_set_write_format’ makes pointer from integer without a cast app_rtsp.c:1894: error: ‘union ast_frame_subclass’ has no member named ‘codec’ app_rtsp.c:1909: error: ‘union ast_frame_subclass’ has no member named ‘codec’ app_rtsp.c:1920: error: ‘union ast_frame_subclass’ has no member named ‘codec’ app_rtsp.c: In function ‘load_module’: app_rtsp.c:2379: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type make: *** [app_rtsp.o] Erreur 1

Must I switch to Asterisk 1.8 ? Or can you help me to compile it ?

Thanks !

I try with Asterisk 1.8, compilation OK.

But when i launch Application and i request rtsp stream, asterisk closes without giving an error message or other informations :

[quote]debian:/home/technet/asterisk-1.8.9.2# /home/technet/essai/sbin/asterisk
debian:/home/technet/asterisk-1.8.9.2#
debian:/home/technet/asterisk-1.8.9.2# /home/technet/essai/sbin/asterisk -vvvvvr
Asterisk 1.8.9.2, Copyright © 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

== Parsing ‘/home/technet/essai/etc/asterisk/asterisk.conf’: == Found
== Parsing ‘/home/technet/essai/etc/asterisk/extconfig.conf’: == Found
Connected to Asterisk 1.8.9.2 currently running on debian (pid = 23819)
Verbosity was 0 and is now 5
– Remote UNIX connection
– Unregistered SIP ‘5020’
– Registered SIP ‘5020’ at 192.168.1.60:10034
== Using SIP RTP CoS mark 5
– Executing [**35@Interne:1] Answer(“SIP/5020-00000000”, “”) in new stack
– Executing [**35@Interne:2] rtsp(“SIP/5020-00000000”, "rtsp://admin:***@192.168.1.117/") in new stack
[Feb 17 20:05:02] WARNING[23866]: app_rtsp.c:1385 rtsp_play: >rtsp play
debian
CLI>
Disconnected from Asterisk server
Executing last minute cleanups
debian:/home/technet/asterisk-1.8.9.2#[/quote]

If i make a ps -ef | grep asterisk, i’ve nothing…

How can i identify why asterisk go out ?

Thanks !

wiki.asterisk.org/wiki/display/ … +Backtrace

Might want to try Sergio, who I believe is the author of app_rtsp. It’s not an app that’s distributed with Asterisk.

Hi.

I know it’s not a app distribued with Asterisk, so I’ll try to make it works fine by myself, but I discover Asterisk, and then need some informations on a few elements ^^

I’ll try to get the backtrace, it would be fine to understand the problem !

Thanks

Hi,
can somebody advice what compilator versions need to be used to successfully compile whole medooze package?
I have used these compilator versions:
gcc 4.7.2, gcc 4.4.7 and I got these errors when compiling mpeg4ip and libh324m:

mpeg4ip

rtphint.cpp: In member function 'void MP4RtpHintTrack::GetPayload(char**, u_int8_t*, u_int16_t*, char**)':
rtphint.cpp:328:32: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
rtphint.cpp: In constructor 'MP4RtpHint::MP4RtpHint(MP4RtpHintTrack*)':
rtphint.cpp:710:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:712:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp: In constructor 'MP4RtpPacket::MP4RtpPacket(MP4RtpHint*)':
rtphint.cpp:808:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:810:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:812:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:814:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:816:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:818:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:820:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:822:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:824:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:826:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:828:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:830:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:832:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp: In member function 'void MP4RtpPacket::AddExtraProperties()':
rtphint.cpp:845:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:852:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:854:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:856:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp: In constructor 'MP4RtpData::MP4RtpData(MP4RtpPacket*)':
rtphint.cpp:1076:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp: In constructor 'MP4RtpNullData::MP4RtpNullData(MP4RtpPacket*)':
rtphint.cpp:1118:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp: In constructor 'MP4RtpImmediateData::MP4RtpImmediateData(MP4RtpPacket*)':
rtphint.cpp:1129:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1131:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp: In constructor 'MP4RtpSampleData::MP4RtpSampleData(MP4RtpPacket*)':
rtphint.cpp:1163:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1165:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1167:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1169:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1171:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1173:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp: In constructor 'MP4RtpSampleDescriptionData::MP4RtpSampleDescriptionData(MP4RtpPacket*)':
rtphint.cpp:1280:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1282:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1284:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1286:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
rtphint.cpp:1288:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
make[4]: *** [rtphint.lo] Error 1
make[4]: Leaving directory `/usr/local/src/3G_video_GW_Asterisk/mpeg4ip-1.5.0.1/lib/mp4v2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/3G_video_GW_Asterisk/mpeg4ip-1.5.0.1/lib/mp4v2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/3G_video_GW_Asterisk/mpeg4ip-1.5.0.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/3G_video_GW_Asterisk/mpeg4ip-1.5.0.1'
make: *** [all] Error 2

libh324m

In file included from src/H324MControlChannel.h:6:0,
                 from src/H324MSession.h:5,
                 from h324m.cpp:6:
src/H245MasterSlave.h:64:2: error: 'BOOL' does not name a type
src/H245MasterSlave.h:66:2: error: 'BOOL' does not name a type
src/H245MasterSlave.h:67:2: error: 'BOOL' does not name a type
src/H245MasterSlave.h:68:2: error: 'BOOL' does not name a type
src/H245MasterSlave.h:69:2: error: 'BOOL' does not name a type
In file included from src/H324MControlChannel.h:7:0,
                 from src/H324MSession.h:5,
                 from h324m.cpp:6:
src/H245TerminalCapability.h:38:2: error: 'BOOL' does not name a type
src/H245TerminalCapability.h:39:2: error: 'BOOL' does not name a type
src/H245TerminalCapability.h:42:2: error: 'BOOL' does not name a type
src/H245TerminalCapability.h:43:2: error: 'BOOL' does not name a type
src/H245TerminalCapability.h:44:2: error: 'BOOL' does not name a type
src/H245TerminalCapability.h:45:2: error: 'BOOL' does not name a type
src/H245TerminalCapability.h:55:2: error: 'BOOL' does not name a type
In file included from src/H324MControlChannel.h:8:0,
                 from src/H324MSession.h:5,
                 from h324m.cpp:6:
src/H245RoundTrip.h:25:2: error: 'BOOL' does not name a type
src/H245RoundTrip.h:26:2: error: 'BOOL' does not name a type
src/H245RoundTrip.h:27:2: error: 'BOOL' does not name a type
src/H245RoundTrip.h:30:2: error: 'BOOL' does not name a type
In file included from src/H324MControlChannel.h:9:0,
                 from src/H324MSession.h:5,
                 from h324m.cpp:6:
src/H245MuxTable.h:39:2: error: 'BOOL' does not name a type
src/H245MuxTable.h:40:2: error: 'BOOL' does not name a type
src/H245MuxTable.h:41:2: error: 'BOOL' does not name a type
src/H245MuxTable.h:43:2: error: 'BOOL' does not name a type
src/H245MuxTable.h:44:5: error: 'BOOL' does not name a type
src/H245MuxTable.h:45:2: error: 'BOOL' does not name a type
In file included from src/H324MControlChannel.h:10:0,
                 from src/H324MSession.h:5,
                 from h324m.cpp:6:
src/H245LogicalChannels.h:44:13: error: 'BOOL' does not name a type
src/H245LogicalChannels.h:45:13: error: 'BOOL' does not name a type
src/H245LogicalChannels.h:46:13: error: 'BOOL' does not name a type
src/H245LogicalChannels.h:47:13: error: 'BOOL' does not name a type
src/H245LogicalChannels.h:48:13: error: 'BOOL' does not name a type
src/H245LogicalChannels.h:49:13: error: 'BOOL' does not name a type
In file included from src/H324MControlChannel.h:11:0,
                 from src/H324MSession.h:5,
                 from h324m.cpp:6:
src/H245MaintenanceLoop.h:13:5: error: 'BOOL' does not name a type
make: *** [h324m.o] Error 1

Do you know help me with that? Thanks