Kenward Vaughan <[EMAIL PROTECTED]> writes: > > But potato alsa-source doesn't seem to work with kernel 2.4. Should I
> Where do you run into trouble? First I tried alsa-source 0.4.1i-5 from potato, woody has exactly the same package, but there is also an alsa-source-0.4 package, which for some mysterious reason doesn't appear in woody's main Packages.gz. (Does someone know why?). So now I have alsa-source-0.4 alsaconf-0.4 alsa-utils-0.4 libasound0.4 and alsa-base installed. I unpack alsa-source-0.4.tar.gz to a directory, set MODULE_LOC to the appropriate path and execute fakeroot make-kpkg --revision mother.3 modules_image from the kernel 2.4.2 source directory. This used to work with kernel 2.2.17 but now the build aborts, these are some of its last messages: gcc -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/local/src/cwg/kernel-source-2.4.2/include -I.. -c -o info.o info.c info.c:558: warning: initialization from incompatible pointer type info.c:559: warning: initialization from incompatible pointer type info.c:560: warning: initialization from incompatible pointer type info.c:562: warning: initialization from incompatible pointer type info.c:563: warning: initialization from incompatible pointer type info.c:564: warning: initialization from incompatible pointer type info.c:565: warning: initialization from incompatible pointer type info.c:567: warning: initialization from incompatible pointer type info.c:577: warning: initialization from incompatible pointer type info.c:594: warning: excess elements in struct initializer info.c:594: warning: (near initialization for `snd_info_entry_inode_operations') info.c:599: warning: initialization from incompatible pointer type info.c:616: warning: excess elements in struct initializer info.c:616: warning: (near initialization for `snd_info_device_inode_operations') info.c: In function `snd_info_card_followlink': info.c:655: warning: implicit declaration of function `lookup_dentry' info.c:655: warning: return makes pointer from integer without a cast info.c: At top level: info.c:674: warning: initialization from incompatible pointer type info.c:684: warning: initialization from incompatible pointer type info.c:685: warning: initialization from incompatible pointer type info.c:691: warning: excess elements in struct initializer info.c:691: warning: (near initialization for `snd_info_card_link_inode_operations') info.c: In function `snd_info_card_register': info.c:784: structure has no member named `ops' info.c: In function `snd_info_create_device': info.c:954: structure has no member named `ops' info.c: In function `snd_info_register': info.c:1057: structure has no member named `ops' make[4]: *** [info.o] Error 1 make[4]: Leaving directory `/usr/local/src/cwg/modules/alsa-driver-0.4/kernel' make[3]: *** [compile] Error 1 make[3]: Leaving directory `/usr/local/src/cwg/modules/alsa-driver-0.4' make[2]: *** [install-modules] Error 2 make[2]: Leaving directory `/usr/local/src/cwg/modules/alsa-driver-0.4' make[1]: *** [kdist_image] Error 2 make[1]: Leaving directory `/usr/local/src/cwg/modules/alsa-driver-0.4' Module /usr/local/src/cwg/modules/alsa-driver-0.4 failed. > I've yet to encounter problems with alsa on > the 2.4.x kernels (including 2.4.2), but I track unstable. Perhaps you > should try the unstable package? I tried both. p Did anyone succeed compiling alsa-source with kernel 2.4? What am I doing wrong? Thank you in advance for your time, Christoph