linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: wireless-testing won't build
Date: Fri, 06 Aug 2010 14:14:07 -0700	[thread overview]
Message-ID: <4C5C7B1F.1040500@candelatech.com> (raw)
In-Reply-To: <20100806201956.GD2753@tuxdriver.com>

On 08/06/2010 01:19 PM, John W. Linville wrote:
> On Fri, Aug 06, 2010 at 12:58:02PM -0700, Ben Greear wrote:
>> [greearb@grok2 wireless-testing.p4s]$ make bzImage modules
>> make -C /home/greearb/git/wireless-testing O=/home/greearb/kernel/2.6/wireless-testing.p4s/. bzImage modules
>>    Using /home/greearb/git/wireless-testing as source for kernel
>>    GEN     /home/greearb/kernel/2.6/wireless-testing.p4s/Makefile
>>    CHK     include/linux/version.h
>>    CHK     include/generated/utsrelease.h
>>    CALL    /home/greearb/git/wireless-testing/scripts/checksyscalls.sh
>>    CHK     include/generated/compile.h
>>    CC [M]  drivers/net/wireless/libertas/cfg.o
>> /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c: In function ‘lbs_scan_worker’:
>> /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:722: error: ‘TASK_NORMAL’ undeclared (first use in this function)
>> /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:722: error: (Each undeclared identifier is reported only once
>> /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:722: error: for each function it appears in.)
>> /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c: In function ‘lbs_cfg_connect’:
>> /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:1267: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
>> /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration of function ‘signal_pending’
>> /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration of function ‘schedule_timeout’
>> make[6]: *** [drivers/net/wireless/libertas/cfg.o] Error 1
>> make[5]: *** [drivers/net/wireless/libertas] Error 2
>> make[4]: *** [drivers/net/wireless] Error 2
>> make[3]: *** [drivers/net] Error 2
>> make[2]: *** [drivers] Error 2
>> make[1]: *** [sub-make] Error 2
>> make: *** [all] Error 2
>
> It builds here...does adding "#include<linux/sched.h>" at the top
> of drivers/net/wireless/libertas/cfg.c correct this for you?

That seems to do the trick.  Compile is continuing now...

Ben

>
> John


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

      reply	other threads:[~2010-08-06 21:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-06 19:58 wireless-testing won't build Ben Greear
2010-08-06 20:19 ` John W. Linville
2010-08-06 21:14   ` Ben Greear [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5C7B1F.1040500@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).