Re: Build error: undefined reference to `snd_soc_unregister_codec'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rusell,

On 04/27/2012 08:28 AM, Russell King - ARM Linux wrote:
When building ALSA as modules:

drivers/built-in.o: In function `omapdss_hdmihw_remove':
omap_hwspinlock.c:(.text+0x23da8): undefined reference to `snd_soc_unregister_codec'
drivers/built-in.o: In function `omapdss_hdmihw_probe':
omap_hwspinlock.c:(.text+0x24248): undefined reference to `snd_soc_register_codec'

(the filename is inaccurate).

This happens because drivers/video/omap2/dss/hdmi.c is built-in and uses
ASoC services, but ASoC and ALSA are modular.

As you mention, this happens because the ASoC HDMI codec is embeeded in the DSS driver. There is a set of patches currently under discussion to decouple the ASoC HDMI codec from DSS[1]. This will fix the issue.

BR,
[1]http://www.spinics.net/lists/linux-omap/msg67307.html

Ricardo
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux