[asterisk-users] Zaptel Compatibility
Andreas van dem Helge
joakimsen at gmail.com
Wed Apr 30 19:05:20 CDT 2008
/lib/modules/2.4.21-53.ELsmp/build
root at unisoft [/]# ll /lib/modules/2.4.21-53.ELsmp/build
lrwxrwxrwx 1 root root 35 Apr 30 04:48
/lib/modules/2.4.21-53.ELsmp/build ->
../../../usr/src/linux-2.4.21-53.EL/
There's something wrong with this system
usr/src/linux-2.4.21-53.EL/.build is missing and I get errors trying
to do 'make cloneconfig'
On Wed, Apr 30, 2008 at 4:57 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> 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
>
> _______________________________________________
> -- 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
>
More information about the asterisk-users
mailing list