Linux wireless drivers development
 help / color / mirror / Atom feed
* Fwd: can't compile iwlwifi latest wireless-testing
       [not found] <AANLkTimaVjAsW4g8kAfi=vQaPCabkj-ZO9vZw_Lex7KY@mail.gmail.com>
@ 2011-03-05  0:17 ` Daniel Halperin
  2011-03-06 21:26 ` [ipw3945-devel] " Guy, Wey-Yi
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Halperin @ 2011-03-05  0:17 UTC (permalink / raw)
  To: linux-wireless, ipw3945-devel

I need to remember not to send HTML mails.  Sorry.

Dan

---------- Forwarded message ----------
From: Daniel Halperin <dhalperi@cs.washington.edu>
Date: Fri, Mar 4, 2011 at 4:15 PM
Subject: can't compile iwlwifi latest wireless-testing
To: linux-wireless@vger.kernel.org, ipw3945-devel@lists.sourceforge.net


drivers/net/wireless/iwlwifi/iwl-rx.c: In function ‘iwl_rx_card_state_notif’:
drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: ‘TASK_INTERRUPTIBLE’
undeclared (first use in this function)
drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: (Each undeclared
identifier is reported only once
drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: for each function it
appears in.)
iwl-tx.c has an include for sched.h that isn't here and is probably the problem.
Dan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ipw3945-devel] can't compile iwlwifi latest wireless-testing
       [not found] <AANLkTimaVjAsW4g8kAfi=vQaPCabkj-ZO9vZw_Lex7KY@mail.gmail.com>
  2011-03-05  0:17 ` Fwd: can't compile iwlwifi latest wireless-testing Daniel Halperin
@ 2011-03-06 21:26 ` Guy, Wey-Yi
  2011-03-07  1:27   ` John W. Linville
  1 sibling, 1 reply; 5+ messages in thread
From: Guy, Wey-Yi @ 2011-03-06 21:26 UTC (permalink / raw)
  To: Daniel Halperin
  Cc: linux-wireless@vger.kernel.org,
	ipw3945-devel@lists.sourceforge.net

Hi Daniel,


On Fri, 2011-03-04 at 16:15 -0800, Daniel Halperin wrote:
> drivers/net/wireless/iwlwifi/iwl-rx.c: In function
> ‘iwl_rx_card_state_notif’:
> drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: ‘TASK_INTERRUPTIBLE’
> undeclared (first use in this function)
> drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: (Each undeclared
> identifier is reported only once
> drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: for each function it
> appears in.)
> 
> 
> iwl-tx.c has an include for sched.h that isn't here and is probably
> the problem.
> 
> 
Stanislow last patch   
commit 466a19a003f3b45a755bc85f967c21da947f9a00: iwlwifi: move rx
handlers code to iwl-rx.c
break the compile

John, please revert the patch

Thanks
Wey




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ipw3945-devel] can't compile iwlwifi latest wireless-testing
  2011-03-06 21:26 ` [ipw3945-devel] " Guy, Wey-Yi
@ 2011-03-07  1:27   ` John W. Linville
  2011-03-07  1:30     ` Guy, Wey-Yi
  2011-03-07  1:53     ` Daniel Halperin
  0 siblings, 2 replies; 5+ messages in thread
From: John W. Linville @ 2011-03-07  1:27 UTC (permalink / raw)
  To: Guy, Wey-Yi
  Cc: Daniel Halperin, linux-wireless@vger.kernel.org,
	ipw3945-devel@lists.sourceforge.net

On Sun, Mar 06, 2011 at 01:26:49PM -0800, Guy, Wey-Yi wrote:
> Hi Daniel,
> 
> 
> On Fri, 2011-03-04 at 16:15 -0800, Daniel Halperin wrote:
> > drivers/net/wireless/iwlwifi/iwl-rx.c: In function
> > ‘iwl_rx_card_state_notif’:
> > drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: ‘TASK_INTERRUPTIBLE’
> > undeclared (first use in this function)
> > drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: (Each undeclared
> > identifier is reported only once
> > drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: for each function it
> > appears in.)
> > 
> > 
> > iwl-tx.c has an include for sched.h that isn't here and is probably
> > the problem.
> > 
> > 
> Stanislow last patch   
> commit 466a19a003f3b45a755bc85f967c21da947f9a00: iwlwifi: move rx
> handlers code to iwl-rx.c
> break the compile
> 
> John, please revert the patch

That seems a bit silly.  Does adding an include for sched.h to iwl-rx.c
fix the build issue?

I wonder why this builds fine for me?  What arch fails to build?

John
-- 
John W. Linville                Someday the world will need a hero, and you
linville@tuxdriver.com                  might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ipw3945-devel] can't compile iwlwifi latest wireless-testing
  2011-03-07  1:27   ` John W. Linville
@ 2011-03-07  1:30     ` Guy, Wey-Yi
  2011-03-07  1:53     ` Daniel Halperin
  1 sibling, 0 replies; 5+ messages in thread
From: Guy, Wey-Yi @ 2011-03-07  1:30 UTC (permalink / raw)
  To: John W. Linville
  Cc: Daniel Halperin, linux-wireless@vger.kernel.org,
	ipw3945-devel@lists.sourceforge.net

Hi John,

On Sun, 2011-03-06 at 17:27 -0800, John W. Linville wrote:
> On Sun, Mar 06, 2011 at 01:26:49PM -0800, Guy, Wey-Yi wrote:
> > Hi Daniel,
> > 
> > 
> > On Fri, 2011-03-04 at 16:15 -0800, Daniel Halperin wrote:
> > > drivers/net/wireless/iwlwifi/iwl-rx.c: In function
> > > ‘iwl_rx_card_state_notif’:
> > > drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: ‘TASK_INTERRUPTIBLE’
> > > undeclared (first use in this function)
> > > drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: (Each undeclared
> > > identifier is reported only once
> > > drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: for each function it
> > > appears in.)
> > > 
> > > 
> > > iwl-tx.c has an include for sched.h that isn't here and is probably
> > > the problem.
> > > 
> > > 
> > Stanislow last patch   
> > commit 466a19a003f3b45a755bc85f967c21da947f9a00: iwlwifi: move rx
> > handlers code to iwl-rx.c
> > break the compile
> > 
> > John, please revert the patch
> 
> That seems a bit silly.  Does adding an include for sched.h to iwl-rx.c
> fix the build issue?
> 
> I wonder why this builds fine for me?  What arch fails to build?

yes, adding sched.h works just fine and it is easy to fix, just not sure
should we add a patch and leave the compile broken or revert the patch
then re-submit with one line added. both works for me; just don't like
have the code can not compile at one point. :-)

it is my regular ubuntu 32 bit build system for me and nothing
different, not sure why works for you?

Thanks
Wey



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ipw3945-devel] can't compile iwlwifi latest wireless-testing
  2011-03-07  1:27   ` John W. Linville
  2011-03-07  1:30     ` Guy, Wey-Yi
@ 2011-03-07  1:53     ` Daniel Halperin
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Halperin @ 2011-03-07  1:53 UTC (permalink / raw)
  To: John W. Linville
  Cc: Guy, Wey-Yi, linux-wireless@vger.kernel.org,
	ipw3945-devel@lists.sourceforge.net

On Sun, Mar 6, 2011 at 5:27 PM, John W. Linville <linville@tuxdriver.com> wrote:
> That seems a bit silly.  Does adding an include for sched.h to iwl-rx.c
> fix the build issue?

Yes, the linux/sched.h include succeeds.

> I wonder why this builds fine for me?  What arch fails to build?

I've got a regular x86 (32-bit) Ubuntu 10.04.1 LTS system running on
wireless-testing master-2011-03-04, and I get this error.  I've put my
.config, as well as the error message, up on gist:
https://gist.github.com/857960

Dan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-07  1:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTimaVjAsW4g8kAfi=vQaPCabkj-ZO9vZw_Lex7KY@mail.gmail.com>
2011-03-05  0:17 ` Fwd: can't compile iwlwifi latest wireless-testing Daniel Halperin
2011-03-06 21:26 ` [ipw3945-devel] " Guy, Wey-Yi
2011-03-07  1:27   ` John W. Linville
2011-03-07  1:30     ` Guy, Wey-Yi
2011-03-07  1:53     ` Daniel Halperin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox