Date: Thu, 25 Jun 2009 16:02:21 +0200 From: Willem Jan Withagen <wjw@digiware.nl> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-isdn@freebsd.org Subject: Re: Trying to compile chan_capi Message-ID: <4A43836D.8030706@digiware.nl> In-Reply-To: <4A435F2E.4020406@digiware.nl> References: <4A4328B1.8040608@digiware.nl> <200906251301.12966.hselasky@c2i.net> <4A435AB0.6010503@digiware.nl> <200906251316.46347.hselasky@c2i.net> <4A435F2E.4020406@digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Willem Jan Withagen wrote: > Hans Petter Selasky wrote: >> You need to install I4B from SVN aswell. See: >> >> http://www.selasky.org/hans_petter/isdn4bsd/ >> >> And the SVN lines. > > That's where I started, but I'm guessing that certain files are now more > or less corrupted by my tinkering with different tries. > > I'll clean out that directory and refetch from SVN A lot less warnings, but still it nags about bzero and bcopy and replace them by memset and memmove. Which I did with a macro.. Now I run into more serieus incompatibilities: in chan_capi.c error = capi20_be_alloc_i4b(&cbe_p); versus: /usr/include/i4b/include/capi20.h:capi20_is_installed(void); /usr/include/i4b/include/capi20.h:#define capi20_isinstalled capi20_is_installed /usr/include/i4b/include/capi20.h:#define CAPI20_ISINSTALLED capi20_is_installed And that seems like some includes are still out of whack? So I copied: cp ../../../i4b/trunk/i4b/src/sys/i4b/include/* /usr/include/i4b/include/ And that leaves me with warnings like: chan_capi.c:1045:2: warning: #warning "What about cd->next after free? Currently 'cd' is not freed by cd_free()." chan_capi.c:4680:2: warning: #warning "Should send a messages, but which?" chan_capi.c:4845:2: warning: #warning "Cannot do this, because one cannot lock 'pbx_chan' here!" chan_capi.c:5372:2: warning: #warning "Maybe cannot write these variables here! Locking issue!" chan_capi.c:5383:2: warning: #warning "Does not handle length == 0xFF" chan_capi.c:6858:2: warning: #warning "TODO: check for calls that never received connect_conf;" /usr/local/include/asterisk/frame.h:648: warning: 'ast_format_rate' defined but not used Which I'll consider harmless unless things start crashing on me... --WjW
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A43836D.8030706>