Gentoo Archives: gentoo-user

From: John Green <jg012b8403_2@×××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13
Date: Wed, 28 Sep 2005 10:20:42
Message-Id: 433A7876.5040904@blueyonder.co.uk
1 Hi,
2
3 I have been using wireless on my Dell laptop successfully under kernel
4 2.6.12
5 and earlier, but I can't get it to build under kernel 2.6.13. Specifically,
6 the ipw2100 package fails to compile against kernel 2.6.13.{,1,2}. I
7 have looked in
8 bugzilla, but couldn't see anything relevant. M`aybe I'm missing a
9 trick somewhere.
10
11 In detail, when
12
13 /usr/src/linux => /usr/src/linux-2.6.12.6
14
15 everything works OK.
16
17 But when
18
19 /usr/src/linux => /usr/src/linux-2.6.13.2
20
21 there are errors beginning like this.
22
23 ---------------------
24
25 >>> Source unpacked.
26
27 * You may safely ignore any errors from compilation that contain
28 * warnings about undefined references to the ieee80211 subsystem.
29 *
30 * Preparing ipw2100 module
31 mkdir -p
32 /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
33 cp /usr/include/*.mod
34 /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
35 cp: cannot stat `/usr/include/*.mod': No such file or directory
36 make: [modules] Error 1 (ignored)
37 make -C /usr/src/linux
38 M=/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2
39 MODVERDIR=/var/tmp/portage/ipw2100-1.1.2-r1/w
40 make[1]: Entering directory `/usr/src/linux-2.6.13.2'
41 CC [M] /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.o
42 /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c: In
43 function `ipw2100_set_scan_options':
44 /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:1584:
45 error: structure has no member named `sec'
46 /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:1584:
47 error: structure has no member named `sec'
48 /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c: In
49 function `ipw2100_configure_security':
50 /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:5103:
51 error: structure has no member named `sec'
52 /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:5108:
53 error: structure has no member named `sec'
54
55 ------------------
56
57 BTW, I am totally confused about in-kernel versus out-of-kernel software
58 for Intel wireless
59 and about the hardware/driver nomenclature. Here is the (possibly)
60 relevant part of
61 my kernel .config file.
62
63 ----------------------
64
65 #
66 # Wireless LAN (non-hamradio)
67 #
68 CONFIG_NET_RADIO=y
69
70 #
71 # Obsolete Wireless cards support (pre-802.11)
72 #
73 # CONFIG_STRIP is not set
74 # CONFIG_PCMCIA_WAVELAN is not set
75 # CONFIG_PCMCIA_NETWAVE is not set
76
77 #
78 # Wireless 802.11 Frequency Hopping cards support
79 #
80 # CONFIG_PCMCIA_RAYCS is not set
81
82 #
83 # Wireless 802.11b ISA/PCI cards support
84 #
85 CONFIG_HERMES=y
86 # CONFIG_PLX_HERMES is not set
87 # CONFIG_TMD_HERMES is not set
88 CONFIG_PCI_HERMES=y
89 # CONFIG_ATMEL is not set
90
91 #
92 # Wireless 802.11b Pcmcia/Cardbus cards support
93 #
94 # CONFIG_PCMCIA_HERMES is not set
95 # CONFIG_AIRO_CS is not set
96 # CONFIG_PCMCIA_WL3501 is not set
97
98 #
99 # Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
100 #
101 # CONFIG_PRISM54 is not set
102 CONFIG_NET_WIRELESS=y
103
104 #
105 # PCMCIA network device support
106 #
107 CONFIG_NET_PCMCIA=y
108 # CONFIG_PCMCIA_3C589 is not set
109 CONFIG_PCMCIA_3C574=y
110 # CONFIG_PCMCIA_FMVJ18X is not set
111 # CONFIG_PCMCIA_PCNET is not set
112 # CONFIG_PCMCIA_NMCLAN is not set
113 # CONFIG_PCMCIA_SMC91C92 is not set
114 # CONFIG_PCMCIA_XIRC2PS is not set
115 # CONFIG_PCMCIA_AXNET is not set
116
117 -----------------------
118
119 (I sometimes use a PCMCIA cable-ethernet card, but not at present.)
120
121 There is a comment that the ipw in-kernel driver may change in 2.6.14,
122 but I don't want to wait
123 for that if it turns out to be my error anyway.
124
125 Thanks,
126
127 John Green
128
129
130 --
131 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13 Willie Wong <wwong@×××××××××.EDU>