Skip to contentSkip to conversation

kernel 2.6.12 + alsa-kernel CVS

DISCUSSION gimpel 1 participant 1 message Jul 10, 2005

lore
Share & tools
lore

gimpel

author
#0 lore raw

Hi there!

I heard some basic ESI Juli@ support is vailable in CVS so i wanted to create a 2.6.12 kernel with Ingo Molnar's realtime preemption and ALSA from CVS.
As there where changes from strdup to kstrdup i applied following patches from 2.6.12-mm1:

create-a-kstrdup-library-function.patch create-a-kstrdup-library-function-fixes.patch create-a-kstrdup-library-function-fix-include-slab.patch create-a-kstrdup-library-function-ppc-fix.patch kstrdup-convert-a-few-existing-implementations.patch

afterwards i copied over alsa-kernel from a fresh checkout, and got some compile errors:

...
CC sound/sound_core.o
sound/sound_core.c: In function `sound_insert_unit':
sound/sound_core.c:177: Warnung: implizite Deklaration der Funktion »class_device_create« sound/sound_core.c: In function sound_remove_unit': sound/sound_core.c:201: Warnung: implizite Deklaration der Funktion »class_device_destroy« sound/sound_core.c: In function cleanup_soundcore': sound/sound_core.c:565: Warnung:
implizite Deklaration der Funktion »class_destroy« sound/sound_core.c:
In function `init_soundcore': sound/sound_core.c:575: Warnung:
implizite Deklaration der Funktion »class_create« sound/ sound_core.c:575: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne
Typkonvertierung CC sound/sound_firmware.o
...
CC sound/core/sound.o
sound/core/sound.c: In function `snd_register_device':
sound/core/sound.c:234: Warnung: implizite Deklaration der Funktion »class_device_create« sound/core/sound.c: In function `snd_unregister_device': sound/core/sound.c:266: Warnung: implizite
Deklaration der Funktion »class_device_destroy« CC sound/core/
init.o
...
LD init/built-in.o
LD .tmp_vmlinux1
sound/built-in.o(.text+0x1cb): In function `sound_insert_unit':
: undefined reference to class_device_create' sound/built-in.o(.text+0x251): In function sound_remove_unit':
: undefined reference to class_device_destroy' sound/built-in.o(.text+0xf61): In function snd_register_device':
: undefined reference to class_device_create' sound/built-in.o(.text+0x1024): In function snd_unregister_device':
: undefined reference to class_device_destroy' sound/built-in.o(.exit.text+0x20): In function cleanup_soundcore':
: undefined reference to class_destroy' sound/built-in.o(.init.text+0x32): In function init_soundcore':
: undefined reference to `class_create'
make: *** [.tmp_vmlinux1] Fehler 1

would be nice if someone could point out if that is just some bug in CVS currently, or if i did something wrong regarding the kstrdup patches or missed some stuff out. Unfortunately i'm not a coder and can't take a look myself.

regards
tom