[Asterisk-video] app_mp4 -- need help

Wu Ui Kok wuuikok at gmail.com
Wed Dec 20 00:38:36 MST 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20061220/ac4d269c/attachment.htm


More information about the asterisk-video mailing list