Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 13:16:45 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        freebsd-isdn@freebsd.org
Subject:   Re: Trying to compile chan_capi
Message-ID:  <200906251316.46347.hselasky@c2i.net>
In-Reply-To: <4A435AB0.6010503@digiware.nl>
References:  <4A4328B1.8040608@digiware.nl> <200906251301.12966.hselasky@c2i.net> <4A435AB0.6010503@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 25 June 2009 13:08:32 Willem Jan Withagen wrote:
> Hans Petter Selasky wrote:
> > Those instructions are a little outdated, reminding me that my homepage
> > needs an update.
> >
> > svn --username anonsvn --password anonsvn \
> >       checkout svn://svn.turbocat.net/i4b
> > #
> > # The following commands will
> > # install the driver on FreeBSD:
> > #
> > cd i4b/trunk/chan_capi
> > gmake all install
>
> Ouch, how trivial......
>
> Going there, doing that:
>
> 'mmmm, no not really, but closer;
>
> I now get a lot of:
>
> In file included from chan_capi20.h:7,
>                   from chan_capi.c:77:
> /usr/include/i4b/include/capi20.h:1960:2: error: invalid suffix
> "x__dont_use_bzero__use_memset_instead" on integer constant
> In file included from chan_capi20.h:7,
>                   from chan_capi.c:77:
> /usr/include/i4b/include/capi20.h: In function 'capi_decode':
> /usr/include/i4b/include/capi20.h:2217: error: expected ';' before string
> constant
> /usr/include/i4b/include/capi20.h:2221:8: error: invalid suffix
> "x__dont_use_bcopy__use_memmove_instead" on integer constant
> (ad infinitum)
>
> Could be because previous attempts have left me with a corrupt set of
> include files? If so how what do I clean up?

You need to install I4B from SVN aswell. See:

http://www.selasky.org/hans_petter/isdn4bsd/

And the SVN lines.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906251316.46347.hselasky>