archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <>
To: Ben Greear <>
Cc: "" <>
Subject: Re: wireless-testing won't build
Date: Fri, 6 Aug 2010 16:19:56 -0400	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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/
>   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?

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

  reply	other threads:[~2010-08-06 20:29 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 [this message]
2010-08-06 21:14   ` Ben Greear

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:

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

  git send-email \ \ \ \ \

* 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).