<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=499131114-14072005><FONT face=Arial color=#0000ff size=2>My 
fault.&nbsp; </FONT></SPAN><SPAN class=499131114-14072005><FONT face=Arial 
color=#0000ff size=2>The kernel and kernel-dev packages got out of sync.&nbsp; 
All is better now.</FONT></SPAN></DIV>
<DIV><SPAN class=499131114-14072005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Bates, Curtis 
  <BR><B>Sent:</B> Tuesday, July 12, 2005 2:39 PM<BR><B>To:</B> Eric Bullen; 
  Asterisk Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> RE: 
  [Asterisk-Users] Zaptel won't compile under Fedora Core 4<BR><BR></FONT></DIV>
  <DIV><SPAN class=354413719-12072005><FONT face=Arial color=#0000ff 
  size=2>Which version of Zaptel are you using?&nbsp; I am using version 1.09 
  and having issues,&nbsp; I did not have issues with 1.08.</FONT></SPAN></DIV>
  <BLOCKQUOTE>
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Eric Bullen 
    [mailto:barnabus.pinklehorn@gmail.com]<BR><B>Sent:</B> Tuesday, July 12, 
    2005 12:36 PM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial 
    Discussion<BR><B>Subject:</B> Re: [Asterisk-Users] Zaptel won't compile 
    under Fedora Core 4<BR><BR></FONT></DIV>On 7/11/05, <B 
    class=gmail_sendername>Tzafrir Cohen</B> &lt;<A 
    href="mailto:tzafrir@cohens.org.il">tzafrir@cohens.org.il</A>&gt; wrote: 
    <DIV><SPAN class=gmail_quote></SPAN>
    <BLOCKQUOTE class=gmail_quote 
    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">On 
      Tue, Jul 12, 2005 at 11:04:16AM +1000, Gonzalo Servat wrote:<BR>&gt; On 
      7/12/05, Eric Bullen &lt;<A 
      href="mailto:barnabus.pinklehorn@gmail.com">barnabus.pinklehorn@gmail.com</A>&gt; 
      wrote:<BR>&gt; &gt; I hope someone can offer me some help with this. 
      Basically, the current CVS <BR>&gt; &gt; version of Zaptel will not 
      compile under Fedora Core 4. I have closely<BR>&gt; &gt; followed the 
      directions in<BR>&gt; &gt; <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>&gt; &gt; using the versions given in the FC4 distro with no 
      luck.&nbsp;&nbsp;Here's the output<BR>&gt; &gt; when I run "make linux26". 
      Any help would be great. TIA.<BR>&gt;<BR>&gt; [...snip...]<BR>&gt;<BR>&gt; 
      &gt;&nbsp;&nbsp;In file included from /asterisk_source/zaptel/zaptel.c:40: 
      <BR>&gt; &gt;&nbsp;&nbsp;/asterisk_source/zaptel/zconfig.h:10:27: 
      error:<BR>&gt; &gt; linux/version.h: No such file or 
      directory<BR>&gt;<BR>&gt; 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-&nbsp; I&nbsp; untarred the kernel source, 
    ran "make oldconfig &amp;&amp; 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></BLOCKQUOTE><FONT 
  size=3><BR><BR>-------------------------------------------------------------------------------------<BR>A.G. 
  Edwards &amp; Sons' outgoing and incoming e-mails are 
  electronically<BR>archived and subject to review and/or disclosure to someone 
  other <BR>than the 
  recipient.<BR><BR>-------------------------------------------------------------------------------------<BR></BLOCKQUOTE></FONT></BODY></HTML>