* compile error compat-wireless
@ 2009-05-17 11:29 Bringfried Stecklum
2009-05-17 23:00 ` Hin-Tak Leung
0 siblings, 1 reply; 5+ messages in thread
From: Bringfried Stecklum @ 2009-05-17 11:29 UTC (permalink / raw)
To: linux-wireless
When trying to compile the latest compat-wireless package on an Ubuntu 8.10
64bit system running linux kernel 2.6.27-12 I get the following error
stecklum@extragalactix:~/System/src/compat-wireless-2009-05-17$ make
...
CC [M] /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/tx.o
CC [M] /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.o
/home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.c: In
function ‘ieee80211_key_alloc’:
/home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.c:326:
error: implicit declaration of function ‘get_unaligned_le32’
/home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.c:328:
error: implicit declaration of function ‘get_unaligned_le16’
make[3]: ***
[/home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.o] Error 1
make[2]: *** [/home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211]
Error 2
make[1]: *** [_module_/home/stecklum/System/src/compat-wireless-2009-05-17] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-12-mygeneric'
make: *** [modules] Error 2
Regards,
Bringfried
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compile error compat-wireless
2009-05-17 11:29 compile error compat-wireless Bringfried Stecklum
@ 2009-05-17 23:00 ` Hin-Tak Leung
2009-05-18 0:03 ` Pat Erley
0 siblings, 1 reply; 5+ messages in thread
From: Hin-Tak Leung @ 2009-05-17 23:00 UTC (permalink / raw)
To: Bringfried Stecklum; +Cc: linux-wireless
On Sun, May 17, 2009 at 12:29 PM, Bringfried Stecklum
<stecklum@tls-tautenburg.de> wrote:
> When trying to compile the latest compat-wireless package on an Ubuntu 8.10
> 64bit system running linux kernel 2.6.27-12 I get the following error
>
> stecklum@extragalactix:~/System/src/compat-wireless-2009-05-17$ make
> ...
You have missed some important info here. - most likely you don't have
the kernel header package installed.
> CC [M]
> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/tx.o
> CC [M]
> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.o
> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.c: In
> function ‘ieee80211_key_alloc’:
> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.c:326:
> error: implicit declaration of function ‘get_unaligned_le32’
> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.c:328:
> error: implicit declaration of function ‘get_unaligned_le16’
> make[3]: ***
> [/home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.o]
> Error 1
> make[2]: ***
> [/home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211] Error 2
> make[1]: *** [_module_/home/stecklum/System/src/compat-wireless-2009-05-17]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-12-mygeneric'
> make: *** [modules] Error 2
>
> Regards,
>
> Bringfried
Those two are defined in
<kernel_source>/include/linux/unaligned/le_byteshift.h since about
2.6.26, I just checked.
make sure /lib/modules/<kernel_ver>/source/ points to some kernel
source tree (you probably need to install some package called
kernel-dev or linux-dev).
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compile error compat-wireless
2009-05-17 23:00 ` Hin-Tak Leung
@ 2009-05-18 0:03 ` Pat Erley
2009-05-18 1:09 ` Hin-Tak Leung
0 siblings, 1 reply; 5+ messages in thread
From: Pat Erley @ 2009-05-18 0:03 UTC (permalink / raw)
To: Hin-Tak Leung; +Cc: Bringfried Stecklum, linux-wireless
Hin-Tak Leung wrote:
> On Sun, May 17, 2009 at 12:29 PM, Bringfried Stecklum
> <stecklum@tls-tautenburg.de> wrote:
>> When trying to compile the latest compat-wireless package on an Ubuntu 8.10
>> 64bit system running linux kernel 2.6.27-12 I get the following error
>>
>> stecklum@extragalactix:~/System/src/compat-wireless-2009-05-17$ make
>> ...
>
> You have missed some important info here. - most likely you don't have
> the kernel header package installed.
>
>> CC [M]
>> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/tx.o
>> CC [M]
>> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.o
>> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.c: In
>> function ‘ieee80211_key_alloc’:
>> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.c:326:
>> error: implicit declaration of function ‘get_unaligned_le32’
>> /home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.c:328:
>> error: implicit declaration of function ‘get_unaligned_le16’
>> make[3]: ***
>> [/home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211/key.o]
>> Error 1
>> make[2]: ***
>> [/home/stecklum/System/src/compat-wireless-2009-05-17/net/mac80211] Error 2
>> make[1]: *** [_module_/home/stecklum/System/src/compat-wireless-2009-05-17]
>> Error 2
>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-12-mygeneric'
>> make: *** [modules] Error 2
>>
>> Regards,
>>
>> Bringfried
>
>
> Those two are defined in
> <kernel_source>/include/linux/unaligned/le_byteshift.h since about
> 2.6.26, I just checked.
>
> make sure /lib/modules/<kernel_ver>/source/ points to some kernel
> source tree (you probably need to install some package called
> kernel-dev or linux-dev).
>
I got this as well, fixed it by adding #include <asm/unaligned.h> to key.c
I have been running compat-wireless for months, so it's not a missing package
thing, I suspect it's an outdated headers thing. My system has 2.6.27 headers
right now.
Pat Erley
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compile error compat-wireless
2009-05-18 0:03 ` Pat Erley
@ 2009-05-18 1:09 ` Hin-Tak Leung
2009-05-18 2:30 ` Luis R. Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Hin-Tak Leung @ 2009-05-18 1:09 UTC (permalink / raw)
To: Pat Erley; +Cc: Bringfried Stecklum, linux-wireless
On Mon, May 18, 2009 at 1:03 AM, Pat Erley <pat-lkml@erley.org> wrote:
> I got this as well, fixed it by adding #include <asm/unaligned.h> to key.c
>
> I have been running compat-wireless for months, so it's not a missing package
> thing, I suspect it's an outdated headers thing. My system has 2.6.27 headers
> right now.
>
> Pat Erley
>
Hmm, sorry about that. On my system (2.6.29.3-142.fc11.x86_64) no
change is needed to building compat-wireless.
Maybe it is partly with old kernel heades.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compile error compat-wireless
2009-05-18 1:09 ` Hin-Tak Leung
@ 2009-05-18 2:30 ` Luis R. Rodriguez
0 siblings, 0 replies; 5+ messages in thread
From: Luis R. Rodriguez @ 2009-05-18 2:30 UTC (permalink / raw)
To: Hin-Tak Leung; +Cc: Pat Erley, Bringfried Stecklum, linux-wireless
On Sun, May 17, 2009 at 6:09 PM, Hin-Tak Leung <hintak.leung@gmail.com> wrote:
> On Mon, May 18, 2009 at 1:03 AM, Pat Erley <pat-lkml@erley.org> wrote:
>
>> I got this as well, fixed it by adding #include <asm/unaligned.h> to key.c
>>
>> I have been running compat-wireless for months, so it's not a missing package
>> thing, I suspect it's an outdated headers thing. My system has 2.6.27 headers
>> right now.
>>
>> Pat Erley
>>
>
> Hmm, sorry about that. On my system (2.6.29.3-142.fc11.x86_64) no
> change is needed to building compat-wireless.
> Maybe it is partly with old kernel heades.
Hauke Mehrtens has fixed this, I applied his patches and pushed a new
tarball out.
FWIW just also pushed out a stable tarball (based on 2.6.30-rc6).
Luis
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-05-18 2:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-17 11:29 compile error compat-wireless Bringfried Stecklum
2009-05-17 23:00 ` Hin-Tak Leung
2009-05-18 0:03 ` Pat Erley
2009-05-18 1:09 ` Hin-Tak Leung
2009-05-18 2:30 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox