From owner-freebsd-isdn@FreeBSD.ORG Mon Sep 25 11:08:34 2006 Return-Path: X-Original-To: freebsd-isdn@FreeBSD.org Delivered-To: freebsd-isdn@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D476F16A557 for ; Mon, 25 Sep 2006 11:08:34 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC9EE43D6A for ; Mon, 25 Sep 2006 11:08:22 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8PB8KbE090588 for ; Mon, 25 Sep 2006 11:08:20 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8PB8JI7090583 for freebsd-isdn@FreeBSD.org; Mon, 25 Sep 2006 11:08:19 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Sep 2006 11:08:19 GMT Message-Id: <200609251108.k8PB8JI7090583@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-isdn@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 11:08:34 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/79117 isdn [iavc] iavc(4) for AVM B1 PCI does not attach 1 problem total. From owner-freebsd-isdn@FreeBSD.ORG Sat Sep 30 13:29:16 2006 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B667216A40F for ; Sat, 30 Sep 2006 13:29:16 +0000 (UTC) (envelope-from cianlists@cian.ws) Received: from mail.cian.ws (cian.ws [87.192.36.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8E5C43D7F for ; Sat, 30 Sep 2006 13:28:41 +0000 (GMT) (envelope-from cianlists@cian.ws) Received: from localhost (localhost [127.0.0.1]) by mail.cian.ws (Postfix) with ESMTP id 9B3EC33C6A; Sat, 30 Sep 2006 14:28:37 +0100 (IST) X-Virus-Scanned: amavisd-new at cian.ws Received: from mail.cian.ws ([127.0.0.1]) by localhost (oppy.cian.ws [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NHdNyk3JAib8; Sat, 30 Sep 2006 14:28:30 +0100 (IST) Received: from [10.0.1.5] (g5.cian.ws [10.0.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.cian.ws (Postfix) with ESMTP id 094F433C66; Sat, 30 Sep 2006 14:28:29 +0100 (IST) In-Reply-To: <20060926110846.GA23132@phat.za.net> References: <20060920141458.GA80499@phat.za.net> <7B6C7213-80F6-42AC-889B-7A795D62124E@cian.ws> <20060921214734.GA28857@phat.za.net> <25C1B701-0BFD-4CE8-86EB-38FC72C0934D@cian.ws> <20060923093355.GA61816@phat.za.net> <5CF961A5-A728-49AA-8977-EA82872C62F0@cian.ws> <20060926110846.GA23132@phat.za.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-3-927081473" Message-Id: <070386DE-6BB9-4BC6-B234-60918A7E61D5@cian.ws> Content-Transfer-Encoding: 7bit From: Cian Hughes Date: Sat, 30 Sep 2006 14:28:27 +0100 To: Aragon Gouveia X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) Cc: freebsd-isdn@freebsd.org Subject: Re: chan_capi / liblinuxcapi build error on FreeBSD 6.1-RELEASE X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Sep 2006 13:29:16 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-3-927081473 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Aragon, Yes, my patches were to make chan_capi work with asterisk from ports =20 and with chan_capi, your right, the line I was talking about was the =20 manufacturer line, commenting it out does the trick for us because we =20= don't have EICON cards. Best of luck with your ISDN line, I waited about 2 months for mine :) Could you mail me your modified patches for 1.2.12.1? My mods to chan_capi were to make it work with the patched codec =20 negotiation. If you know more about those mod's i'd be interested, I =20 just patched chan_capi until it worked with asterisk from ports, =20 which was my aim. Regards, Cian Hughes cianlists@cian.ws On 26 Sep 2006, at 12:08, Aragon Gouveia wrote: > So far so good. C4B is seeing my card and asterisk is starting with > chan_capi enabled and seeing my interfaces. This is great. :) Now =20= > I can't > wait to get our BRI lines installed so that I can test properly! > > Thank you so much for your help. Are you going to publish your =20 > knowledge > anywhere? It might be valuable to someone else like me. :) > > Well I expect I'll only get our BRIs from our Telco in a months =20 > time or so. > I'll mail you again once I've got everything working for real. > > > Thanks, > Aragon > > > > > | By Cian Hughes > | [ 2006-09-23 15:21 +0200 ] >> Ok, I presumed you were using Asterisk from ports, either use /usr/ >> ports/net/asterisk or try ftp://ftp.chan-capi.org/chan-capi/ >> chan_capi-0.7.0.tar.gz >> you'll need to comment out one line about hardware features, >> somewhere in the source code, I can't remember what it is, but with >> it in there it refuses to compile against c4b. >> >> ~Cian >> >> On 23 Sep 2006, at 10:33, Aragon Gouveia wrote: >> >>> Hi Cian, >>> >>> I've tried them. capi20 compiled and installed with just some >>> minor edits >>> for my bash path (/usr/local/bin/bash). chan_capi is giving me a >>> compilation error though: >>> >>> # gmake C4B=3Dyes >>> ./create_config.sh "/usr/local/include" >>> Checking Asterisk version... 1.2.12.1 >>> * no stringfield in ast_channel >>> * no data on 'indicate' >>> config.h complete. >>> gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations - >>> g -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -O1 - >>> march=3Di386 -Wno-missing-prototypes -Wno-missing-declarations - >>> DCRYPTO -c -o chan_capi.o chan_capi.c >>> chan_capi.c: In function 'capi_new': >>> chan_capi.c:2123: warning: passing arg 1 of 'ast_codec_pref_init' >>> from incompatible pointer type >>> chan_capi.c:2124: warning: implicit declaration of function >>> 'ast_codec_pref_set2' >>> chan_capi.c:2136: error: request for member 'audio_bits' in >>> something not a structure or union >>> chan_capi.c:2148: error: request for member 'audio_bits' in >>> something not a structure or union >>> gmake: *** [chan_capi.o] Error 1 >>> >>> >>> Thanks! >>> >>> >>> >>> | By Cian Hughes >>> | [ 2006-09-22 09:28 =20 >>> +0200 ] >>>> Ok, here are some hackish instructions to tie you over until I sort >>>> out something better... >>>> 1. Install c4b 1.1.1 >>>> 2. Install Asterisk >>>> 3 Download the contents of http://cian.ws/~cian/isdn/ >>>> 4 extract them >>>> 5. cd capi20-cian; gmake; gmake install >>>> 6. cd ../chan_capi*; gmake C4B=3Dyes; gmake C4B=3Dyes install >>>> >>>> Now try starting asterisks, if/when the above fails drop me a mail. >>>> >>>> ~Cian Hughes >>>> -- >>>> E cian@cian.ws >>>> M +353-86-8465317 >>>> P +353-1-4991205 >>>> >>>> >>>> On 21 Sep 2006, at 22:47, Aragon Gouveia wrote: >>>> >>>>> Excellent! After loosing hope this has really lifted me. Very =20 >>>>> much >>>>> looking forward to seeing your work! :) >>>>> >>>>> >>>>> Thanks, >>>>> Aragon >>>>> >>>>> >>>>> >>>>> | By Cian Hughes >>>>> | [ 2006-09-21 23:30 >>>>> +0200 ] >>>>>> I managed to build an updated liblinuxcapi and chan_capi, will =20= >>>>>> post >>>>>> details as soon as I get a chance. I've found his version to be >>>>>> broken. >>>>>> ~Cian Hughes >>>>>> -- >>>>>> E cian@cian.ws >>>>>> M +353-86-8465317 >>>>>> P +353-1-4991205 >>>>>> >>>>>> >>>>>> On 20 Sep 2006, at 15:14, Aragon Gouveia wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> I've tried mailing Jan Stocker about this, but so far no =20 >>>>>>> response. >>>>>>> I was >>>>>>> hoping someone else might have had this problem and could =20 >>>>>>> help me >>>>>>> fix it. >>>>>>> >>>>>>> I have Jan's chan_capi and liblinuxcapi ports installed in my >>>>>>> ports >>>>>>> tree on >>>>>>> a FreeBSD 6.1-RELEASE machine. liblinuxcapi will not build. =20= >>>>>>> Here >>>>>>> is the >>>>>>> transcript: >>>>>>> >>>>>>> --- >>>>>>> # pwd >>>>>>> /usr/ports/comms/liblinuxcapi >>>>>>> # make >>>>>>> =3D=3D=3D> Vulnerability check disabled, database not found >>>>>>> =3D=3D=3D> Extracting for liblinuxcapi-cvs-20050201 >>>>>>> =3D> MD5 Checksum OK for isdn4k-utils-CVS-2005-02-01.tar.bz2. >>>>>>> =3D> No SHA256 checksum recorded for isdn4k-utils- >>>>>>> CVS-2005-02-01.tar.bz2. >>>>>>> =3D=3D=3D> Patching for liblinuxcapi-cvs-20050201 >>>>>>> =3D=3D=3D> Applying FreeBSD patches for = liblinuxcapi-cvs-20050201 >>>>>>> =3D=3D=3D> liblinuxcapi-cvs-20050201 depends on executable in = : >>>>>>> gmake - >>>>>>> found >>>>>>> =3D=3D=3D> Configuring for liblinuxcapi-cvs-20050201 >>>>>>> configure: WARNING: you should use --build, --host, --target >>>>>>> configure: error: cannot find sources (capi20.c) in . or .. >>>>>>> =3D=3D=3D> Script "configure" failed unexpectedly. >>>>>>> Please report the problem to Jan.Stocker@t-online.de =20 >>>>>>> [maintainer] >>>>>>> and attach the >>>>>>> "/usr/ports/comms/liblinuxcapi/work/isdn4k-utils-CVS-2005-02-01/ >>>>>>> capi20/config.log" >>>>>>> including the output of the failure of your make command. =20 >>>>>>> Also, it >>>>>>> might be >>>>>>> a good idea to provide an overview of all packages installed on >>>>>>> your system >>>>>>> (e.g. an ls /var/db/pkg). >>>>>>> *** Error code 1 >>>>>>> >>>>>>> Stop in /usr/ports/comms/liblinuxcapi. >>>>>>> --- >>>>>>> >>>>>>> I think the problem is automake/autoconf related. I've tried >>>>>>> going >>>>>>> into the >>>>>>> capi20 directory, deleting the configure script and =20 >>>>>>> recreating it >>>>>>> by running >>>>>>> autoconf259. The build then progresses further, but then >>>>>>> configure >>>>>>> can't >>>>>>> find automake, autoheader, aclocal, and autoconf. I have =20 >>>>>>> autoconf >>>>>>> 2.59 and >>>>>>> automake 1.9 installed on this machine and have tried creating >>>>>>> symlinks to >>>>>>> the versioned binaries in /usr/local/bin. Configure then finds >>>>>>> the >>>>>>> above, >>>>>>> but is now complaining about libtool: >>>>>>> >>>>>>> --- >>>>>>> config.status: creating Makefile >>>>>>> =3D=3D=3D> Building for liblinuxcapi-cvs-20050201 >>>>>>> cd . && aclocal >>>>>>> aclocal:configure.in:10: warning: macro =01M_PROG_LIBTOOL' not >>>>>>> found in >>>>>>> library >>>>>>> cd . && automake --foreign Makefile >>>>>>> Makefile.am:8: Libtool library used but =0CIBTOOL' is undefined >>>>>>> Makefile.am:8: >>>>>>> Makefile.am:8: The usual way to define =0CIBTOOL' is to add =01=20= >>>>>>> C_PROG_ >>>>>>> LI >>>>>>> BT >>>>>>> OOL' >>>>>>> Makefile.am:8: to =03onfigure.in' and run =01clocal' and = =01utoconf' >>>>>>> again. >>>>>>> Makefile.am: required file ./compile' not found >>>>>>> gmake: *** [Makefile.in] Error 1 >>>>>>> *** Error code 2 >>>>>>> --- >>>>>>> >>>>>>> I'm in a bit over my head here, hence the random hacks at a fix. >>>>>>> Can anyone >>>>>>> help me with this please? Looks like a library dependancy >>>>>>> issue to >>>>>>> me... >>>>>>> >>>>>>> >>>>>>> Thanks, >>>>>>> Aragon >>>>>>> _______________________________________________ >>>>>>> freebsd-isdn@freebsd.org mailing list >>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-isdn >>>>>>> To unsubscribe, send any mail to "freebsd-isdn- >>>>>>> unsubscribe@freebsd.org" >>>>>> >>>> >> --Apple-Mail-3-927081473 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFFHnD7aVVfOlCF0TQRAkWgAJ0f5BDF90c10baJPScxilrzgziDZwCgh6bD OoNuWaRAyB48rYMIF848US0= =KuYf -----END PGP SIGNATURE----- --Apple-Mail-3-927081473--