[Asterisk-Users] Unable to Make Asterisk-addons

Dan Journo danjourno at gmail.com
Sat Apr 29 16:50:50 MST 2006


The following occurs during make asterisk-addons.
I'm ok with asterisk but debugging things like this isnt my strong point.

Can anyone give me a pointer?

Thanks
Dan Journo

[root at sip1 src]# cd asterisk-addons
[root at sip1 asterisk-addons]# make
make -C format_mp3 all
make[1]: Entering directory `/usr/src/asterisk-addons/format_mp3'
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declara                                              tions
-D_REENTRANT -D_GNU_SOURCE  -O6    -c -o format_mp3.o format_mp3.c
In file included from /usr/include/asterisk/logger.h:28,
                 from /usr/include/asterisk/lock.h:83,
                 from format_mp3.c:20:
/usr/include/asterisk/compat.h:20: error: syntax error before
"__extension__"
/usr/include/asterisk/compat.h:20: error: syntax error before '&&' token
In file included from /usr/include/asterisk/utils.h:36,
                 from /usr/include/asterisk/cdr.h:48,
                 from /usr/include/asterisk/channel.h:113,
                 from format_mp3.c:21:
/usr/include/asterisk/strings.h:264: error: syntax error before
"__extension__"
/usr/include/asterisk/strings.h:264: error: syntax error before ';' token
/usr/include/asterisk/strings.h:264: error: `__len' undeclared here (not in
a fu                                              nction)
/usr/include/asterisk/strings.h:264: error: initializer element is not
constant
/usr/include/asterisk/strings.h:264: error: syntax error before "if"
/usr/include/asterisk/strings.h:264: error: redefinition of `__retval'
/usr/include/asterisk/strings.h:264: error: `__retval' previously defined
here
/usr/include/asterisk/strings.h:264: error: syntax error before "const"
/usr/include/asterisk/strings.h:264: error: syntax error before '}' token
/usr/include/asterisk/strings.h:280: error: conflicting types for `strtoq'
/usr/include/stdlib.h:346: error: previous declaration of `strtoq'
format_mp3.c:46: error: redefinition of `struct ast_filestream'
format_mp3.c:325: warning: function declaration isn't a prototype
format_mp3.c: In function `load_module':
format_mp3.c:336: warning: passing arg 1 of `ast_format_register' from
incompati                                              ble pointer type
format_mp3.c:336: error: too many arguments to function
`ast_format_register'
format_mp3.c: At top level:
format_mp3.c:342: warning: function declaration isn't a prototype
format_mp3.c:347: warning: function declaration isn't a prototype
format_mp3.c:359: warning: function declaration isn't a prototype
format_mp3.c:365: warning: function declaration isn't a prototype
{standard input}: Assembler messages:
{standard input}:58: Error: symbol `__retval' is already defined
make[1]: *** [format_mp3.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-addons/format_mp3'
make: *** [format_mp3/format_mp3.so] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060429/d7233579/attachment.htm


More information about the asterisk-users mailing list