Re: build issue #479 for v2.6.26-rc1-6-gafa26be :redefinition of 'sysfs_update_group'

From: Sam Ravnborg
Date: Sun May 04 2008 - 06:41:05 EST


On Sun, May 04, 2008 at 10:53:40AM +0200, Toralf Förster wrote:
> Hello,
>
> the build (.config attached) failed, make ends with :
> ...
> scripts/kconfig/conf -s arch/x86/Kconfig
> CHK include/linux/version.h
> UPD include/linux/version.h
> CHK include/linux/utsrelease.h
> UPD include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-x86
> CC kernel/bounds.s
> GEN include/linux/bounds.h
> CC arch/x86/kernel/asm-offsets.s
> In file included from include/linux/kobject.h:21,
> from include/linux/module.h:16,
> from include/linux/crypto.h:21,
> from arch/x86/kernel/asm-offsets_32.c:7,
> from arch/x86/kernel/asm-offsets.c:2:
> include/linux/sysfs.h:201: error: redefinition of 'sysfs_update_group'
> include/linux/sysfs.h:195: error: previous definition of 'sysfs_update_group' was here
> make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2
>
> The build was made with :
> $> make mrproper && make randconfig && make

Why do you need the "make mrproper" in the first place?

kbuild should build what is needed when the config changes.

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