Problems installing asterisk-addons over FreeBSD 6.2?

youshi10 at u.washington.edu youshi10 at u.washington.edu
Tue Jun 5 22:46:39 UTC 2007


On Tue, 5 Jun 2007, perikillo wrote:

> Hi people.
>
>  Im trying to setup my first PBX system with asterisk from ports, my ports
> are updated, i install asterisk 1.4.4, gastaman, zaptel driver, but went i
> try to install asterisk-addons 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
>
> I want to test FreePBX to, but i need this port.
>
> Some knows how to fix this error?
>
> Thanks all for your time!!!

You should talk to the port maintainer about this.

-Garrett



More information about the freebsd-questions mailing list