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

Bug 179028

Summary: net-wireless/ipw3945-1.2.0 compilation fails with 2.6.22 (trivial fix)
Product: Gentoo Linux Reporter: smrspam88
Component: New packagesAssignee: Christian Heim (RETIRED) <phreak>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 158420    
Attachments: ipw3945.patch

Description smrspam88 2007-05-18 18:35:55 UTC
ipw3945 fails with 2.6.22-rc1 with error
 * Found sources for kernel version:
 *     2.6.22-rc1
 * Checking for suitable kernel configuration options...
 *   ipw3945-1.2.0 requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO).
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.


CONFIG_NET_RADIO has been renamed to CONFIG_WLAN_80211. The attached patch fixes the ebuild (by trivially checking the kernel version).
Hope this will be fixed soon!

Reproducible: Always

Steps to Reproduce:
1. try to emerge ipw3945 with 2.6.22 RC
2.
3.
Comment 1 smrspam88 2007-05-18 18:36:56 UTC
Created attachment 119625 [details]
ipw3945.patch

apply to ipw3945-1.2.0.ebuild
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-05-20 17:52:36 UTC
(In reply to comment #0)
> ipw3945 fails with 2.6.22-rc1 with error
>  * Found sources for kernel version:
>  *     2.6.22-rc1
>  * Checking for suitable kernel configuration options...
>  *   ipw3945-1.2.0 requires support for Wireless LAN drivers (non-hamradio) &
> Wireless Extensions (CONFIG_NET_RADIO).
>  * Please check to make sure these options are set correctly.
>  * Failure to do so may cause unexpected problems.
>  * Once you have satisfied these options, please try merging
>  * this package again.
> 
> 
> CONFIG_NET_RADIO has been renamed to CONFIG_WLAN_80211. The attached patch
> fixes the ebuild (by trivially checking the kernel version).
> Hope this will be fixed soon!

OK, I just committed your fix to ipw3945-1.2.1, thanks for the patch!
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-07-10 09:51:09 UTC
sorry, but:

This option does not affect the kernel build, it only lets you choose drivers.

I fixed it and the previous versions to use WIRELESS_EXT which works for all kernel versions :)