Skip to contentSkip to conversation

!CONFIG_REGULATOR + CONFIG_SND_SOC_ALL_CODECS -> CONFIG_SND_SOC_SGTL5000=m -> build failure

sound Mike Galbraith 2 participants 2 messages Mar 22, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Mike Galbraith

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.