From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 17:26:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA56816A46C for ; Tue, 5 Jun 2007 17:26:37 +0000 (UTC) (envelope-from perikillo@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id CEA6713C45D for ; Tue, 5 Jun 2007 17:26:36 +0000 (UTC) (envelope-from perikillo@gmail.com) Received: by wx-out-0506.google.com with SMTP id h28so1410062wxd for ; Tue, 05 Jun 2007 10:26:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=R8bVetnkdfLOBoEcOvQ3jwH2CrCeKUvkfQolUpX0ZuSX3J8tiordhsviecW0/CSToO7iBktTI0Xd6UMq2uW+4vnNnA+QKY0o6iYDbQ7DD4ry3Hx+I2/h9khfcaR7TNA6fCmjp99KmvEETCoGux2DxTHOf/PWljV6XpxWF2pPptg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=D4byRfsW6Ch55VXABwf9lAQG9Y/ULKizrtMmu/oUaY3j3kbpT67+g4LbdQLJyvIVxsuMnAb6QqbV8FiOXNFvBR+39Zb6JzyRFOOPBEPnQEgbTfG+60gm2a2iWMh/l1Kz2faoVGUh+AH1MTi+4W56Y0ubYd31DVZuYBPp6G6P3To= Received: by 10.70.70.7 with SMTP id s7mr9468676wxa.1181064395149; Tue, 05 Jun 2007 10:26:35 -0700 (PDT) Received: by 10.70.25.8 with HTTP; Tue, 5 Jun 2007 10:26:35 -0700 (PDT) Message-ID: <51d7a5160706051026s442b2cb8r6ee3ace7cf1cc521@mail.gmail.com> Date: Tue, 5 Jun 2007 10:26:35 -0700 From: perikillo To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems installing asterisk-addons over FreeBSD 6.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 17:26:37 -0000 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!!!