public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Marcelo Tosatti <marcelo@conectiva.com.br>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.21-pre4
Date: Sun, 2 Feb 2003 00:24:10 +0100	[thread overview]
Message-ID: <20030201232410.GE6915@fs.tum.de> (raw)
In-Reply-To: <Pine.LNX.4.53L.0301290143350.27119@freak.distro.conectiva>

I get the following compile error in 2.4.21-pre4:

<--  snip  -->

...
ld -m elf_i386  -r -o idedriver-raid.o ataraid.o pdcraid.o hptraid.o 
silraid.o
silraid.o(.text+0x31c): In function `partition_map_normal':
: multiple definition of `partition_map_normal'
pdcraid.o(.text+0x31c): first defined here
make[4]: *** [idedriver-raid.o] Error 1
make[4]: Leaving directory 
`/home/bunk/linux/kernel-2.4/linux-2.4.20-full/drivers/ide/raid'

<--  snip  -->

The following patch (stolen from -ac) fixes it:

--- linux.21pre4/drivers/ide/raid/silraid.c	2003-01-29 17:07:45.000000000 +0000
+++ linux.21pre4-ac1/drivers/ide/raid/silraid.c	2003-01-09 19:43:30.000000000 +0000
@@ -157,7 +157,7 @@
 }
 
 
-unsigned long partition_map_normal(unsigned long block, unsigned long partition_off, unsigned long partition_size, int stride)
+static unsigned long partition_map_normal(unsigned long block, unsigned long partition_off, unsigned long partition_size, int stride)
 {
 	return block + partition_off;
 }


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


  parent reply	other threads:[~2003-02-01 23:14 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29  3:44 Linux 2.4.21-pre4 Marcelo Tosatti
2003-01-29  6:29 ` John Kim
2003-01-29  8:03 ` Denis Vlasenko
2003-01-29  9:36   ` Alan Cox
2003-01-29 12:49 ` Eyal Lebedinsky
2003-01-29 13:04 ` Maciej Soltysiak
2003-01-29 21:53 ` Thomas Davis
2003-01-30 11:43   ` Alan Cox
2003-01-30 17:09     ` Thomas Davis
2003-01-30 18:17       ` Alan Cox
2003-01-30 17:26         ` Thomas Davis
2003-01-30 18:28           ` Alan Cox
2003-01-30  0:47 ` sys_sendfile64 not in " John Fremlin
2003-01-30  8:29   ` Christoph Hellwig
2003-01-30 11:33     ` Alan Cox
2003-01-30 11:02       ` Marc-Christian Petersen
2003-01-30 11:16         ` Christoph Hellwig
2003-01-30 17:53 ` Thomas Davis
2003-01-30 19:35   ` Alan Cox
2003-01-30 18:46 ` Thomas Davis
2003-01-30 23:13   ` Martin K. Petersen
2003-01-31  3:14     ` Thomas Davis
2003-01-31  4:09       ` Martin K. Petersen
2003-01-31  4:13         ` Thomas Davis
2003-01-31  4:31           ` Martin K. Petersen
2003-01-31  4:48             ` Thomas Davis
2003-01-31  6:16             ` Thomas Davis
2003-01-30 23:30 ` Thomas Davis
2003-02-01 23:24 ` Adrian Bunk [this message]
2003-02-02 11:06 ` Adrian Bunk
2003-02-02 13:38   ` Alan Cox
2003-02-10 16:08 ` Jörn Engel

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=20030201232410.GE6915@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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