Hallo, Anze Zagar hat gesagt: // Anze Zagar wrote: > I am using ALSA built into kernel 2.6.1 and today I tried to upgrade it > from 0.9.7 to 1.0.2a (and 1.0.2). > > I integrated it with the kernel sources (copied alsa-kernel into > /usr/src/linux-2.6.1/sound and alsa-kernel/include into > /usr/src/linux-2.6.1/include/sound) but kernel rebuild resulted in the > following errors: > > ... > LD .tmp_vmlinux1 > sound/built-in.o(.text+0x1a2): In function `sound_insert_unit': > : undefined reference to `class_simple_device_add' > > It, however, worked perfectly fine after upgrading kernel the same way > with ALSA 1.0.1 driver. Does anyone have any suggestions on how to get > ALSA 1.0.2(a) to successfully build into the kernel?
I tried this yesterday as well: There have been various patches posted to the user/devel lists recently, some got rid of some errors, but the only way I could build a newer alsa into kernel 2.6.1 was, to use current cvs. I built 2.6.1 without ALSA (only basic sound suppport), then checked out "alsa-driver" and "alsa-kernel" from CVS. Then I followed the instructions in alsa-driver/INSTALL for compiling CVS, but I did *not* use cvscompile, instead all done by hand: aclocal; ...; configure --with-kernel=/path/to/linux-2.6.1; make; make install-modules. This did work out fine in the end. ciao -- Frank Barknecht _ ______footils.org__ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user