[asterisk-dev] bug 8501 [was: compilation problems with linux 2.6.19]

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Dec 4 13:35:24 MST 2006


On Mon, Dec 04, 2006 at 08:59:13PM +0200, Oron Peled wrote:
> On Monday, 4 בDecember 2006 18:32, Tzafrir Cohen wrote:
> > I'd appreciate a "second opinion" regarding
> > http://bugs.digium.com/view.php?id=8501 .
> > On Thu, Nov 30, 2006 at 07:19:14PM +0200, Roman Yeryomin wrote:
> > > I have problems compiling zaptel (tried 1.2.11, 1.2.10 and 1.4.0-beta2 -- 
> all 
> > > give the same error) with 2.6.19 kernel
> > > conflicting types for 'bool'
> > > include/linux/types.h:36: error: previous declaration of 'bool' was here
> 
> bool was added to kernel 2.6.19:
>   http://lwn.net/Articles/2.6-kernel-api/
> 
> So it seems as another #if is needed for this case...

Naturaly. That whole thing is #ifdef-ed in the patch. But I'd rather be
compatible with that code. _Bool seems to be a defined by gcc at least
in the version I use.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list