Date: Thu, 3 May 2007 08:53:38 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Manfred Usselmann <usselmann.m@icg-online.de> Cc: freebsd-isdn@freebsd.org Subject: Re: Compile problems with chan_capi and latest Asterisk port Message-ID: <200705030853.38803.hselasky@c2i.net> In-Reply-To: <20070503011316.e87adacb.usselmann.m@icg-online.de> References: <20070503011316.e87adacb.usselmann.m@icg-online.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 03 May 2007 01:13, Manfred Usselmann wrote: > Hi, > > it looks like the latest version of CAPI4PBX (svn revision 485) does > not compile with the latest Asterisk port 1.4.3: > > ===[root@icg-pc211] ~/download/i4b/trunk/chan_capi # gmake > gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g > -I/usr/local/include -I/usr/include/i4b/include -D_REENTRANT -D_GNU_SOURCE > -O6 -march=i386 -Wformat -DASTERISKVERSION=\"\" -Wno-missing-prototypes > -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c > chan_capi.c:1396:2: warning: #warning "What about cd->next after free? > Currently 'cd' is not freed by cd_free()." chan_capi.c: In function > `cd_alloc': > chan_capi.c:2376: error: too few arguments to function `ast_channel_alloc' > chan_capi.c:4963:2: warning: #warning "Should send a messages, but which?" > chan_capi.c:5116:2: warning: #warning "Cannot do this, because one cannot > lock 'pbx_chan' here!" chan_capi.c:5644:2: warning: #warning "Maybe cannot > write these variables here! Locking issue!" chan_capi.c:5655:2: warning: > #warning "Does not handle length == 0xFF" chan_capi.c:7126:2: warning: > #warning "TODO: check for calls that never received connect_conf;" gmake: > *** [chan_capi.o] Error 1 > Try a "svn update" and see if it does not compile now. Note also that when you compile the kernel with non-7-current or non-6-stable, you will have to zero out "/sys/dev/usb/if_ural.c" first, hence it depends on some code that is not there. Else you have to add: device wlan_amrr To your kernel config file, if you have "device ural" there. I will try to fix this soon. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705030853.38803.hselasky>