[Home]

Summary:DAHLIN-00155: ‘DMA_nnBIT_MASK’ is deprecated
Reporter:Chodorenko Michail (chodorenko)Labels:
Date Opened:2009-10-23 04:58:51Date Closed:2009-12-14 15:53:53.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:General
Versions:2.2.0.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:i not can make Dahdi-tools 2.2.0.2 in OpenSuSE 11.2 RC1

log of build
CC [M]  /tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.o
/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c: In function ‘wctc4xxp_net_register’:
/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:776: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:777: error: ‘struct net_device’ has no member named ‘open’
/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:778: error: ‘struct net_device’ has no member named ‘stop’
/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:779: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:780: error: ‘struct net_device’ has no member named ‘get_stats’
/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:781: error: ‘struct net_device’ has no member named ‘do_ioctl’
/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c: In function ‘wctc4xxp_init_one’:
/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:3460: warning: ‘DMA_nnBIT_MASK’ is deprecated
make[5]: *** [/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.o] Error 1
make[4]: *** [/tested/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp] Error 2
make[3]: *** [_module_/tested/dahdi-linux-2.2.0.2/drivers/dahdi] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31.3-1-obj/x86_64/default'
make: *** [modules] Error 2


# gcc --version
gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839]

# uname -a
Linux test_box 2.6.31.3-1-default #1 SMP 2009-10-08 00:27:25 +0200 x86_64 x86_64 x86_64 GNU/Linux


****** ADDITIONAL INFORMATION ******

# gcc --version
gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839]

# uname -a
Linux test_box 2.6.31.3-1-default #1 SMP 2009-10-08 00:27:25 +0200 x86_64 x86_64 x86_64 GNU/Linux
Comments:By: anest (anest) 2009-12-13 23:32:04.000-0600

i got same problem on gentoo. a few months ago on same system all was OK. so, something broken now.

By: dant (dant) 2009-12-14 01:14:33.000-0600

Corrected in trunk, ref DAHLIN-138, but no new release of dahdi since...

By: anest (anest) 2009-12-14 01:24:02.000-0600

i tryed on different machine - same situation! its look like all broken but nobody care... for while! its terrible :\

By: dant (dant) 2009-12-14 01:51:00.000-0600

Anest, problem is kernel >= 2.6.31 has had a compat netdev API removed.
You have three options, 1) use an earlier kernel, 2) check dahdi-linux out from SVN and use that, 3) wait for a new release version of dahdi-linux that includes the fix currently present in SVN.

By: anest (anest) 2009-12-14 01:59:27.000-0600

thnx!
ps: how can i get the SVN? what address is?

By: dant (dant) 2009-12-14 03:48:36.000-0600

http://www.asterisk.org/developer/resources/svn

By: Jason Parker (jparker) 2009-12-14 15:53:53.000-0600

Closing, as this is a duplicate of DAHLIN-138