From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com.br>
Cc: list linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.23-pre5: airo.c does not build
Date: Mon, 22 Sep 2003 08:36:08 +1000 [thread overview]
Message-ID: <3F6E27D8.28FC0293@eyal.emu.id.au> (raw)
In-Reply-To: <Pine.LNX.4.44.0309211438440.17528-100000@logos.cnet>
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre/include/linux/modversions.h
-nostdinc -iwithprefix include -DKBUILD_BASENAME=airo -DEXPORT_SYMTAB
-c airo.c
airo.c:207: redefinition of `PDE'
/data2/usr/local/src/linux-2.4-pre/include/linux/proc_fs.h:213: `PDE'
previously defined here
make[3]: *** [airo.o] Error 1
make[3]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/net/wireless'
--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
[-- Attachment #2: 2.4.23-pre5-airo.patch --]
[-- Type: text/plain, Size: 394 bytes --]
--- linux/drivers/net/wireless/airo.c.orig Mon Sep 22 08:27:31 2003
+++ linux/drivers/net/wireless/airo.c Mon Sep 22 08:32:18 2003
@@ -202,7 +202,7 @@
#ifndef RUN_AT
#define RUN_AT(x) (jiffies+(x))
#endif
-#if LINUX_VERSION_CODE < 0x020500
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,23)
static inline struct proc_dir_entry *PDE(const struct inode *inode)
{
return inode->u.generic_ip;
next prev parent reply other threads:[~2003-09-21 22:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-21 20:37 Linux 2.4.23-pre5 Marcelo Tosatti
2003-09-21 22:36 ` Eyal Lebedinsky [this message]
2003-09-22 8:36 ` Geert Uytterhoeven
2003-09-22 9:12 ` Marcelo Tosatti
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=3F6E27D8.28FC0293@eyal.emu.id.au \
--to=eyal@eyal.emu.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com.br \
/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®