2011-03-22 04:25:24

by Mike Galbraith

[permalink] [raw]
Subject: [sound] !CONFIG_REGULATOR + CONFIG_SND_SOC_ALL_CODECS -> CONFIG_SND_SOC_SGTL5000=m -> build failure

v2.6.38-6671-geddecbb

marge:/usr/local/src/kernel/linux-2.6.39.git # make -j4 && make modules_install install
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
Building modules, stage 2.
Kernel: arch/x86/boot/bzImage is ready (#1893)
MODPOST 523 modules
ERROR: "rdev_get_drvdata" [sound/soc/codecs/snd-soc-sgtl5000.ko] undefined!
ERROR: "regulator_register" [sound/soc/codecs/snd-soc-sgtl5000.ko] undefined!
ERROR: "regulator_unregister" [sound/soc/codecs/snd-soc-sgtl5000.ko] undefined!
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

# CONFIG_REGULATOR is not set
CONFIG_SND_SOC_ALL_CODECS=m
CONFIG_SND_SOC_SGTL5000=m


2011-03-22 12:59:27

by Mark Brown

[permalink] [raw]
Subject: Re: [sound] !CONFIG_REGULATOR + CONFIG_SND_SOC_ALL_CODECS -> CONFIG_SND_SOC_SGTL5000=m -> build failure

On Tue, Mar 22, 2011 at 05:25:19AM +0100, Mike Galbraith wrote:
> v2.6.38-6671-geddecbb
>
> marge:/usr/local/src/kernel/linux-2.6.39.git # make -j4 && make modules_install install

A patch has been sent for this.

When sending patches or problem reports please always make some effort
to include relevant maintainers and relevant patch authors in your mail.
Mail sent only to a list, particularly a list not relevant to the
affected code, is likely to get missed.