[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-users
Subject: Re: [asterisk-users] Zaptel Compatibility
From: Tzafrir Cohen <tzafrir.cohen () xorcom ! com>
Date: 2008-04-30 20:57:54
Message-ID: 20080430205754.GL27523 () xorcom ! com
[Download RAW message or body]
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@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic