[SDBUG] Problems installing asterisk-addons over FreeBSD 6.2
Mike Joyce
mjoyce at obstinate.org
Tue Jun 5 12:30:56 PDT 2007
1.4, ew - stick with 1.2
Asterisk modules are easy enough to install, why not just install them
by hand? Or a better question, why use BSD at all? Why not use
something easy like Trixbox?
On 6/5/07, Pedro Moreno <pmoreno at oakwest.com> wrote:
>
> Hi guys.
>
> I have problems installing asterisk-addons from ports, went i do the
> make install clean i receive this error:
>
> asteriskbsd# make install clean
> ===> Vulnerability check disabled, database not found
> ===> Extracting for asterisk-addons-1.2.3_1
> => MD5 Checksum OK for asterisk-addons-1.2.3.tar.gz.
> => SHA256 Checksum OK for asterisk-addons-1.2.3.tar.gz.
> ===> Patching for asterisk-addons-1.2.3_1
> ===> Applying FreeBSD patches for asterisk-addons-1.2.3_1
> ===> asterisk-addons-1.2.3_1 depends on executable in : asterisk - found
> ===> asterisk-addons-1.2.3_1 depends on executable in : gmake - found
> ===> asterisk-addons-1.2.3_1 depends on shared library: mysqlclient.15
> - found
> ===> Configuring for asterisk-addons-1.2.3_1
> ===> Building for asterisk-addons-1.2.3_1
> ./mkdep -O -pipe -march=pentium4 -fPIC -I/usr/local/include
> -D_GNU_SOURCE -I/usr/local/include/mysql `ls *.c`
> gmake -C format_mp3 all
> gmake[1]: Entering directory
> `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.2.3/format_mp3'
> gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -D_THREAD_SAFE -O6 -c -o common.o common.c
> gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -D_THREAD_SAFE -O6 -c -o dct64_i386.o dct64_i386.c
> gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -D_THREAD_SAFE -O6 -c -o decode_ntom.o decode_ntom.c
> gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -D_THREAD_SAFE -O6 -c -o layer3.o layer3.c
> gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -D_THREAD_SAFE -O6 -c -o tabinit.o tabinit.c
> gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -D_THREAD_SAFE -O6 -c -o interface.o interface.c
> gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -D_THREAD_SAFE -O6 -c -o format_mp3.o format_mp3.c
> format_mp3.c:46: error: redefinition of `struct ast_filestream'
> format_mp3.c:325: warning: function declaration isn't a prototype
> format_mp3.c:336:25: macro "ast_format_register" passed 12 arguments,
> but takes just 1
> format_mp3.c: In function `load_module':
> format_mp3.c:327: error: `ast_format_register' undeclared (first use in
> this function)
> format_mp3.c:327: error: (Each undeclared identifier is reported only once
> format_mp3.c:327: error: for each function it appears in.)
> 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
> format_mp3.c:76: warning: 'exts' defined but not used
> format_mp3.c:107: warning: 'mp3_open' defined but not used
> format_mp3.c:135: warning: 'mp3_close' defined but not used
> format_mp3.c:219: warning: 'mp3_read' defined but not used
> format_mp3.c:267: warning: 'mp3_write' defined but not used
> format_mp3.c:275: warning: 'mp3_seek' defined but not used
> format_mp3.c:302: warning: 'mp3_rewrite' defined but not used
> format_mp3.c:308: warning: 'mp3_trunc' defined but not used
> format_mp3.c:315: warning: 'mp3_tell' defined but not used
> format_mp3.c:320: warning: 'mp3_getcomment' defined but not used
> gmake[1]: *** [format_mp3.o] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.2.3/format_mp3'
> gmake: *** [format_mp3/format_mp3.so] Error 2
> *** Error code 2
>
> Stop in /usr/ports/net/asterisk-addons.
>
> Someone knows some fix for this!!!
>
> Asterisk 1.4.4 + FreeBSD 6.2-p5.
>
> _______________________________________________
> SDBUG mailing list
> SDBUG at sdbug.org
> http://lists.sdbug.org/mailman/listinfo/sdbug
>
More information about the SDBUG
mailing list