lkml.org 
[lkml]   [2004]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.6.10-rc1-mm2: `key_init' multiple definition
On Fri, Oct 29, 2004 at 01:49:30AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.10-rc1-mm1:
>...
> +key_init-ordering-fix.patch
>
> Fix early oops with the key management code
>...
> All 381 patches:
>...
> reiser4-only.patch
> reiser4: main fs
>...

Both patches add a global function key_init, resulting in the following
compile error:

<-- snip -->

...
LD .tmp_vmlinux1
security/built-in.o(.init.text+0x80): In function `key_init':
: multiple definition of `key_init'
fs/built-in.o(.text+0x8e200): first defined here
ld: Warning: size of symbol `key_init' changed from 90 in fs/built-in.o to 247 in security/built-in.o
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->


I'm unsure about the key management code case, but for reiser4 this name
is definitely too generic for a global symbol (-> reiser4_key_init ?).


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [from the cache]
©2003-2011 Jasper Spaans