From: Michael Buesch <fsdeveloper@yahoo.de>
To: "Martin J. Bligh" <mbligh@aracnet.com>, alan@lxorguk.ukuu.org.uk
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.5.74, 2.5.74-mjb1] i2o compile fix
Date: Sat, 5 Jul 2003 13:11:08 +0200 [thread overview]
Message-ID: <200307051311.19491.fsdeveloper@yahoo.de> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Martin, Alan,
lk-list.
I need this patch to compile i2o support. Otherwise I get this error:
mb@lfs:~/linux-2.5/linux-2.5.74-mjb1> make bzImage
make[1]: »arch/i386/kernel/asm-offsets.s« ist bereits aktualisiert.
CHK include/linux/compile.h
CC drivers/message/i2o/i2o_scsi.o
i2o_scsi.c: In function `i2o_scsi_reply':
i2o_scsi.c:328: Warnung: implicit declaration of function `pci_unmap_sg'
i2o_scsi.c:330: Warnung: implicit declaration of function `pci_unmap_single'
i2o_scsi.c: In function `i2o_scsi_queuecommand':
i2o_scsi.c:764: Warnung: implicit declaration of function `pci_map_sg'
i2o_scsi.c:834: Warnung: implicit declaration of function `pci_map_single'
LD drivers/message/i2o/built-in.o
LD drivers/message/built-in.o
LD drivers/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.text+0xcb8a8): In function `i2o_scsi_reply':
: undefined reference to `pci_unmap_single'
drivers/built-in.o(.text+0xcb8d5): In function `i2o_scsi_reply':
: undefined reference to `pci_unmap_sg'
drivers/built-in.o(.text+0xcc1b3): In function `i2o_scsi_queuecommand':
: undefined reference to `pci_map_single'
drivers/built-in.o(.text+0xcc212): In function `i2o_scsi_queuecommand':
: undefined reference to `pci_map_sg'
make: *** [.tmp_vmlinux1] Fehler 1
This patch is tested to apply to 2.5.74 and 2.5.74-mjb1
- --- drivers/message/i2o/i2o_scsi.c.orig 2003-07-05 13:00:07.000000000 +0200
+++ drivers/message/i2o/i2o_scsi.c 2003-07-05 13:02:59.000000000 +0200
@@ -53,6 +53,7 @@
#include <asm/system.h>
#include <asm/io.h>
#include <asm/atomic.h>
+#include <linux/pci.h>
#include <linux/blk.h>
#include <linux/i2o.h>
#include "../../scsi/scsi.h"
- --
Regards Michael Buesch
http://www.8ung.at/tuxsoft
13:03:37 up 1:43, 3 users, load average: 1.84, 2.19, 1.85
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/BrJXoxoigfggmSgRAingAJ9x0WNlzzi70kclnbMr15DxuaIqvwCfaGeK
7ONfRL6a9w0FTJeJmtu4Btg=
=bj3c
-----END PGP SIGNATURE-----
next reply other threads:[~2003-07-05 10:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-05 11:11 Michael Buesch [this message]
2003-07-05 13:38 ` [PATCH 2.5.74, 2.5.74-mjb1] i2o compile fix Alan Cox
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=200307051311.19491.fsdeveloper@yahoo.de \
--to=fsdeveloper@yahoo.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.com \
/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