Re: radio-maxiradio.c: undefined reference to `snd_tea575x_init'

From: Hans Verkuil
Date: Wed Jun 06 2012 - 17:15:06 EST


On Wed June 6 2012 22:40:14 Fengguang Wu wrote:
> On Thu, Mar 29, 2012 at 09:38:38AM -0700, Randy Dunlap wrote:
> > On 03/28/2012 08:42 PM, Stephen Rothwell wrote:
> >
> > > Hi all,
> > >
> > > Reminder: please do not add stuff destined for v3.5 to linux-next
> > > included trees/branches until after v3.4-rc1 has been released.
> > >
> > > Changes since 20120328:
> >
> >
> > on x86_64:
> >
> > radio-maxiradio.c:(.devinit.text+0x356ac): undefined reference to `snd_tea575x_init'
> > radio-maxiradio.c:(.devexit.text+0x503e): undefined reference to `snd_tea575x_exit'
>
> I run into this issue, too, in the 3.5-rc1 based tip/master.
>
> drivers/built-in.o: In function `maxiradio_probe':
> radio-maxiradio.c:(.devinit.text+0x35a27): undefined reference to `snd_tea575x_init'
> drivers/built-in.o: In function `maxiradio_remove':
> radio-maxiradio.c:(.devexit.text+0x6754): undefined reference to `snd_tea575x_exit'
>
> Any fixes available now? The related commit is:
>
> commit cfb19b0ab13847a0e0e49521eb94113b0b315e3b
> Author: Hans Verkuil <hans.verkuil@xxxxxxxxx>
> Date: Sun Feb 5 09:53:17 2012 -0300
>
> [media] radio-maxiradio: use the tea575x framework
>
> This card is based on the tea575x receiver. Use the tea575x-tuner framework
> instead of reinventing the wheel.
>
> Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
>
> Thanks,
> Fengguang

Works for me with 3.5-rc1. There was a fix done in sound/pci/Kconfig that
should have solved this.

Is CONFIG_SND_TEA575X defined? Do you have a snd_tea575x_tuner module?

Regards,

Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/