[Asterisk-Dev] Makefile in Fedora Core 3 (kernel source notrequired!)

Schaefer, Mark Mark.Schaefer at ONSTAR.com
Fri Dec 3 09:29:13 MST 2004


You could look for the existence of /lib/modules/$(shell uname -r)/build just like it looks for /usr/src/linux-2.6 today.

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com]
Sent: Friday, December 03, 2004 11:17 AM
To: Asterisk Developers Mailing List
Subject: Re: [Asterisk-Dev] Makefile in Fedora Core 3 (kernel source
notrequired!)


On Friday 03 December 2004 09:58, Schaefer, Mark wrote:
> 	I just found a howto on Fedora Core 3 that says that kernel sources are
> not required to build modules.  Please reference
> http://fedora.redhat.com/docs/release-notes/fc3/x86 in the package specific
> notes under kernel.  Basically, the kernels (and I think the older versions
> of Fedora do this as well) install a /lib/modules/.../build directory that
> has all the headers required to build modules.  A Makefile sample is shown
> that could be used - I made a quick change to the Makefile under zaptel and
> it worked without a flaw.  I'm not sure I'm qualified to submit the patch,
> though.

If people were only using Fedora Core3 with Asterisk, that would be an easy
patch to make.   However, many people are using other distributions.  You'd
have to ensure that your fix worked on all of them, or else this just wouldn't
be practical.

-- 
Tilghman
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list