From: Adrian Bunk <bunk@fs.tum.de>
To: Alan Cox <alan@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.20-rc4-ac1
Date: Thu, 28 Nov 2002 01:21:47 +0100 [thread overview]
Message-ID: <20021128002147.GS21307@fs.tum.de> (raw)
In-Reply-To: <200211261901.gAQJ13T11036@devserv.devel.redhat.com>
I get the following compile error:
<-- snip -->
...
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.4/linux-2.4.19-full-ac/include -Wal
l -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -I. -nostdinc -iwithprefix
include -DKBUILD_BASENAME=mptlan -c -o mptlan.o mptlan.c
In file included from mptlan.c:75:
mptlan.h:23: parse error
mptlan.h:26: linux/workqueue.h: No such file or directory
make[3]: *** [mptlan.o] Error 1
make[3]: Leaving directory
`/home/bunk/linux/kernel-2.4/linux-2.4.19-full-ac/drivers/message/fusion'
<-- snip -->
The fix is simple:
--- linux-2.4.19-full-ac/drivers/message/fusion/mptlan.h.old 2002-11-28 01:17:01.000000000 +0100
+++ linux-2.4.19-full-ac/drivers/message/fusion/mptlan.h 2002-11-28 01:17:28.000000000 +0100
@@ -20,6 +20,7 @@
#include <linux/slab.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
+#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,41)
#include <linux/tqueue.h>
#else
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2002-11-28 0:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-26 19:01 Alan Cox
2002-11-28 0:21 ` Adrian Bunk [this message]
2002-11-28 13:01 ` Adrian Bunk
2002-11-28 16:15 ` Martin J. Bligh
2002-11-29 16:16 ` Adrian Bunk
2002-11-28 13:43 ` Adrian Bunk
2002-11-28 14:05 ` Francois Romieu
2002-11-28 20:52 ` Francois Romieu
2002-11-29 17:01 Margit Schubert-While
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=20021128002147.GS21307@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=alan@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®