From: Wouter Rademaker <wouter.rademaker@woningpartners.nl>
To: "'Axp-list@redhat.com'" <Axp-list@redhat.com>
Subject: How to get alsa 0.9.3 working with 2.4 kernels on Alpha
Date: Fri, 9 May 2003 11:47:21 +0200 [thread overview]
Message-ID: <CC72A0971812D5119E3C00306E00483F81C615@vreewijk-nt1> (raw)
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
next reply other threads:[~2003-05-09 9:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-09 9:47 Wouter Rademaker [this message]
2003-05-18 22:41 ` How to get alsa 0.9.3 working with 2.4 kernels on Alpha Kelledin
-- strict thread matches above, loose matches on Subject: below --
2003-05-23 7:09 Wouter Rademaker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox