lkml.org 
[lkml]   [2008]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH linux-next] snd-hda: fix build errors
At Fri, 21 Nov 2008 12:42:02 -0800,
Randy Dunlap wrote:
>
> Takashi Iwai wrote:
> > At Fri, 21 Nov 2008 12:02:48 -0800,
> > Randy Dunlap wrote:
> >> From: Randy Dunlap <randy.dunlap@oracle.com>
> >>
> >> First error comes from snd_hda_eld_proc_new() not being static
> >> when CONFIG_PROC_FS=n. After that is fixed, the next problem is:
> >> ERROR: "snd_print_pcm_rates" [sound/pci/hda/snd-hda-intel.ko] undefined!
> >>
> >> so I made a static inline version of that one too, for CONFIG_PROC_FS=n.
> >> Please build/test more config variations.
> >>
> >> LD [M] sound/pci/hda/snd-hda-intel.o
> >> sound/pci/hda/hda_eld.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x0): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/hda_hwdep.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x0): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/hda_generic.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x1d): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/patch_realtek.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x3b): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/patch_cmedia.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x0): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/patch_analog.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x0): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/patch_sigmatel.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x3b): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/patch_atihdmi.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x3b): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/patch_conexant.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x0): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/patch_via.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x0): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> sound/pci/hda/patch_intelhdmi.o: In function `snd_hda_eld_proc_new':
> >> (.text+0x3b): multiple definition of `snd_hda_eld_proc_new'
> >> sound/pci/hda/hda_codec.o:(.text+0x58): first defined here
> >> make[4]: *** [sound/pci/hda/snd-hda-intel.o] Error 1
> >>
> >> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> >> cc: Wu Fengguang <wfg@linux.intel.com>
> >> cc: Takashi Iwai <tiwai@suse.de>
> >> ---
> >> sound/pci/hda/hda_local.h | 7 ++++++-
> >> 1 file changed, 6 insertions(+), 1 deletion(-)
> >
> > Thanks, but these have been differently fixed on the latest ALSA tree.
> > snd_print_pcm_*() have to be defined no matter what CONFIG_PROC_FS is.
>
> No problem. Just for clarification, is linux-next one day behind
> your latest tree, or is linux-next using a different branch of it,
> or what?

The former, just due to the time zone :)


thanks,

Takashi


\
 
 \ /
  Last update: 2008-11-22 10:51    [W:3.277 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site