[asterisk-users] Zaptel Compatibility
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Wed Apr 30 15:57:54 CDT 2008
On Wed, Apr 30, 2008 at 09:21:37PM +0300, Tzafrir Cohen wrote:
> On Wed, Apr 30, 2008 at 02:00:57PM -0400, Andreas van dem Helge wrote:
> > Is Zaptel 1.4.10 compatible with RHEL 3 (2.4.21-53.ELsmp)? Because I
> > can compile 1.2.20.1 just fine but 1.4 says:
> >
> > echo "You do not appear to have the sources for the 2.4.21-53.ELsmp
> > kernel installed."
> > You do not appear to have the sources for the 2.4.21-53.ELsmp kernel installed.
> > exit 1
> > make[1]: *** [modules] Error 1
> > make[1]: Leaving directory `/usr/src/zaptel-1.4.10'
> > make: *** [all] Error 2
> >
> >
> > Yes kernel-source is installed, there is no kernel-devel. I read one
> > account where if I use non-SMP kernel it might work. But there's no
> > fun it that. 1.2 works why not 1.4? Failing getting 1.4 to work can I
> > use Zaptel 1.2 with Asterisk 1.4? I think not but just wanted to make
> > sure.
>
> Zaptel will look as the kernel source for (in this specific order)
>
> 1. Whatever you explicitly set in KSRC (if you did)
> 2. /lib/modules/$KVERS/build (if you set KVERS explicitly)
> 3. /lib/modules/`uname -r`/build
> 4. /usr/src/linux-2.4
> 5. /usr/src/linux
>
> 'build' in (2) and (3) is normally a symlink to the path of the kernel.
I forgot to mention that there's an additional test done: the source
directory found (KSRC) has to have a file called ".config" in it .
Which is the first of those directories that you actually have?
To better debug this, edit the Makefile. Find the line with that error
message and add the word '$(KSRC)' (without quotes) to it. This should
help you see what the makefile thought is the kernel source tree.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list