Linking issue with THINKPAD_ACPI=y and ALSA subsystem
Hi Henrique,
so I am seeing the current issue when building 2.6.33-rc1 for a X200 machine:
drivers/built-in.o: In function `volume_alsa_notify_change':
thinkpad_acpi.c:(.text+0x16c135): undefined reference to snd_ctl_notify' thinkpad_acpi.c:(.text+0x16c14f): undefined reference to snd_ctl_notify' drivers/built-in.o: In function `volume_exit':
thinkpad_acpi.c:(.text+0x17000a): undefined reference to snd_card_free' drivers/built-in.o: In function volume_init':
thinkpad_acpi.c:(.init.text+0xa05c): undefined reference to snd_card_create' thinkpad_acpi.c:(.init.text+0xa170): undefined reference to snd_ctl_new1' thinkpad_acpi.c:(.init.text+0xa17f): undefined reference to snd_ctl_add' thinkpad_acpi.c:(.init.text+0xa1a3): undefined reference to snd_ctl_new1' thinkpad_acpi.c:(.init.text+0xa1b2): undefined reference to snd_ctl_add' thinkpad_acpi.c:(.init.text+0xa1f0): undefined reference to snd_card_register' thinkpad_acpi.c:(.init.text+0xa200): undefined reference to snd_card_free' drivers/built-in.o:(.devinit.data+0xfb8): undefined reference to snd_ctl_boolean_mono_info'
I do have THINKPAD_ACPI=y in my configuration and CONFIG_SND=m.
Regards
Marcel
Quoted 1 line · Marcel Holtmann
I do have THINKPAD_ACPI=y in my configuration and
CONFIG_SND=m.
That won't work. Even with the fixes for the Kconfig (either a depends on SND or a "select SOUND, select SND") you will have to either have both as modules or both built-in.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh