[asterisk-bugs] [JIRA] (DAHLIN-312) Error: conflicting types for 'bool' when compiled after CentOS upgraded to 5.9, kernel 2.6.18-348.el5
Vladimir Mikhelson (JIRA)
noreply at issues.asterisk.org
Sat Jan 19 22:42:21 CST 2013
[ https://issues.asterisk.org/jira/browse/DAHLIN-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201900#comment-201900 ]
Vladimir Mikhelson commented on DAHLIN-312:
-------------------------------------------
Shaun,
I failed to apply the patch you provided.
Even though I changed the paths from "a/drivers...", "b/drivers..." to "drivers/..." in
|--- a/drivers/dahdi/xpp/xdefs.h
|+++ b/drivers/dahdi/xpp/xdefs.h
I still received the following:
[root at pbx linux]# patch -p0 < 0001-xpp-Do-not-typedef-_Bool-on-RHEL-5.2-or-later.patch
patching file drivers/dahdi/xpp/xdefs.h
Hunk #1 FAILED at 145.
1 out of 1 hunk FAILED -- saving rejects to file drivers/dahdi/xpp/xdefs.h.rej
Thank you,
Vladimir
> Error: conflicting types for 'bool' when compiled after CentOS upgraded to 5.9, kernel 2.6.18-348.el5
> -----------------------------------------------------------------------------------------------------
>
> Key: DAHLIN-312
> URL: https://issues.asterisk.org/jira/browse/DAHLIN-312
> Project: DAHDI-Linux
> Issue Type: Bug
> Security Level: None
> Components: Astribank (xpp)
> Affects Versions: 2.6.1
> Environment: Centos 5.9 has been just applied, kernel 2.6.18-348.el5, before reboot
> Reporter: Vladimir Mikhelson
> Assignee: Russ Meyerriecks
> Attachments: 0001-xpp-Do-not-typedef-_Bool-on-RHEL-5.2-or-later.patch, make_output.txt
>
>
> Applied CentOS 5.9 yum updates, DAHDI was removed for dependencies, new RPMs were not available, ran MAKE, received the following:
> \\
> \\
> {code}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.el5-i686'
> 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{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list