[asterisk-bugs] [DAHDI-linux 0014975]: wctc4xxp/base.c fails to compile under 2.6.29.1

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 29 15:40:57 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14975 
====================================================================== 
Reported By:                vahan
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   14975
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2009-04-27 04:59 CDT
Last Modified:              2009-04-29 15:40 CDT
====================================================================== 
Summary:                    wctc4xxp/base.c fails to compile under 2.6.29.1
Description: 
  CC [M]  /usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.o
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_set_multi’:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:616: error:
‘struct net_device’ has no member named ‘priv’
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_up’:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:624: error:
‘struct net_device’ has no member named ‘priv’
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_down’:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:639: error:
‘struct net_device’ has no member named ‘priv’
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_hard_start_xmit’:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:656: error:
‘struct net_device’ has no member named ‘priv’
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_poll’:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:717: warning:
passing argument 1 of ‘netif_rx_complete’ from incompatible
pointer type
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:717: error: too
many arguments to function ‘netif_rx_complete’
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_get_stats’:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:726: error:
‘struct net_device’ has no member named ‘priv’
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_ioctl’:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:763: error:
‘struct net_device’ has no member named ‘priv’
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_register’:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:799: error:
‘struct net_device’ has no member named ‘priv’
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_net_capture_cmd’:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:891: warning:
passing argument 1 of ‘netif_rx_schedule’ from incompatible
pointer type
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:891: error: too
many arguments to function ‘netif_rx_schedule’
make[3]: *** [/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.o]
Error 1
make[2]: *** [/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp] Error
2
make[1]: *** [_module_/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29.1'
make: *** [modules] Error 2
[root]# uname -a
Linux sip2-4.abcdef.com 2.6.29.1 http://bugs.digium.com/view.php?id=1 SMP Sat
Apr 25 18:59:08 AMST 2009
x86_64 x86_64 x86_64 GNU/Linux

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014963 [patch] wctc4xxp fails building with ke...
====================================================================== 

---------------------------------------------------------------------- 
 (0103962) vahan (reporter) - 2009-04-29 15:40
 http://bugs.digium.com/view.php?id=14975#c103962 
---------------------------------------------------------------------- 
sruffell: tried both CentOS 5.2 & CentOS 5.3, 2.6.29.1 compiled using
kernel full sources from kernel.org, no custom patches 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-29 15:40 vahan          Note Added: 0103962                          
======================================================================




More information about the asterisk-bugs mailing list