On Saturday 13 May 2006 09:02, Rich Adamson wrote: > Earl Terwilliger wrote: > > On Friday 12 May 2006 18:30, Rich Adamson wrote: > >> Carlos Alperin wrote: > >>> Rich, > >>> > >>> Check what is the content of /lib/modules/2.6.15-1.2054_FC5/build? > >> > >> I see: > >> [EMAIL PROTECTED] build]# ls > >> arch crypto init MAINTAINERS README usr > >> block Documentation ipc Makefile REPORTING-BUGS > >> configs drivers Kbuild Makefile.orig scripts > >> COPYING fs kernel mm security > >> CREDITS include lib net sound > >> [EMAIL PROTECTED] build]# > >> > >> which I thought was correct. > >> > >>> If it is empty, then you need to do yum install kernel-devel again. > >>> > >>> Also you can check running uname -a to see if you have the same release > >>> that the one that you're checking. > >> > >> Its a new install, no updates, so only a single kernel installed. > >> [EMAIL PROTECTED] build]# uname -r > >> 2.6.15-1.2054_FC5 > >> which exactly matches the kernel source download/install. > >> > >> About six of the source files in the zaptel directory compile, however > >> it barfs with several hundred errors when compiling zaptel.c. > >> > >> Rich > >> > >>> -----Original Message----- > >>> From: [EMAIL PROTECTED] > >>> [mailto:[EMAIL PROTECTED] On Behalf Of Rich > >>> Adamson Sent: Friday, May 12, 2006 4:30 PM > >>> To: Asterisk Users-List > >>> Subject: [Asterisk-Users] fc5 and link to sources? > >>> > >>> Just installed fc5, installed correct kernel source, and trying to > >>> compile zaptel-1.2. Changed the link in /lib/modules/2.6.15-1.2054_FC5 > >>> to point to /usr/src/redhat/SOURCES. Like: > >>> lrwxrwxrwx 1 root root 23 May 12 15:21 build -> > >>> /usr/src/redhat/SOURCES > >>> > >>> A 'make install' still complains with: > >>> make -C /lib/modules/2.6.15-1.2054_FC5/build > >>> SUBDIRS=/usr/src/zaptel-1.2 modules > >>> make[1]: Entering directory `/usr/src/redhat/SOURCES' > >>> make[1]: *** No rule to make target `modules'. Stop. > >>> make[1]: Leaving directory `/usr/src/redhat/SOURCES' > >>> make: *** [linux26] Error 2 > >>> > >>> What am I missing here? (must be pretty simple or I need more caffeine) > >>> > >>> Rich > > > > Rich, > > > > the original FC5 kernel is broken.. it is a known issue. > > Update to the latest kernel and re-compile zaptel again and you will be > > fine > > > > earl > > Well... the best I can determine is that svn checkout for the zaptel-1.2 > code is broken. I updated this fc5 system to 2.6.16-1.2111_FC5 (latest) > and installed the matching source, tried each of the steps referred to > in http://kb.digium.com/entry/21/4/, and the make still fails for zaptel. > > The first compile error encountered is: > cc1: error: include/linux/autoconf.h: No such file or directory > In file included from /usr/src/zaptel-1.2/zconfig.h:9, > from /usr/src/zaptel-1.2/zaptel.c:40: > In file included from /usr/src/zaptel-1.2/zaptel.c:40: > /usr/src/zaptel-1.2/zconfig.h:10:27: error: linux/version.h: No such > file or directory > /usr/src/zaptel-1.2/zconfig.h:72:5: warning: "LINUX_VERSION_CODE" is not > defined > /usr/src/zaptel-1.2/zconfig.h:72:27: warning: "KERNEL_VERSION" is not > defined > /usr/src/zaptel-1.2/zconfig.h:72:41: error: missing binary operator > before token "(" > > with about 900+ other lines of errors, of which the majority relate to > zaptel.c. > > Thoughts? > > Rich > > _______________________________________________ > --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
Hello Rich, Here is what worked for me.. 1) install FC5 (selected most everthing i could think of.. i miss the install ALL option <GRIN>) Notice this link too with the options you need for FC5 and more info on the FC5 broken kernel http://www.voip-info.org/tiki-index.php?page=Asterisk+Linux+Fedora 2) yum -y update 3) yum install kernel-devel then i installed Asterisk including Zaptel and it all went ok... Notice that you don't need the kernel source just the development package which has all the headers, etc. needed to compile Asterisk + HOWEVER.. i did not check out from svn.. I use my handy/dandy install script of which the 1st part is as follows: #!/bin/bash AST='1.2.7.1' ZAP='1.2.5' PRI='1.2.2' ADD='1.2.2' SND='1.2.1' rm -rf /opt/asterisk/install mkdir /opt/asterisk/install cd /opt/asterisk/install wget http://ftp.digium.com/pub/asterisk/asterisk-${AST}.tar.gz wget http://ftp.digium.com/pub/zaptel/zaptel-${ZAP}.tar.gz wget http://ftp.digium.com/pub/libpri/libpri-${PRI}.tar.gz wget http://ftp.digium.com/pub/asterisk/asterisk-addons-${ADD}.tar.gz wget http://ftp.digium.com/pub/asterisk/asterisk-sounds-${SND}.tar.gz earl _______________________________________________ --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
