Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2006 14:28:27 +0100
From:      Cian Hughes <cianlists@cian.ws>
To:        Aragon Gouveia <aragon@phat.za.net>
Cc:        freebsd-isdn@freebsd.org
Subject:   Re: chan_capi / liblinuxcapi build error on FreeBSD 6.1-RELEASE
Message-ID:  <070386DE-6BB9-4BC6-B234-60918A7E61D5@cian.ws>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <cianlists@cian.ws>
> |                                          [ 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 <cian@cian.ws>
>>> |                                          [ 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 <cian@cian.ws>
>>>>> |                                          [ 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?070386DE-6BB9-4BC6-B234-60918A7E61D5>