[asterisk-users] erro compiling dahdi
Shaun Ruffell
sruffell at digium.com
Tue Apr 16 14:08:58 CDT 2013
On Tue, Apr 16, 2013 at 09:03:21PM +0200, Jonas Kellens wrote:
> Hello,
>
> when compiling dahdi (CentOS 2.6.18-348.3.1.el5) I get the following error :
>
>
> In file included from /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xpd.h:26,
> from /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/card_bri.c:29:
> /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xdefs.h:152:
> error: conflicting types for 'bool'
> include/linux/types.h:36: error: previous declaration of 'bool' was here
> make[4]: *** [/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/card_bri.o]
> Error 1
> make[3]: ***
> [/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp]
> Error 2
> make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi]
> Error 2
> make[2]: Leaving directory `/usr/src/kernels/2.6.18-348.3.1.el5-x86_64'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux'
> make: *** [all] Error 2
>
> What is wrong ?
>
This was resolved in commit "xpp: Do not typedef bool on RHEL 5.2 or
later" [1] which was released in DAHDI-Linux 2.6.2.
Cheers,
Shaun
[1] http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=179a48862daf35d022f6fecaf7e5c8195f9d4921
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list