Bug 179028 - net-wireless/ipw3945-1.2.0 compilation fails with 2.6.22 (trivial fix)
Bug#: 179028 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: phreak@gentoo.org Reported By: mreincke@gmx.net
Component: Ebuilds
URL: 
Summary: net-wireless/ipw3945-1.2.0 compilation fails with 2.6.22 (trivial fix)
Keywords:  
Status Whiteboard: 
Opened: 2007-05-18 18:35 0000
Description:   Opened: 2007-05-18 18:35 0000
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 From Momsen Reincke 2007-05-18 18:36:56 0000 -------
Created an attachment (id=119625) [details]
ipw3945.patch

apply to ipw3945-1.2.0.ebuild

------- Comment #2 From Christian Heim (RETIRED) 2007-05-20 17:52:36 0000 -------
(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 From Stefan Schweizer 2007-07-10 09:51:09 0000 -------
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 :)