Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 278308

Summary: net-misc/dahdi-2.1.0.4 fails to build against kernel 2.6.30
Product: Gentoo Linux Reporter: Chí-Thanh Christopher Nguyễn <chithanh>
Component: Current packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal CC: sflemming, voip+disabled
Priority: High Keywords: InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 277944    

Description Chí-Thanh Christopher Nguyễn gentoo-dev 2009-07-19 10:40:43 UTC
net-misc/dahdi-2.1.0.4 does not build against kernel 2.6.30.



Reproducible: Always

Steps to Reproduce:
1. install gentoo-sources-2.6.30
2. emerge dahdi

Actual Results:  
/var/tmp/portage/net-misc/dahdi-2.1.0.4/work/dahdi-linux-2.1.0.4/drivers/dahdi/wctc4xxp/base.c:616: error: ‘struct net_device’ has no member named ‘priv’                             

Expected Results:  
build successfully

Upstream bug reports contain patches for 2.6.30:

https://issues.asterisk.org/view.php?id=14963
https://issues.asterisk.org/view.php?id=14964
https://issues.asterisk.org/view.php?id=14965

The issue is fixed in the most current release 2.2.0.1.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2009-10-26 16:26:39 UTC
This has been addressed in version 2.2.0.2 which compiles on kernels up to and including 2.6.32 (release candidate 5; but since the merge window has closed the API should not change further).