have just updated the sources from cvs when i compile zaptel i get following error can help me ? nicolas snip.... zaptel.c: In function `zt_ctl_ioctl': zaptel.c:3042: warning: assignment from incompatible pointer type zaptel.c:3044: warning: assignment from incompatible pointer type zaptel.c:3052: error: structure has no member named `close' zaptel.c:3053: error: structure has no member named `set_mode' zaptel.c:3054: warning: assignment from incompatible pointer type zaptel.c: In function `__zt_putbuf_chunk': zaptel.c:5517: warning: implicit declaration of function `hdlc_netif_rx' make: *** [zaptel.o] Error 1
Hi all, I am trying to compile Asterisk beginning with zaptel. Now I get 2 compile errors (see below). Can anyone give me a hint? Thanks Franz --------------------------------------------------------------------- sip:/usr/src/zaptel # make install cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c cc -o gendigits gendigits.o -lm ./gendigits cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c ar rcs libtonezone.a zonedata.lo tonezone.lo cc -o ztcfg ztcfg.o -lm -L. libtonezone.a cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c cc -o torisatool torisatool.o cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c cc -o ztmonitor ztmonitor.o cc -c ztspeed.c cc -o ztspeed ztspeed.o make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/linux-2.6.5-7.108' Makefile:438: .config: No such file or directory WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled. CC [M] /usr/src/zaptel/zaptel.o /bin/sh: line 1: scripts/basic/fixdep: No such file or directory make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1 make[1]: *** [_module_/usr/src/zaptel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.5-7.108' make: *** [linux26] Error 2 sip:/usr/src/zaptel #
On Fri, 2004-10-15 at 10:15, Franz Edler wrote:> Hi all, > > I am trying to compile Asterisk beginning with zaptel. > Now I get 2 compile errors (see below). > > Can anyone give me a hint?It would be nice if you did your homework before sending a msg to 8000+ people on this list. voip-info has all the info you need: http://www.voip-info.org/wiki-Linux+Fedora and read the instructions under the "Fedora Core 2" heading. Always first check voip-info.org, the asterisk-user mailing list archives and google because most if not all newbie questions have already been answered. Regards, Patrick
First Thanks to all who worked hard to release 1.20! I installed asterisk with no problem and when it came to installing the zaptel drivers I am getting the following errors. Can anyone help me? The error message is: You do not appear to have the sources for the 2.6.9-22.0.1.EL kernel installed. make: *** [linux26] Error 1 I am installing it on a Cento 4.2 server. Can someone shed some light on this? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051117/85e6fe56/attachment.htm
Goran Donev wrote:> The error message is: > > > > You do not appear to have the sources for the 2.6.9-22.0.1.EL kernel > installed. > > make: *** [linux26] Error 1 > > > > > > I am installing it on a Cento 4.2 server. > > > > Can someone shed some light on this?yum install kernel-devel (or yum install kernel-smp-devel) Regards, -- Jason Becker Director & CEO Coalescent Systems Inc. Enabling Open Source Telephony 403.244.8089 www.coalescentsystems.ca