From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.20-pre7 - compile fixes
Date: Fri, 13 Sep 2002 22:00:55 +1000 [thread overview]
Message-ID: <3D81D377.9FD9EE75@eyal.emu.id.au> (raw)
In-Reply-To: <Pine.LNX.4.44.0209122313470.30211-100000@freak.distro.conectiva>
[-- Attachment #1: Type: text/plain, Size: 2374 bytes --]
drivers/mtd/devices/ms02-nv.c
=============================
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=ms02_nv -c -o
ms02-nv.o ms02-nv.c
ms02-nv.c:18: asm/addrspace.h: No such file or directory
ms02-nv.c:19: asm/bootinfo.h: No such file or directory
ms02-nv.c:20: asm/dec/ioasic_addrs.h: No such file or directory
ms02-nv.c:21: asm/dec/kn02.h: No such file or directory
ms02-nv.c:22: asm/dec/kn03.h: No such file or directory
ms02-nv.c:24: asm/paccess.h: No such file or directory
ms02-nv.c: In function `ms02nv_probe_one':
ms02-nv.c:100: warning: implicit declaration of function `KSEG1ADDR'
ms02-nv.c:102: warning: implicit declaration of function `get_dbe'
ms02-nv.c: In function `ms02nv_init_one':
ms02-nv.c:91: warning: `ms02nv_magic' might be used uninitialized in
this function
ms02-nv.c: In function `ms02nv_init':
ms02-nv.c:292: `mips_machtype' undeclared (first use in this function)
ms02-nv.c:292: (Each undeclared identifier is reported only once
ms02-nv.c:292: for each function it appears in.)
ms02-nv.c:293: `MACH_DS5000_200' undeclared (first use in this function)
ms02-nv.c:294: `KN02_CSR_ADDR' undeclared (first use in this function)
ms02-nv.c:295: `KN02_CSR_BNK32M' undeclared (first use in this function)
ms02-nv.c:298: `MACH_DS5000_2X0' undeclared (first use in this function)
ms02-nv.c:299: `KN03_MCR_BASE' undeclared (first use in this function)
ms02-nv.c:300: `KN03_MCR_BNK32M' undeclared (first use in this function)
ms02-nv.c:296: warning: unreachable code at beginning of switch
statement
make[3]: *** [ms02-nv.o] Error 1
make[3]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/mtd/devices'
This is in i386, this is the wrong arch for this module?
Seems like a bad config.
drivers/net/irda/irtty.c
========================
Same as -pre6, we are missing a generic TIOCM_MODEM_BITS. Needs a
"proper" fix but this gets my build through.
drivers/usb/brlvger.c
=====================
Again, same as -pre6. Old gcc __FUNCTION__ issue.
--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
[-- Attachment #2: 2.4.20-pre7-mtd.patch --]
[-- Type: text/plain, Size: 693 bytes --]
--- linux/drivers/mtd/devices/Config.in.orig Fri Sep 13 21:23:07 2002
+++ linux/drivers/mtd/devices/Config.in Fri Sep 13 21:24:54 2002
@@ -10,7 +10,9 @@
bool ' PMC551 256M DRAM Bugfix' CONFIG_MTD_PMC551_BUGFIX
bool ' PMC551 Debugging' CONFIG_MTD_PMC551_DEBUG
fi
-dep_tristate ' DEC MS02-NV NVRAM module support' CONFIG_MTD_MS02NV $CONFIG_MTD $CONFIG_DECSTATION
+if [ "$CONFIG_DECSTATION" = "y"]; then
+ dep_tristate ' DEC MS02-NV NVRAM module support' CONFIG_MTD_MS02NV $CONFIG_MTD
+fi
dep_tristate ' Uncached system RAM' CONFIG_MTD_SLRAM $CONFIG_MTD
if [ "$CONFIG_SA1100_LART" = "y" ]; then
dep_tristate ' 28F160xx flash driver for LART' CONFIG_MTD_LART $CONFIG_MTD
[-- Attachment #3: 2.4.20-pre7-irtty.patch --]
[-- Type: text/plain, Size: 339 bytes --]
--- linux/drivers/net/irda/irtty.c.orig Wed Sep 11 08:33:21 2002
+++ linux/drivers/net/irda/irtty.c Wed Sep 11 08:33:59 2002
@@ -758,6 +758,7 @@
struct irtty_cb *self;
struct tty_struct *tty;
mm_segment_t fs;
+#define TIOCM_MODEM_BITS (TIOCM_OUT2 | TIOCM_OUT1)
int arg = TIOCM_MODEM_BITS;
self = (struct irtty_cb *) dev->priv;
[-- Attachment #4: 2.4.20-pre7-brlvger.patch --]
[-- Type: text/plain, Size: 479 bytes --]
--- linux/drivers/usb/brlvger.c.orig Thu Aug 29 10:30:50 2002
+++ linux/drivers/usb/brlvger.c Thu Aug 29 10:31:02 2002
@@ -209,7 +209,7 @@
({ printk(KERN_ERR "Voyager: " args); \
printk("\n"); })
#define dbgprint(fmt, args...) \
- ({ printk(KERN_DEBUG "Voyager: %s: " fmt, __FUNCTION__, ##args); \
+ ({ printk(KERN_DEBUG "Voyager: %s: " fmt, __FUNCTION__ , ##args); \
printk("\n"); })
#define dbg(args...) \
({ if(debug >= 1) dbgprint(args); })
next prev parent reply other threads:[~2002-09-13 11:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-13 2:18 Linux 2.4.20-pre7 Marcelo Tosatti
2002-09-13 5:12 ` Jarosław Bekas
2002-09-13 9:07 ` Justin Heesemann
2002-09-13 9:15 ` Linux 2.4.20-pre7 (TIOCM_MODEM_BITS undeclared) Gabor Z. Papp
2002-09-13 9:35 ` 2.4.19, PPC and AGP Wojciech "Sas" Cieciwa
2002-09-13 10:12 ` Benjamin Herrenschmidt
2002-09-13 12:00 ` Eyal Lebedinsky [this message]
2002-09-13 16:15 ` Linux 2.4.20-pre7 - compile fixes David Woodhouse
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=3D81D377.9FD9EE75@eyal.emu.id.au \
--to=eyal@eyal.emu.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.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®