Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162856 - suspend2-sources 2.6.19 fail to compile ipw2200 driver
Summary: suspend2-sources 2.6.19 fail to compile ipw2200 driver
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alon Bar-Lev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-19 23:26 UTC by Phil
Modified: 2007-01-20 17:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil 2007-01-19 23:26:07 UTC
Suspend2 sources fail to compile the ipw2200 driver due to the missing ieee80211.h and ieee80211_radiotap.h files. These are not included in the suspend2 sources, though they are in the gentoo sources...
Since the ipw2200 driver is on its way to being removed from the official Portage tree (along with the ieee80211 package), due to the official kernel support, it would be nice if theses header files could be added back in the suspend2 sources...

Reproducible: Always

Steps to Reproduce:
Compile the kernel with:

CONFIG_IEEE80211=y
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=y
CONFIG_IEEE80211_CRYPT_CCMP=y
CONFIG_IEEE80211_CRYPT_TKIP=y
CONFIG_IEEE80211_SOFTMAC=y
# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set

CONFIG_IPW2200=y
# CONFIG_IPW2200_MONITOR is not set
# CONFIG_IPW2200_QOS is not set
# CONFIG_IPW2200_DEBUG is not set
Actual Results:  
Compilation fails with message:
In file included from drivers/net/wireless/ipw2200.c:33:
drivers/net/wireless/ipw2200.h:52:27: error: net/ieee80211.h: No such file or di
rectory
drivers/net/wireless/ipw2200.h:53:36: error: net/ieee80211_radiotap.h: No such f
ile or directory
Comment 2 Phil 2007-01-20 00:00:05 UTC
(In reply to comment #1)
> Not our business...
> 
> http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2
> http://bugzilla.suspend2.net/index.cgi
> 

Well I just meant that the suspend2-sources patches seem to remove the ieee80211 related files... Though the gentoo-sources patches do not so... And this prevents the compilation of ipw2200. It's not related to the suspend2 software, just to the patches that are applied to the kernel sources...

So from my point of view, it's related to the suspend2-sources ebuild maintainer...

I've moved it to the 'Applications' component, sorry if it was initially mis-assigned :/
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-20 00:04:08 UTC
(In reply to comment #2)
> I've moved it to the 'Applications' component, sorry if it was initially
> mis-assigned :/

Well, you moved it to baselayout which is completely wrong :) Fixing. 

Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-20 08:53:16 UTC
Well... I use ipw2200 and suspend2 for a long time.... Never had problems.
Please search the problem in differnet place...
Such as you removed the ieee80211 when you try to emerge it externally.
Comment 5 Phil 2007-01-20 11:10:39 UTC
(In reply to comment #4)
> Well... I use ipw2200 and suspend2 for a long time.... Never had problems.
> Please search the problem in differnet place...
> Such as you removed the ieee80211 when you try to emerge it externally.
> 

Oh, I did not think about the external ebuilds removing the ieee80211 related files in the kernel sources. I re-emerged the kernel sources and everything's back as expected. I guess it will now compile fine.

Thanks! Sorry for the inconvenience.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-20 16:33:51 UTC
Wong reason.
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-20 16:34:05 UTC
Wong reason.
Comment 8 Phil 2007-01-20 17:01:26 UTC
(In reply to comment #7)
> Wong reason.
> 

I think it's the /usr/portage/net-wireless/ieee80211/files/remove-old script. When emerging ieee80211, in some cases, it asks to execute this script, which removes the ieee80211 files found in the kernel sources...