[Asterisk-Dev] FC3 up2date and Zaptel

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Aug 16 22:59:17 MST 2005


On Tue, Aug 16, 2005 at 05:22:12PM -0600, Steve Murphy wrote:
> Hello--
> 
> A few weeks back, I ran the FC3 up2date, and it updated my kernel.
> But to my dismay, zaptel would no longer build.
> 
> I had to download the kernel-src package, and follow (with painstaking
> care) the kernel source explosion instructions in the FC3 release notes.
> 
> I also, on top of that, had to do some improvisation, as the kernel
> sources did not put the source where the updated package was expecting
> it be, so I created the hierarchy so the kernel BUILD stuff was where
> the links point to.
> 
> So, what happened? has Fedora just changed something, or is Asterisk
> doing something different? Oh, and PLEASE, for those so inclined, skip
> all the angry anti-redhat ranting and raving. It won't help.

> 
> The FC3 (and FC4) release notes say this:
> 
> 
> > 6.2.2.4. Building Only Kernel Modules
> > An exploded source tree is not required to build a kernel module, such
> > as your own device driver, against the currently in-use kernel. 
> > 
> > For example, to build the foo.ko module, create the following Makefile
> > in the directory containing the foo.c file: 
> > 
> > obj-m := foo.o
> > 
> > KDIR  := /lib/modules/$(shell uname -r)/build
> > PWD   := $(shell pwd)
> > 
> > default:
> >     $(MAKE) -C $(KDIR) M=$(PWD) modules
> > 
> > Issue the make command to build the foo.ko module. 
> > 
> > 

What version of Zaptel do you try to build? Similar changes are already
in place in HEAD.

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-dev mailing list