I am using centos 4.4 server cd ,when I am trying to compile zaptel 1.4.2 ,the following error appears>From where I can get the missing rpms .or kernel sourcegrep: /lib/modules/2.6.18-8.el5/build/include/linux/autoconf.h: No such file or directory grep: /lib/modules/2.6.18-8.el5/build/include/linux/autoconf.h: No such file or directory make[1]: Entering directory `/usr/src/zaptel-1.4.2' You do not appear to have the sources for the 2.6.18-8.el5 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory `/usr/src/zaptel-1.4.2' make: *** [all] Error 2 [root@XPL zaptel-1.4.2]# rpm -q kernel kernel-2.6.18-8.el5 Regards ********************************************* No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. ********************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070529/d1eb04c8/attachment.htm
You need to install linux kernel headers 2007/5/29, Khaled Chehab <kchehab@xplorium.com>:> > I am using centos 4.4 server cd ,when I am trying to compile zaptel 1.4.2,the following error appears > > From where I can get the missing rpms .or kernel source > > > > > > grep: /lib/modules/2.6.18-8.el5/build/include/linux/autoconf.h: No such > file or directory > > grep: /lib/modules/2.6.18-8.el5/build/include/linux/autoconf.h: No such > file or directory > > make[1]: Entering directory `/usr/src/zaptel-1.4.2' > > You do not appear to have the sources for the 2.6.18-8.el5 kernel > installed. > > make[1]: *** [modules] Error 1 > > make[1]: Leaving directory `/usr/src/zaptel-1.4.2' > > make: *** [all] Error 2 > > [root@XPL zaptel-1.4.2]# rpm -q kernel > > kernel-2.6.18-8.el5 > > > > > > Regards > > > > > > > > > ------------------------------ > ********************************************* > > No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. > > > This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. > > > If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. > > > Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. > ********************************************* > > > _______________________________________________ > --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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070529/245562e0/attachment.htm
I am using centos 4.4 server cd ,when I am trying to compile zaptel 1.4.2 ,the following error appears>From where I can get the missing rpms .or kernel source ,or the kernelheader Generating input for menuselect ... grep: /include/linux/autoconf.h: No such file or directory make[1]: Entering directory `/usr/src/zaptel' gcc gendigits.c -lm -o gendigits ./gendigits > tones.h gcc -o makefw makefw.c ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file ./makefw pciradio.rbt radfw > radfw.h Loaded 42096 bytes from file You do not appear to have the sources for the 2.6.9-42.ELsmp kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory `/usr/src/zaptel' make: *** [all] Error 2 [root@XPL zaptel-1.4.2]# rpm -q kernel 2.6.9-42.ELsmp Regards _____ ********************************************* No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. ********************************************* _______________________________________________ --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 <http://lists.digium.com/mailman/listinfo/asterisk-users> ********************************************* No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. ********************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070529/ac38eea4/attachment.htm
Hi Please don't start three different threads for the same topic, On Tue, May 29, 2007 at 10:11:44AM -0700, Khaled Chehab wrote:> I am using centos 4.4 server cdCentos 4.4 or centos5?> ,when I am trying to compile zaptel 1.4.2 > ,the following error appears > > >From where I can get the missing rpms .or kernel source > > grep: /lib/modules/2.6.18-8.el5/build/include/linux/autoconf.h: No such file > or directoryNow that's a centos 5 kernel. How did it get here? What is the output of: uname -a ls -l /lib/modules/`uname -r`/> > grep: /lib/modules/2.6.18-8.el5/build/include/linux/autoconf.h: No such file > or directory > > make[1]: Entering directory `/usr/src/zaptel-1.4.2' > > You do not appear to have the sources for the 2.6.18-8.el5 kernel installed. > > make[1]: *** [modules] Error 1 > > make[1]: Leaving directory `/usr/src/zaptel-1.4.2' > > make: *** [all] Error 2 > > [root@XPL zaptel-1.4.2]# rpm -q kernel > > kernel-2.6.18-8.el5What is the output of: rpm -qa | grep kernel I'm also not sure your version of gcc is compatible to the one built that kernel. -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir