[asterisk-bugs] [DAHDI-linux 0014963]: [patch] wctc4xxp fails building with kernel 2.6.30-rc3: implicit declaration of function ‘netif_rx_complete’

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 29 12:48:41 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14963 
====================================================================== 
Reported By:                tzafrir
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   14963
Category:                   dahdi_transcode
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-23 18:04 CDT
Last Modified:              2009-04-29 12:48 CDT
====================================================================== 
Summary:                    [patch] wctc4xxp fails building with kernel
2.6.30-rc3: implicit declaration of function ‘netif_rx_complete’
Description: 
I'm trying to build DAHDI-linux vs. kernel 2.6.30-rc3 .

Here's the first error I encounter:

/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.c:
In function 'wctc4xxp_poll':
/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.c:668:
error: implicit declaration of function 'netif_rx_complete'
/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.c:
In function 'wctc4xxp_net_capture_cmd':
/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.c:850:
error: implicit declaration of function 'netif_rx_schedule'
make[3]: ***
[/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.o]
Error 1
make[2]: ***
[/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp] Error
2
make[1]: ***
[_module_/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi] Error
2


The attached patch makes it build. See also:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=288379f050284087578b77e04f040b57db3db3f8
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014975 wctc4xxp/base.c fails to compile under ...
====================================================================== 

---------------------------------------------------------------------- 
 (0103947) svnbot (reporter) - 2009-04-29 12:48
 http://bugs.digium.com/view.php?id=14963#c103947 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 6526

U   linux/trunk/drivers/dahdi/wctc4xxp/base.c

------------------------------------------------------------------------
r6526 | sruffell | 2009-04-29 12:48:40 -0500 (Wed, 29 Apr 2009) | 7 lines

wctc4xxp: Change netif_rx_xxx to napi_xxx

The netif_rx_xxx functions were dropped from the linux kernel source on
2009-01-21 in commit 288379f050284087578b77e04f040b57db3db3f8.

(closes issue http://bugs.digium.com/view.php?id=14963)
Reported by: tzafrir
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=6526 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-29 12:48 svnbot         Note Added: 0103947                          
2009-04-29 12:48 svnbot         Status                   acknowledged =>
assigned
2009-04-29 12:48 svnbot         Status                   assigned => resolved
2009-04-29 12:48 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list