[asterisk-bugs] [JIRA] (DAHLIN-312) Error: conflicting types for 'bool' when compiled after CentOS upgraded to 5.9, kernel 2.6.18-348.el5

george hernandez (JIRA) noreply at issues.asterisk.org
Fri Mar 22 08:47:02 CDT 2013


    [ https://issues.asterisk.org/jira/browse/DAHLIN-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204489#comment-204489 ] 

george hernandez commented on DAHLIN-312:
-----------------------------------------

Hi all I have centos with 5.9 with kernel 2.6.18-348.3.1.el5 installed and working with Asterisk 1.8.20.1 and dahdi 2.6.1 was testing an upgrade to dahdi 2.6.2 but I get the following error and patch that appears here because it has


CC [M] / home/asterg/rpmbuild/BUILD/dahdi-linux-complete-2.6.2 +2.6.2 / linux/drivers/dahdi/opvxa24xx/ec3000.o
error: macro "KERNEL_VERSION" requires 3 arguments, but only 1 Given
make [4]: *** Error 1
make [3]: *** [/ home/asterg/rpmbuild/BUILD/dahdi-linux-complete-2.6.2 +2.6.2 / linux/drivers/dahdi/opvxa24xx] Error 2
make [2]: *** [_module_/home/asterg/rpmbuild/BUILD/dahdi-linux-complete-2.6.2 +2.6.2 / linux / drivers / dahdi] Error 2
make [2]: Leaving directory `/ usr/src/kernels/2.6.18-348.3.1.el5-i686 '
make [1]: *** [modules] Error 2
make [1]: Leaving directory `/ home/asterg/rpmbuild/BUILD/dahdi-linux-complete-2.6.2 +2.6.2 / linux '
make: *** [all] Error 2
error: State erred neo output of / var/tmp/rpm-tmp.21317 (% build)


Errors of Construction RPM:
     State erred neo output of / var/tmp/rpm-tmp.21317 (% build)
                
> 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, 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: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list