[Asterisk-Dev] RE: [Asterisk-cvs] zaptel README.Linux26,1.2,1.3zaptel.h,1.33,1.34

James Golovich james at wwnet.net
Wed Jun 30 10:11:31 MST 2004


On Wed, 30 Jun 2004, Kevin Walsh wrote:

> James Golovich [james at wwnet.net] wrote:
> > On Wed, 30 Jun 2004, Kevin Walsh wrote:
> > > malcolmd at lists.digium.com wrote (CVS log):
> > > >
> > > > Also comment out the DEVFS compile
> > > > warning for post 2.4 systems running DEVFS (Gentoo)
> > > > 
> > > Why was this done?  The warning could be useful for anyone attempting
> > > to build Zaptel for a 2.6 kernel that has devfs enabled.  This is
> > > especially true for Gentoo, which has devfs enabled by default.
> > > 
> > > Switching off the warning will just lead to problems later.
> > >
> > Actually dropping the warnings won't do anything at all because we just
> > don't use devfs with 2.6.  If we detect that DEVFS is enabled we simply
> > undefine it and don't use it, otherwise the code won't compile.
> >
> On Gentoo, more work needs to be done to work without devfs, such as
> "emerge udev".  It's not a lot of work, but the warning would help
> to alert people that something may need to be done.  After all, Gentoo
> was cited as the reason for dropping the warning.

zaptel does not support udev, we just don't use DEVFS and handle the
/dev/zap devices the old way

> 
> The code will compile with or without the warning.  I'm just saying
> that the warning could be helpful to some people and may help to avoid
> newbie install problems in the future.

The warning won't help anything.  We still have the following in the
Makefile
#We only support DEVFS in linux 2.4 kernels, since its considered obsolete
post 2.4

James




More information about the asterisk-dev mailing list