lkml.org 
[lkml]   [2008]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Build error; sound/built-in.o:(.data+0x388): undefined reference to `snd_pcm_lib_ioctl'
    At Mon, 28 Apr 2008 22:02:25 +0200,
    Jesper Juhl wrote:
    >
    > 2008/4/28 Takashi Iwai <tiwai@suse.de>:
    > > At Mon, 28 Apr 2008 01:20:08 +0200,
    > >
    > >
    > > Jesper Juhl wrote:
    > > >
    > > > FYI
    > > >
    > > > With the attached .config I'm getting the following build error :
    > ...
    > > > undefined reference to `snd_pcm_lib_preallocate_pages_for_all'
    > > > sound/built-in.o:(.data+0x388): undefined reference to `snd_pcm_lib_ioctl'
    > > > make: *** [.tmp_vmlinux1] Error 1
    > >
    > > Does the patch below fix the problem?
    > >
    > >
    > > thanks,
    > >
    > > Takashi
    > >
    > > ---
    > > diff --git a/sound/drivers/Kconfig b/sound/drivers/Kconfig
    > > index fe85af1..a78a8d0 100644
    > > --- a/sound/drivers/Kconfig
    > > +++ b/sound/drivers/Kconfig
    > > @@ -8,6 +8,8 @@ config SND_PCSP
    > > tristate "Internal PC speaker support"
    > > depends on X86_PC && HIGH_RES_TIMERS
    > > depends on INPUT
    > > + depends on SND
    > > + select SND_PCM
    > > help
    > > If you don't have a sound card in your computer, you can include a
    > > driver for the PC speaker which allows it to act like a primitive
    > >
    >
    >
    > Yes. That solves the problem.

    Thanks for checking. I added it for the next fix.


    Takashi


    \
     
     \ /
      Last update: 2008-04-29 12:45    [W:0.023 / U:0.260 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site