lkml.org 
[lkml]   [2008]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBuild error; sound/built-in.o:(.data+0x388): undefined reference to `snd_pcm_lib_ioctl'
FYI

With the attached .config I'm getting the following build error :
...
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
sound/built-in.o: In function `pcsp_suspend':
/home/juhl/kernel/linux-2.6/sound/drivers/pcsp/pcsp.c:201: undefined
reference to `snd_pcm_suspend_all'
sound/built-in.o: In function `snd_pcsp_playback_hw_free':
/home/juhl/kernel/linux-2.6/sound/drivers/pcsp/pcsp_lib.c:221:
undefined reference to `snd_pcm_lib_free_pages'
sound/built-in.o: In function `snd_pcsp_playback_hw_params':
/home/juhl/kernel/linux-2.6/sound/drivers/pcsp/pcsp_lib.c:209:
undefined reference to `snd_pcm_lib_malloc_pages'
sound/built-in.o: In function `snd_pcm_stream_lock':
/home/juhl/kernel/linux-2.6/include/sound/pcm.h:569: undefined
reference to `snd_pcm_link_rwlock'
sound/built-in.o: In function `snd_pcm_stream_unlock':
/home/juhl/kernel/linux-2.6/include/sound/pcm.h:576: undefined
reference to `snd_pcm_link_rwlock'
/home/juhl/kernel/linux-2.6/include/sound/pcm.h:576: undefined
reference to `snd_pcm_link_rwlock'
sound/built-in.o: In function `pcsp_do_timer':
/home/juhl/kernel/linux-2.6/sound/drivers/pcsp/pcsp_lib.c:130:
undefined reference to `snd_pcm_period_elapsed'
sound/built-in.o: In function `snd_pcsp_new_pcm':
/home/juhl/kernel/linux-2.6/sound/drivers/pcsp/pcsp_lib.c:320:
undefined reference to `snd_pcm_new'
/home/juhl/kernel/linux-2.6/sound/drivers/pcsp/pcsp_lib.c:324:
undefined reference to `snd_pcm_set_ops'
/home/juhl/kernel/linux-2.6/sound/drivers/pcsp/pcsp_lib.c:331:
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

This is with a current (HEAD at
064922a805ec7aadfafdd27aa6b4908d737c3c1d) git tree and the following
tools:

$ scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux dragon 2.6.25-03562-g3dc5063 #1 SMP PREEMPT Wed Apr 23 22:54:05
CEST 2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
AuthenticAMD GNU/Linux

Gnu C 4.2.3
Gnu make 3.81
binutils 2.17.50.0.17.20070615
util-linux 2.13.1
mount 2.13.1
module-init-tools 3.4
e2fsprogs 1.40.8
jfsutils 1.1.12
reiserfsprogs 3.6.19
xfsprogs 2.9.7
pcmciautils 014
quota-tools 3.13.
PPP 2.4.4
Linux C Library 2.7
Dynamic linker (ldd) 2.7
Linux C++ Library 6.0.9
Procps 3.2.7
Net-tools 1.60
Kbd 1.12
oprofile 0.9.2
Sh-utils 6.9
udev 118
Modules Loaded snd_seq_oss snd_seq_midi_event snd_seq
snd_pcm_oss snd_mixer_oss agpgart lp snd_emu10k1 snd_rawmidi
firmware_class snd_ac97_codec ac97_bus snd_pcm snd_seq_device
snd_timer snd_page_alloc snd_util_mem sg via_rhine snd_hwdep evdev
ehci_hcd k8temp


--
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
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2008-04-28 01:23    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site