* Build error: undefined reference to `snd_soc_unregister_codec'
@ 2012-04-27 13:28 Russell King - ARM Linux
2012-04-27 15:16 ` Ricardo Neri
0 siblings, 1 reply; 2+ messages in thread
From: Russell King - ARM Linux @ 2012-04-27 13:28 UTC (permalink / raw)
To: linux-omap, Peter Ujfalusi, Jarkko Nikula, Tomi Valkeinen
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Build error: undefined reference to `snd_soc_unregister_codec'
2012-04-27 13:28 Build error: undefined reference to `snd_soc_unregister_codec' Russell King - ARM Linux
@ 2012-04-27 15:16 ` Ricardo Neri
0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Neri @ 2012-04-27 15:16 UTC (permalink / raw)
To: Russell King - ARM Linux
Cc: linux-omap, Peter Ujfalusi, Jarkko Nikula, Tomi Valkeinen
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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-27 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27 13:28 Build error: undefined reference to `snd_soc_unregister_codec' Russell King - ARM Linux
2012-04-27 15:16 ` Ricardo Neri
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.