Summary:ASTERISK-15692: Compile fails in dahdi_show_status with kernel 2.6.33
Reporter:Colin Beckingham (colbec)Labels:
Date Opened:2010-02-25 06:54:59.000-0600Date Closed:2011-06-07 14:04:56
Versions:Frequency of
Description:Just upgraded kernel to 2.6.33.
Compile/install of dahdi-linux and dahdi-tools from SVN ok.

Compile asterisk from SVN with chan_dahdi =yes fails at

  [CC] chan_dahdi.c -> chan_dahdi.o
chan_dahdi.c: In function ‘dahdi_show_status’:
chan_dahdi.c:14889: error: ‘struct dahdi_spaninfo’ has no member named ‘bpvcount’
chan_dahdi.c:14889: error: ‘struct dahdi_spaninfo’ has no member named ‘crc4count’
make[1]: *** [chan_dahdi.o] Error 1
make: *** [channels] Error 2

with chan_dahdi = no, compile and install ok.
with standard compile fails.

Comments:By: Colin Beckingham (colbec) 2010-03-01 09:31:31.000-0600

I believe this is my error.
Telephony not switched on in kernel config.

By: Jeff Peeler (jpeeler) 2010-03-05 13:25:28.000-0600

After turning on the proper options were you able to compile successfully?

By: Colin Beckingham (colbec) 2010-03-05 13:29:48.000-0600

Correct. Compile successful.

By: Leif Madsen (lmadsen) 2010-03-11 11:25:03.000-0600

Reopened per IRC and kpfleming.

By: Jeff Peeler (jpeeler) 2010-03-11 16:21:31.000-0600

Revision 8061 briefly broke ABI compatibility, but was fixed in 8147 of dahdi-linux.