On 7/11/05, <b class="gmail_sendername">Tzafrir Cohen</b> <<a href="mailto:tzafrir@cohens.org.il">tzafrir@cohens.org.il</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Jul 12, 2005 at 11:04:16AM +1000, Gonzalo Servat wrote:<br>> On 7/12/05, Eric Bullen <<a href="mailto:barnabus.pinklehorn@gmail.com">barnabus.pinklehorn@gmail.com</a>> wrote:<br>> > I hope someone can offer me some help with this. Basically, the current CVS
<br>> > version of Zaptel will not compile under Fedora Core 4. I have closely<br>> > followed the directions in<br>> > <a href="http://www.voip-info.org/tiki-index.php?page=Asterisk+Fedora+Core+3">http://www.voip-info.org/tiki-index.php?page=Asterisk+Fedora+Core+3
</a><br>> > using the versions given in the FC4 distro with no luck. Here's the output<br>> > when I run "make linux26". Any help would be great. TIA.<br>><br>> [...snip...]<br>><br>> > In file included from /asterisk_source/zaptel/zaptel.c:40:
<br>> > /asterisk_source/zaptel/zconfig.h:10:27: error:<br>> > linux/version.h: No such file or directory<br>><br>> Try installing kernel-source and/or glibc-kernheaders RPMs from the FC4 CDs.<br><br>kernel-glibcheaders is the part of the kernel headers that user-space
<br>programs need. Not any good reference for any kernel module to build<br>with.<br><br>linux/version.h is generated as part of the configuration process of the<br>kernel configuration process ("make {,menu,x,g}config") of the kernel
<br>source.<br><br>What version of zaptel do you try to build? For what kernel version?<br>Your distro's default or your one you've built yourself?</blockquote><div><br>
<br>
That did the trick- I untarred the kernel source, ran "make
oldconfig && make", and got the linux/version.h file. Then did
a "ln -s kernels/linux-2.6.12 linux-2.6" in the /usr/src dir. Once that
was done, went to the zaptel dir and it compiled beautifully. Thank you
so much.<br>
<br>
To answer your question, I am running the latest version in CVS using
"cvs update -d -r v1-0", and kernel 2.6.12. I ended up building my own
kernel (not installed) to get this to work (not sure if I could do it
the other way).<br>
<br>
Thanks again for the help, and hopefully my notes will help others.<br>
<br>
-Eric<br>
</div><br></div><br>