Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138891 - linux-wlan-ng-modules do not compile with kernel 2.6.17
Summary: linux-wlan-ng-modules do not compile with kernel 2.6.17
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-02 11:18 UTC by Alex
Modified: 2006-09-21 13:27 UTC (History)
1 user (show)

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


Attachments
The new ebuild (linux-wlan-ng-modules-0.2.3-r1.ebuild,2.43 KB, text/plain)
2006-08-02 10:34 UTC, Jan Seeger
Details
And here the patch mentioned in the previous post. (linux-wlan-ng-0.2.3-kernel-2.6.17.patch,945 bytes, patch)
2006-08-02 10:35 UTC, Jan Seeger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2006-07-02 11:18:29 UTC
All versions of linux-wlan-ng(-modules) don't compile with a current 2.6.17 kernel.

  Building modules, stage 2. 
  MODPOST 
/var/tmp/portage/linux-wlan-ng-modules-0.2.3-r1/work/linux-wlan-ng-0.2.3/src/p80211/Modules.symvers: No such file or directory 
/bin/sh: line 1: 13726 Aborted                 scripts/mod/modpost -i /usr/src/linux-2.6.17/Module.symvers -I /var/tmp/portage/linux-wlan-ng-modules-0.2.3-r1/work/linux-wlan-ng-0.2.3/src/p80211/.. /var/tmp/portage/linux-wlan-ng-modules-0.2.3-r1/work/linux-wlan-ng-0.2.3/src/p80211/Modules.symvers -o /var/tmp/portage/linux-wlan-ng-modules-0.2.3-r1/work/linux-wlan-ng-0.2.3/src/p80211/.. /var/tmp/portage/linux-wlan-ng-modules-0.2.3-r1/work/linux-wlan-ng-0.2.3/src/p80211/Modules.symvers vmlinux /var/tmp/portage/linux-wlan-ng-modules-0.2.3-r1/work/linux-wlan-ng-0.2.3/src/p80211/p80211.o 
make[4]: *** [__modpost] Error 134 
make[3]: *** [modules] Error 2 
make[3]: Leaving directory `/usr/src/linux-2.6.17' 
make[2]: *** [default] Error 2 
make[2]: Leaving directory `/var/tmp/portage/linux-wlan-ng-modules-0.2.3-r1/work/linux-wlan-ng-0.2.3/src/p80211' 
make[1]: *** [all] Error 2 
make[1]: Leaving directory `/var/tmp/portage/linux-wlan-ng-modules-0.2.3-r1/work/linux-wlan-ng-0.2.3/src' 
make: *** [all] Error 2


I found a patch on the linux-wlan mailing lists

http://lists.linux-wlan.com/pipermail/linux-wlan-devel/2006-May/003584.html
or
http://lists.linux-wlan.com/pipermail/linux-wlan-devel/attachments/20060508/e25e690b/make-2.6.17.bin

I've tested it and it works...
Perhaps someone could add it.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-07-10 07:47:10 UTC
Removing block on 137175 as linux-wlan-ng-modules is not in the stable tree. Nevertheless please fix this when you can (I have tested the updated patch found later on in that thread).
Comment 2 Jan Seeger 2006-08-02 10:34:50 UTC
Created attachment 93279 [details]
The new ebuild
Comment 3 Jan Seeger 2006-08-02 10:35:24 UTC
Created attachment 93280 [details, diff]
And here the patch mentioned in the previous post.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2006-08-26 00:50:53 UTC
Patch added. Sorry about this taking so long. The patch could only be applied when using 2.6.17 because it did not work with 2.6.16. 
Comment 5 Alex 2006-09-21 13:27:17 UTC
Today I compiled the modules with kernel 2.6.18 which resulted in an similar error with 0.2.3-r1.

I did the following change in the 2.6.17.patch file

from:
+       cp Modules.symvers ../prism2/driver
to:
+       cp Module.symvers ../prism2/driver

It did compile after that.

I leave the bug resolved cause I don't know if it could be a fault on my side.


Another thing I want to mention - it has nothing to do with this bug and it is no error but there are hundreds of warnings now - I guess thats because of gcc-4.1.1?

e.g.
/var/tmp/portage/linux-wlan-ng-modules-0.2.3-r1/work/linux-wlan-ng-0.2.3/src/include/wlan/p80211metastruct.h:162: warning: 'packed' attribute ignored for field of type 'p80211item_uint32_t'