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? John -- John W. Linville Someday the world will need a hero, and you linville@xxxxxxxxxxxxx might be all we have. Be ready. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html