Dahdi-linux-complete-2.2.1.1+2.2.1.1 make all errors

I am using Centos 5.4, with kernel 2.6.18-308.1.1.el5.i386 & by yum update, kernel update to 2.6.18-348.1.1.el5PAE.
When i try to install dahdi by rpm, i got error at ‘make all’ command.
Output in terminal is as follows

When i try to find out answer from google i found links
https://issues.asterisk.org/jira/browse/DAHLIN-312?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel
https://issues.asterisk.org/jira/browse/ANOW-170
both links shows same problem, but i cant get it all.
In simple language how i solve this & install asterisk local disk?
In previous kernel i run asterisk from DRBD-heartbeat’s distributed disk. can i do this with latest kernel?

Preferred approach:

Type “man patch”. Read and apply. and apply the gained kmowledge.

Fallback approach.

Download the second attachment to the first issue. Change directory to drivers/dahdi/xpp. Type “patch < name-of-downloaded-patch-file”. Start the build again.