Hi<br><br>I have read the asterisk-video mailing list and I interested in app_mp4.c. i download it and compile it with asterisk 1.4 beta3. before that i have installed mpeg4ip-1.5.0.1. when i compile app_mp4.c i got error 
<br><br>&nbsp;&nbsp; [CC] app_mp4.c -&gt; app_mp4.o<br>In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from app_mp4.c:30:<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:492:1: warning: &quot;PACKAGE_NAME&quot; redefined
<br>In file included from /usr/local/include/mpeg4ip.h:53,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/include/mp4.h:35,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from app_mp4.c:24:<br>/usr/local/include/mpeg4ip_config.h:177:1: warning: this is the location of the previous definition
<br>In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from app_mp4.c:30:<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:495:1: warning: &quot;PACKAGE_STRING&quot; redefined
<br>In file included from /usr/local/include/mpeg4ip.h:53,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/include/mp4.h:35,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from app_mp4.c:24:<br>/usr/local/include/mpeg4ip_config.h:180:1: warning: this is the location of the previous definition
<br>In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from app_mp4.c:30:<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:498:1: warning: &quot;PACKAGE_TARNAME&quot; redefined
<br>In file included from /usr/local/include/mpeg4ip.h:53,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/include/mp4.h:35,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from app_mp4.c:24:<br>/usr/local/include/mpeg4ip_config.h:183:1: warning: this is the location of the previous definition
<br>In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from app_mp4.c:30:<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:501:1: warning: &quot;PACKAGE_VERSION&quot; redefined
<br>In file included from /usr/local/include/mpeg4ip.h:53,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/include/mp4.h:35,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from app_mp4.c:24:<br>/usr/local/include/mpeg4ip_config.h:186:1: warning: this is the location of the previous definition
<br>In file included from app_mp4.c:34:<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h: In function 'ast_mutex_init':<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: warning: implicit declaration of function 'pthread_mutexattr_settype'
<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: (Each undeclared identifier is reported only once
<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: for each function it appears in.)<br>In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/cdr.h:48,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/wuuikok/Asterisk/asterisk-
1.4.0-beta3/include/asterisk/channel.h:115,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/file.h:30,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from app_mp4.c:35:<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3
/include/asterisk/utils.h: In function '_ast_strndup':<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h:421: warning: implicit declaration of function 'strndup'<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3
/include/asterisk/utils.h:421: warning: assignment makes pointer from integer without a cast<br>/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h: In function '_ast_asprintf':<br>/home/wuuikok/Asterisk/asterisk-
1.4.0-beta3/include/asterisk/utils.h:446: warning: implicit declaration of function 'vasprintf'<br>app_mp4.c: At top level:<br>app_mp4.c:55: warning: type defaults to 'int' in declaration of 'STANDARD_LOCAL_USER'<br>app_mp4.c:55: warning: data definition has no type or storage class
<br>app_mp4.c:57: warning: type defaults to 'int' in declaration of 'LOCAL_USER_DECL'<br>app_mp4.c:57: warning: data definition has no type or storage class<br>app_mp4.c: In function 'mp4_rtp_read':<br>app_mp4.c:240: warning: pointer targets in passing argument 5 of 'MP4ReadRtpPacket' differ in signedness
<br>app_mp4.c: In function 'mp4_save':<br>app_mp4.c:420: warning: implicit declaration of function 'LOCAL_USER_ADD'<br>app_mp4.c:489: warning: implicit declaration of function 'LOCAL_USER_REMOVE'<br>app_mp4.c: At top level:
<br>app_mp4.c:498: warning: no previous prototype for 'unload_module'<br>app_mp4.c: In function 'unload_module':<br>app_mp4.c:504: error: 'STANDARD_HANGUP_LOCALUSERS' undeclared (first use in this function)<br>app_mp4.c: At top level:
<br>app_mp4.c:510: warning: no previous prototype for 'load_module'<br>app_mp4.c:519: warning: no previous prototype for 'description'<br>app_mp4.c:524: warning: no previous prototype for 'usecount'<br>app_mp4.c: In function 'usecount':
<br>app_mp4.c:526: warning: implicit declaration of function 'STANDARD_USECOUNT'<br>app_mp4.c: At top level:<br>app_mp4.c:531: warning: function declaration isn't a prototype<br>make[1]: *** [app_mp4.o] Error 1<br>make: *** [apps] Error 2
<br><br><br>i am using kubuntu as my OS.<br>I need help to solve this. I already did google search but no answers. Anyhelp from anybody would be good.<br><br>Thank You.<br><br>Regards,<br>Wu Ui Kok<br><br><br><br><br>