Trying to compile chan_capi

Hans Petter Selasky hselasky at c2i.net
Thu Jun 25 12:17:23 UTC 2009


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



More information about the freebsd-isdn mailing list