mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: "Takashi Iwai" <tiwai@suse.de>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Stas Sergeev" <stsp@aknet.ru>
Subject: Re: Build error; sound/built-in.o:(.data+0x388): undefined reference to `snd_pcm_lib_ioctl'
Date: Mon, 28 Apr 2008 22:02:25 +0200	[thread overview]
Message-ID: <9a8748490804281302w11a9ade5x8211d7f6ef5519ed@mail.gmail.com> (raw)
In-Reply-To: <s5hprsai864.wl%tiwai@suse.de>

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.

Thank you Takashi.


-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

  reply	other threads:[~2008-04-28 20:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-27 23:20 Jesper Juhl
2008-04-28 10:29 ` Takashi Iwai
2008-04-28 20:02   ` Jesper Juhl [this message]
2008-04-29 10:43     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a8748490804281302w11a9ade5x8211d7f6ef5519ed@mail.gmail.com \
    --to=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stsp@aknet.ru \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®