There's more to this - I did in fact have to set CONFIG_HAVE_PDE as well. When I get it all worked out I'll post the rest.
On Sun, 11 Jan 2004, Robert Bushman wrote: > Hi, > > If this gets double posted - I apologize. I used > the wrong email address on my original post, and > I'm hoping it will get removed from the queue. > > I've just gotten ALSA 1.0.1 working on Debian > with kernel 2.6.1, i386, Athlon SMP. I've found > a few threads mentioning the following problem: > > snd_page_alloc: Unknown symbol pte_offset > snd_page_alloc: Unknown symbol VMALLOC_VMADDR > > The threads seem to focus on the CONFIG_HAVE_PDE > flag, which I tried setting. That gave me > the following warnings during make: > memory_wrapper.c:35: warning: implicit declaration of function `VMALLOC_VMADDR' > memory_wrapper.c:41: warning: implicit declaration of function `pte_offset' > Same problem, just showing up one stage earlier. > > The problem in my case was that > #define CONFIG_HAVE_VMALLOC_TO_PAGE 1 > was not getting set in my config.h. When I > manually set it, 1.0.1 works perfectly (or at > least I'm now listening to a fun little trance > track called "Jumpin Pumpin" - haven't tested > it any further yet). > > Unfortunately, I know little about shell > scripting, and even less about C, so I don't > know exactly why it's not getting set. If I'm > doing something wrong, please enlighten me. The > section of my config.log that seems relevent is: > > configure:5226: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.1/build" > | #define CONFIG_SND_MODULE 1 > | #define CONFIG_SND_VERBOSE_PRINTK 1 > | #define CONFIG_SND_ISA 1 > | #define CONFIG_ISAPNP_KERNEL 1 > | #define CONFIG_PNP_KERNEL 1 > | #define CONFIG_HAVE_STRLCPY 1 > | #define CONFIG_HAVE_SNPRINTF 1 > | /* end confdefs.h. */ > | > | #define __KERNEL__ > | #include "/lib/modules/2.6.1/build/include/linux/config.h" > | #include "/lib/modules/2.6.1/build/include/linux/time.h" > | #include "/lib/modules/2.6.1/build/include/linux/mm.h" > | > | int > | main () > | { > | > | struct page * (*func)(void*); > | func = vmalloc_to_page; > | > | ; > | return 0; > | } > configure:5240: result: "no" > > --------------------------------------------------- > http://www.littlepiggy.net/deficit/index.php > Some issues are more important than others. > Too much debt hurts everyone. > --------------------------------------------------- > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Alsa-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-user > --------------------------------------------------- http://www.littlepiggy.net/deficit/index.php Some issues are more important than others. Too much debt hurts everyone. --------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user