From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew Morton <akpm@digeo.com>, linux-mtd@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Subject: [patch] 2.5.70-mm2: `__raw_{read,write}ll' undefinded references
Date: Fri, 30 May 2003 10:05:34 +0200 [thread overview]
Message-ID: <20030530080533.GN5643@fs.tum.de> (raw)
In-Reply-To: <20030529012914.2c315dad.akpm@digeo.com>
It seems the following compile error comes from Linus' tree:
<-- snip -->
...
CC drivers/mtd/maps/map_funcs.o
drivers/mtd/maps/map_funcs.c: In function `simple_map_read64':
drivers/mtd/maps/map_funcs.c:38: warning: implicit declaration of
function `__raw_readll'
drivers/mtd/maps/map_funcs.c: In function `simple_map_write64':
drivers/mtd/maps/map_funcs.c:65: warning: implicit declaration of
function `__raw_writell'
...
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x669e8e): In function `simple_map_read64':
: undefined reference to `__raw_readll'
drivers/built-in.o(.text+0x669f74): In function `simple_map_write64':
: undefined reference to `__raw_writell'
make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
The fix is simple:
--- linux-2.5.70-mm2/drivers/mtd/maps/map_funcs.c.old 2003-05-30 09:47:04.000000000 +0200
+++ linux-2.5.70-mm2/drivers/mtd/maps/map_funcs.c 2003-05-30 09:47:49.000000000 +0200
@@ -13,6 +13,7 @@
#include <asm/io.h>
#include <linux/mtd/map.h>
+#include <linux/mtd/cfi.h>
static u8 simple_map_read8(struct map_info *map, unsigned long ofs)
{
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
WARNING: multiple messages have this Message-ID (diff)
From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew Morton <akpm@digeo.com>, mtd@infradead.org
Cc: linux-kernel@vger.kernel.org
Subject: [patch] 2.5.70-mm2: `__raw_{read,write}ll' undefinded references
Date: Fri, 30 May 2003 10:05:34 +0200 [thread overview]
Message-ID: <20030530080533.GN5643@fs.tum.de> (raw)
In-Reply-To: <20030529012914.2c315dad.akpm@digeo.com>
It seems the following compile error comes from Linus' tree:
<-- snip -->
...
CC drivers/mtd/maps/map_funcs.o
drivers/mtd/maps/map_funcs.c: In function `simple_map_read64':
drivers/mtd/maps/map_funcs.c:38: warning: implicit declaration of
function `__raw_readll'
drivers/mtd/maps/map_funcs.c: In function `simple_map_write64':
drivers/mtd/maps/map_funcs.c:65: warning: implicit declaration of
function `__raw_writell'
...
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x669e8e): In function `simple_map_read64':
: undefined reference to `__raw_readll'
drivers/built-in.o(.text+0x669f74): In function `simple_map_write64':
: undefined reference to `__raw_writell'
make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
The fix is simple:
--- linux-2.5.70-mm2/drivers/mtd/maps/map_funcs.c.old 2003-05-30 09:47:04.000000000 +0200
+++ linux-2.5.70-mm2/drivers/mtd/maps/map_funcs.c 2003-05-30 09:47:49.000000000 +0200
@@ -13,6 +13,7 @@
#include <asm/io.h>
#include <linux/mtd/map.h>
+#include <linux/mtd/cfi.h>
static u8 simple_map_read8(struct map_info *map, unsigned long ofs)
{
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:[~2003-05-30 8:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-29 8:29 2.5.70-mm2 Andrew Morton
2003-05-29 8:29 ` 2.5.70-mm2 Andrew Morton
2003-05-29 8:49 ` 2.5.70-mm2 Andrew Morton
2003-05-29 8:49 ` 2.5.70-mm2 Andrew Morton
2003-05-29 11:23 ` 2.5.70-mm2 Andrew Morton
2003-05-29 11:23 ` 2.5.70-mm2 Andrew Morton
2003-05-30 20:05 ` 2.5.70-mm2 John Stoffel
2003-05-30 20:05 ` 2.5.70-mm2 John Stoffel
2003-05-30 20:30 ` 2.5.70-mm2 Andrew Morton
2003-05-30 20:30 ` 2.5.70-mm2 Andrew Morton
2003-05-30 20:56 ` 2.5.70-mm2 John Stoffel
2003-05-30 20:56 ` 2.5.70-mm2 John Stoffel
2003-05-30 22:36 ` 2.5.70-mm2 Mingming Cao
2003-05-30 22:36 ` 2.5.70-mm2 Mingming Cao
2003-05-29 12:55 ` 2.5.70-mm2 still dies with RAID-1 Helge Hafting
2003-05-29 12:55 ` Helge Hafting
2003-05-29 19:40 ` [patch] 2.5.70-mm2: aha1740.c doesn't compile Adrian Bunk
2003-05-29 20:57 ` 2.5.70-mm2: NCR_D700.c " Adrian Bunk
2003-05-29 21:01 ` James Bottomley
2003-05-29 21:17 ` 2.5.70-mm2: NCR53C9x.c " Adrian Bunk
2003-05-29 21:52 ` 2.5.70-mm2 Badari Pulavarty
2003-05-30 11:17 ` 2.5.70-mm2 Andrew Morton
2003-05-30 11:17 ` 2.5.70-mm2 Andrew Morton
2003-05-29 22:15 ` 2.5.70-mm2: g_NCR5380 link errors Adrian Bunk
2003-05-30 8:05 ` Adrian Bunk [this message]
2003-05-30 8:05 ` [patch] 2.5.70-mm2: `__raw_{read,write}ll' undefinded references Adrian Bunk
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=20030530080533.GN5643@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.