LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Thibaud Hulin <hulin.thibaud@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org
Subject: [patch] Re: error 2 after a compile
Date: Tue, 6 Feb 2007 12:10:27 -0800 [thread overview]
Message-ID: <20070206121027.0a38e6ad.randy.dunlap@oracle.com> (raw)
In-Reply-To: <45C8DE76.5000109@wanadoo.fr>
On Tue, 06 Feb 2007 21:00:54 +0100 Thibaud Hulin wrote:
> Hello !
> I'm trying to compile a kernel from 2.6.17-10 to 2.6.19 with suspend2.
> After this command :
> make-kpkg --append-to-version=swsusp2.070206 kernel_image --initrd
> kernel_headers --revision=2.6.1
>
> I obtain :
> Building modules, stage 2.
> MODPOST 1479 modules
> WARNING: Can't handle masks in drivers/ide/pci/atiixp:FFFF05
> WARNING: "try_to_freeze" [drivers/usb/atm/ueagle-atm.ko] undefined!
> make[2]: *** [__modpost] Erreur 1
> make[1]: *** [modules] Erreur 2
> make[1]: quittant le répertoire « /home/hulin/src/linux-2.6.19 »
> make: *** [debian/stamp-build-kernel] Erreur 2
>
> I don't understand the error ?
The driver is missing #include <linux/sched.h>.
Please try the patch below and report back on it.
---
From: Randy Dunlap <randy.dunlap@oracle.com>
Driver needs sched.h for try_to_freeze().
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/usb/atm/ueagle-atm.c | 1 +
1 file changed, 1 insertion(+)
--- linux-2619-pv.orig/drivers/usb/atm/ueagle-atm.c
+++ linux-2619-pv/drivers/usb/atm/ueagle-atm.c
@@ -61,6 +61,7 @@
#include <linux/usb.h>
#include <linux/firmware.h>
#include <linux/ctype.h>
+#include <linux/sched.h>
#include <linux/kthread.h>
#include <linux/version.h>
#include <linux/mutex.h>
next prev parent reply other threads:[~2007-02-06 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-06 20:00 Thibaud Hulin
2007-02-06 20:10 ` Randy Dunlap [this message]
2007-02-07 21:13 ` [patch] " Thibaud Hulin
2007-02-07 21:20 ` Randy Dunlap
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=20070206121027.0a38e6ad.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=hulin.thibaud@wanadoo.fr \
--cc=linux-kernel@vger.kernel.org \
--subject='[patch] Re: error 2 after a compile' \
/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
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).