I got Alsa 0.9.3a finally working with kernel 2.2.24 with only " #include
<asm/pgtable.h> " in highmem.h
What other hacks are needed with kernel 2.4.20 to get it working on a ALPHA.
My guesses are
1. The hack above
2. Something with this lines in adriver.h :
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 3)
#define need_resched() (current->need_resched)
#endif
Because of this error : /lib/modules/2.4.20/build/include/linux/sched.h:946:
arguments given to macro `need_resched'
Commenting out or changing the KERNEL_VERSION to (2, 4, 3) works
3. Something to solve this error:
memory_wrapper.c: In function `snd_compat_vmalloc_to_page':
memory_wrapper.c:41: `mem_map' undeclared (first use in this function)
memory_wrapper.c:41: (Each undeclared identifier is reported only once
memory_wrapper.c:41: for each function it appears in.)
memory_wrapper.c:28: warning: `page' might be used uninitialized in this
function
make[1]: *** [memory_wrapper.o] Error 1
make: *** [compile] Error 1
Probably can't he find the declaration of mem_map, but I can't find it
either.
Are the fist two hacks right or is there a better way and how to solve the
third?
I'm using a 164SX ALPHA with Debian Woody
Wouter Rademaker
------------------------------------------
This message was sent by Scoutnet Webmail.
http://www.scoutnet.nl