Re: [asterisk-users] Error compiling zaptel 1.4.0
Chris Nighswonger wrote: I am working with a fresh install of fc6. Kernel 2.6.20 was released after Zaptel 1.4.0, so it will not build against that kernel. Either use an older kernel, use the SVN version of Zaptel branch-1.4, or wait for the release of Zaptel 1.4.1 which should occur later today. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Error compiling zaptel 1.4.0
On 3/16/07, Kevin P. Fleming [EMAIL PROTECTED] wrote: Chris Nighswonger wrote: I am working with a fresh install of fc6. Kernel 2.6.20 was released after Zaptel 1.4.0, so it will not build against that kernel. Either use an older kernel, use the SVN version of Zaptel branch-1.4, or wait for the release of Zaptel 1.4.1 which should occur later today. I used the SVN version and it compiled without complaint! Thanks Kevin. Chris ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Error compiling zaptel
Bummer - Possibly a bug The stable stuff compiles and runs fine :( Steve - It's been about 2 months since I have updated my asterisk box. I was running CVS HEAD and I notice a whole lot has changed since my last update! I'm running Debian Sarge up to date on a 2.4 Kernel. I was updating about every 2 or 3 weeks and never had any problems compiling zaptel/libpri/asterisk I now am coming out of a deep sleep and want to get back into it again, but zaptel will not compile. Is this a bug that I just need to wait for to be fixed? Or am I totally missing something that I need to make it compile? Followed the intructions on the site... Also noticed that everything now uses svn instead of CVS. Here's what I get when I try to compile zaptel: make install cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\/etc/zaptel.conf\ -lm gendigits.c -o gendigits ./gendigits gcc -I/lib/modules/2.4.27-2-386/build/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/lib/modules/2.4.27-2-386/build/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/2.4.27-2-386/build/drivers/net/wan -I/lib/modules/2.4.27-2-386/build/include/net -DMODVERSIONS -include /lib/modules/2.4.27-2-386/build/include/linux/modversions.h -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c zaptel.c:41:21: version.h: No such file or directory In file included from /lib/modules/2.4.27-2-386/build/include/linux/spinlock.h:6, from /lib/modules/2.4.27-2-386/build/include/linux/module.h:12, from zaptel.c:45: /lib/modules/2.4.27-2-386/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.4.27-2-386/build/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.4.27-2-386/build/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules zaptel.c: In function `zt_ctl_ioctl': zaptel.c:3476: error: `ZAPTEL_VERSION' undeclared (first use in this function) zaptel.c:3476: error: (Each undeclared identifier is reported only once zaptel.c:3476: error: for each function it appears in.) zaptel.c: In function `zt_init': zaptel.c:6838: error: `ZAPTEL_VERSION' undeclared (first use in this function) make: *** [zaptel.o] Error 1 Any ideas what I should try next? Thanks! Steve ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Error compiling Zaptel
On Tue, 2004-05-11 at 10:16, San Singhania wrote: Hi, I just finished downloading asterisk and when trying to compile the zaptel drivers, get the following errors. I dont have a clue whats going on... can someone help. /usr/include/linux/modversions.h:1:2:#error Modules should never use kernel-headers system headers, /usr/include/linux/modversions.h:2:2: error but rather headers from an appropriate kernel-source package. /usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel. make: *** [zaptel.o] Error 1 Lets draw your attention to these excerpts of the errors you sent. Once you read those error messages, you should formulate the opinion that having the kernel source for your running kernel is IMPORTANT. Then you will also need to make sure you have the proper modversions.h built by the kernel source too. -- Steven Critchfield [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Error compiling Zaptel
Title: Message Your question would be better posed on a Linux site, as you're having problems with your linux installation, not so much with Asterisk itself. Search google for "linux recompile kernel" and add the actual linux distro as a search term (redhat, debian, freebsd, mandrake, whatever). See if you find your answer, if not, ask in the same place you find close matches. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of San SinghaniaSent: Tuesday, May 11, 2004 11:11 AMTo: [EMAIL PROTECTED]Subject: Re: [Asterisk-Users] Error compiling Zaptel Ok, how do I go about doing that? I am not exactly a linux expert, infact this is the 2nd time I am installing it. I would really appreciate some direction on this. Thanks San Lets draw your attention to these excerpts of the errors you sent. Once you read those error messages, you should formulate the opinionthat having the kernel source for your running kernel is IMPORTANT. Thenyou will also need to make sure you have the proper modversions.h builtby the kernel source too. -- Steven Critchfield [EMAIL PROTECTED]
RE: [Asterisk-Users] Error compiling Zaptel
Do you have a symlink in /usr/src as follows? lrwxrwxrwx 1 root src 20 May 7 11:01 linux - kernel-source-2.4.18 (note that it may differ depending on the kernel source you have?) If youve installed via an apt style package manager, and havnt recompiled your kernel, then visit www.kernel.org, download a stable kernel (I recommended 2.4.26). Extract it to /usr/src/linux-kernelnumber Then create a symlink ln s /usr/src/kernel source /usr/src/linux This should resolve the issues youre having there, else Ive missed the point and just waffled for 5 minutes ;) Hope that helps, Ben Merrills Griffin Internet From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of San Singhania Sent: 11 May 2004 16:17 To: [EMAIL PROTECTED] Subject: [Asterisk-Users] Error compiling Zaptel Hi, I just finished downloadingasterisk and when trying to compile the zaptel drivers, get the following errors. I dont have a clue whats going on... can someone help. In file included from /usr/include/linux/module.h:20, from zaptel.c:44: /usr/include/linux/modversions.h:1:2:#error Modules should never use kernel-headers system headers, /usr/include/linux/modversions.h:2:2: error but rather headers from an appropriate kernel-source package. /usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include /usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel. make: *** [zaptel.o] Error 1 Thanks San