[Asterisk-video] app_mp4 -- need help

Sergio García Murillo Sergio.Garcia at ydilo.com
Wed Dec 20 00:59:27 MST 2006


Where did u get the app_mp4? It's the one i posted a while a go?

________________________________

From: asterisk-video-bounces at lists.digium.com [mailto:asterisk-video-bounces at lists.digium.com] On Behalf Of Wu Ui Kok
Sent: miércoles, 20 de diciembre de 2006 8:39
To: asterisk-video at lists.digium.com
Subject: [Asterisk-video] app_mp4 -- need help


Hi

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 

   [CC] app_mp4.c -> app_mp4.o
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
                 from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:492:1: warning: "PACKAGE_NAME" redefined 
In file included from /usr/local/include/mpeg4ip.h:53,
                 from /usr/local/include/mp4.h:35,
                 from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:177:1: warning: this is the location of the previous definition 
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
                 from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:495:1: warning: "PACKAGE_STRING" redefined 
In file included from /usr/local/include/mpeg4ip.h:53,
                 from /usr/local/include/mp4.h:35,
                 from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:180:1: warning: this is the location of the previous definition 
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
                 from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:498:1: warning: "PACKAGE_TARNAME" redefined 
In file included from /usr/local/include/mpeg4ip.h:53,
                 from /usr/local/include/mp4.h:35,
                 from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:183:1: warning: this is the location of the previous definition 
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
                 from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:501:1: warning: "PACKAGE_VERSION" redefined 
In file included from /usr/local/include/mpeg4ip.h:53,
                 from /usr/local/include/mp4.h:35,
                 from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:186:1: warning: this is the location of the previous definition 
In file included from app_mp4.c:34:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h: In function 'ast_mutex_init':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: warning: implicit declaration of function 'pthread_mutexattr_settype' 
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: (Each undeclared identifier is reported only once 
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: for each function it appears in.)
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/cdr.h:48,
                 from /home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/channel.h:115,
                 from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/file.h:30,
                 from app_mp4.c:35:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h: In function '_ast_strndup':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h:421: warning: implicit declaration of function 'strndup'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h:421: warning: assignment makes pointer from integer without a cast
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h: In function '_ast_asprintf':
/home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/utils.h:446: warning: implicit declaration of function 'vasprintf'
app_mp4.c: At top level:
app_mp4.c:55: warning: type defaults to 'int' in declaration of 'STANDARD_LOCAL_USER'
app_mp4.c:55: warning: data definition has no type or storage class 
app_mp4.c:57: warning: type defaults to 'int' in declaration of 'LOCAL_USER_DECL'
app_mp4.c:57: warning: data definition has no type or storage class
app_mp4.c: In function 'mp4_rtp_read':
app_mp4.c:240: warning: pointer targets in passing argument 5 of 'MP4ReadRtpPacket' differ in signedness 
app_mp4.c: In function 'mp4_save':
app_mp4.c:420: warning: implicit declaration of function 'LOCAL_USER_ADD'
app_mp4.c:489: warning: implicit declaration of function 'LOCAL_USER_REMOVE'
app_mp4.c: At top level: 
app_mp4.c:498: warning: no previous prototype for 'unload_module'
app_mp4.c: In function 'unload_module':
app_mp4.c:504: error: 'STANDARD_HANGUP_LOCALUSERS' undeclared (first use in this function)
app_mp4.c: At top level: 
app_mp4.c:510: warning: no previous prototype for 'load_module'
app_mp4.c:519: warning: no previous prototype for 'description'
app_mp4.c:524: warning: no previous prototype for 'usecount'
app_mp4.c: In function 'usecount': 
app_mp4.c:526: warning: implicit declaration of function 'STANDARD_USECOUNT'
app_mp4.c: At top level:
app_mp4.c:531: warning: function declaration isn't a prototype
make[1]: *** [app_mp4.o] Error 1
make: *** [apps] Error 2 


i am using kubuntu as my OS.
I need help to solve this. I already did google search but no answers. Anyhelp from anybody would be good.

Thank You.

Regards,
Wu Ui Kok






--------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and intended solely 
for the use of the individual or entity to whom they are addressed. No confidentiality 
or privilege is waived or lost by any wrong transmission. 
If you have received this message in error, please immediately destroy it and kindly 
notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or copy any 
part of this message if you are not the intended recipient. Opinions, conclusions and 
other information in this message that do not relate to the official business of 
Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it. 
--------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20061220/50cdfa04/attachment-0001.htm


More information about the asterisk-video mailing list