* [ath9k-devel] Build Error Report
@ 2010-12-13 5:47 Masahiro Inoue
2010-12-13 18:08 ` Luis R. Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Masahiro Inoue @ 2010-12-13 5:47 UTC (permalink / raw)
To: ath9k-devel
Hello,
The build error occurs by compat-wireless-2010-12-12.
My kernel is 2.6.27.
CC [M] /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.o
/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c: In function 'ath_pci_extn_synch_enable':
/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:118: error: 'PCI_EXP_LNKCTL_ES' undeclared (first use in this function)
/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:118: error: (Each undeclared identifier is reported only once
/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:118: error: for each function it appears in.)
/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c: At top level:
/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:348: warning: useless storage class specifier in empty declaration
/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:348: warning: empty declaration
make[5]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.o] Error 1
make[4]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k] Error 2
make[3]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath] Error 2
make[2]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless] Error 2
make[1]: *** [_module_/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27-67vl5-x86_64'
make: *** [modules] Error 2
Sincerely yours
By the way, I am not good at English.
Sorry,
Masahiro
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Build Error Report
2010-12-13 5:47 [ath9k-devel] Build Error Report Masahiro Inoue
@ 2010-12-13 18:08 ` Luis R. Rodriguez
2010-12-14 1:04 ` Masahiro Inoue
0 siblings, 1 reply; 5+ messages in thread
From: Luis R. Rodriguez @ 2010-12-13 18:08 UTC (permalink / raw)
To: ath9k-devel
On Sun, Dec 12, 2010 at 09:47:19PM -0800, Masahiro Inoue wrote:
> Hello,
>
> The build error occurs by compat-wireless-2010-12-12.
> My kernel is 2.6.27.
>
> CC [M] /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.o
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c: In function 'ath_pci_extn_synch_enable':
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:118: error: 'PCI_EXP_LNKCTL_ES' undeclared (first use in this function)
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:118: error: (Each undeclared identifier is reported only once
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:118: error: for each function it appears in.)
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c: At top level:
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:348: warning: useless storage class specifier in empty declaration
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:348: warning: empty declaration
> make[5]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.o] Error 1
> make[4]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k] Error 2
> make[3]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath] Error 2
> make[2]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless] Error 2
> make[1]: *** [_module_/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.27-67vl5-x86_64'
> make: *** [modules] Error 2
Like you just need PCI_EXP_LNKCTL_ES defined added via 322162a7 on
v2.6.29-rc1~181^2~19. Can you try this simple patch?
--- include/linux/compat-2.6.29.h.orig 2010-12-13 10:08:19.697355996 -0800
+++ include/linux/compat-2.6.29.h 2010-12-13 10:07:58.307355996 -0800
@@ -17,6 +17,8 @@
#include <linux/skbuff.h>
#include <linux/usb.h>
+#define PCI_EXP_LNKCTL_ES 0x0080 /* Extended Synch */
+
/*
* Older kernels do not have struct net_device_ops but what we can
* do is just define the data structure and use a caller to let us
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Build Error Report
2010-12-13 18:08 ` Luis R. Rodriguez
@ 2010-12-14 1:04 ` Masahiro Inoue
2010-12-14 1:20 ` Luis R. Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Masahiro Inoue @ 2010-12-14 1:04 UTC (permalink / raw)
To: ath9k-devel
Mr. Luis
Thank you for the reply.
> Like you just need PCI_EXP_LNKCTL_ES defined added via 322162a7 on
> v2.6.29-rc1~181^2~19. Can you try this simple patch?
>
> --- include/linux/compat-2.6.29.h.orig 2010-12-13 10:08:19.697355996 -0800
> +++ include/linux/compat-2.6.29.h 2010-12-13 10:07:58.307355996 -0800
> @@ -17,6 +17,8 @@
> #include <linux/skbuff.h>
> #include <linux/usb.h>
>
> +#define PCI_EXP_LNKCTL_ES 0x0080 /* Extended Synch */
> +
> /*
> * Older kernels do not have struct net_device_ops but what we can
> * do is just define the data structure and use a caller to let us
It applied immediately and it tried.
It completed it without trouble. Thank you.
Sincerely yours
By the way, I am not good at English.
Sorry,
Masahiro
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Build Error Report
2010-12-14 1:04 ` Masahiro Inoue
@ 2010-12-14 1:20 ` Luis R. Rodriguez
0 siblings, 0 replies; 5+ messages in thread
From: Luis R. Rodriguez @ 2010-12-14 1:20 UTC (permalink / raw)
To: ath9k-devel
On Mon, Dec 13, 2010 at 5:04 PM, Masahiro Inoue
<miyabi.-.inoue@nifty.com> wrote:
> Mr. Luis
>
> Thank you for the reply.
>
>> Like you just need PCI_EXP_LNKCTL_ES defined added via 322162a7 on
>> v2.6.29-rc1~181^2~19. ?Can you try this simple patch?
>>
>> --- include/linux/compat-2.6.29.h.orig ? ? ? ?2010-12-13 10:08:19.697355996 -0800
>> +++ include/linux/compat-2.6.29.h ? ? 2010-12-13 10:07:58.307355996 -0800
>> @@ -17,6 +17,8 @@
>> ?#include <linux/skbuff.h>
>> ?#include <linux/usb.h>
>>
>> +#define ?PCI_EXP_LNKCTL_ES ? ? 0x0080 ?/* Extended Synch */
>> +
>> ?/*
>> ? * Older kernels do not have struct net_device_ops but what we can
>> ? * do is just define the data structure and use a caller to let us
>
> It applied immediately and it tried.
> It completed it without trouble. Thank you.
Alright, thanks I'll include this in the next compat-wireless tarballs.
Luis
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ath9k-devel] Build Error Report
@ 2010-12-14 1:20 ` Luis R. Rodriguez
0 siblings, 0 replies; 5+ messages in thread
From: Luis R. Rodriguez @ 2010-12-14 1:20 UTC (permalink / raw)
To: Masahiro Inoue; +Cc: ath9k-devel, linux-wireless
On Mon, Dec 13, 2010 at 5:04 PM, Masahiro Inoue
<miyabi.-.inoue@nifty.com> wrote:
> Mr. Luis
>
> Thank you for the reply.
>
>> Like you just need PCI_EXP_LNKCTL_ES defined added via 322162a7 on
>> v2.6.29-rc1~181^2~19. Can you try this simple patch?
>>
>> --- include/linux/compat-2.6.29.h.orig 2010-12-13 10:08:19.697355996 -0800
>> +++ include/linux/compat-2.6.29.h 2010-12-13 10:07:58.307355996 -0800
>> @@ -17,6 +17,8 @@
>> #include <linux/skbuff.h>
>> #include <linux/usb.h>
>>
>> +#define PCI_EXP_LNKCTL_ES 0x0080 /* Extended Synch */
>> +
>> /*
>> * Older kernels do not have struct net_device_ops but what we can
>> * do is just define the data structure and use a caller to let us
>
> It applied immediately and it tried.
> It completed it without trouble. Thank you.
Alright, thanks I'll include this in the next compat-wireless tarballs.
Luis
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-12-14 1:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13 5:47 [ath9k-devel] Build Error Report Masahiro Inoue
2010-12-13 18:08 ` Luis R. Rodriguez
2010-12-14 1:04 ` Masahiro Inoue
2010-12-14 1:20 ` Luis R. Rodriguez
2010-12-14 1:20 ` Luis R. Rodriguez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.