|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Problem building alsa 0.9 on 2.4.20
From: Wouter Rademaker (wouter.rademaker
woningpartners.nl)
Date: Thu Apr 03 2003 - 01:59:21 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am trying to use a Soundblaster Live! on a ALPHA 164SX.
My main interest is the sequencer support.
Before it worked except loading large soundfonts.(> ~2 MB)
Now when I try to build the latest versions of alsa, it stops with this
errors:
In file included from /lib/modules/2.4.20/build/include/linux/mm.h:4,
from /lib/modules/2.4.20/build/include/linux/slab.h:14,
from
/usr/local/src/alsa-0.9.2/alsa-driver-0.9.2/include/sound/driver.h:53,
from ../alsa-kernel/core/hwdep.c:22,
from hwdep.c:1:
/lib/modules/2.4.20/build/include/linux/sched.h:946: arguments given to
macro `need_resched'
In file included from /lib/modules/2.4.20/build/include/linux/mm.h:4,
from /lib/modules/2.4.20/build/include/linux/slab.h:14,
from
/usr/local/src/alsa-0.9.2/alsa-driver-0.9.2/include/sound/driver.h:53,
from ../alsa-kernel/core/hwdep.c:22,
from hwdep.c:1:
/lib/modules/2.4.20/build/include/linux/sched.h:946: parse error before `->'
make[1]: *** [hwdep.o] Error 1
make: *** [compile] Error 1
When I comment out this line in adriver.h:
/* #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 3)
#define need_resched() (current->need_resched)
#endif */
it goes a little bit further but stops with this errors:
In file included from /lib/modules/2.4.20/build/include/linux/highmem.h:5,
from memory_wrapper.c:23:
/lib/modules/2.4.20/build/include/asm/pgalloc.h: In function
`flush_icache_user_range':
/lib/modules/2.4.20/build/include/asm/pgalloc.h:84: dereferencing pointer to
incomplete type
/lib/modules/2.4.20/build/include/asm/pgalloc.h:84: `VM_EXEC' undeclared
(first use in this function)
/lib/modules/2.4.20/build/include/asm/pgalloc.h:84: (Each undeclared
identifier is reported only once
/lib/modules/2.4.20/build/include/asm/pgalloc.h:84: for each function it
appears in.)
/lib/modules/2.4.20/build/include/asm/pgalloc.h:85: dereferencing pointer to
incomplete type
/lib/modules/2.4.20/build/include/asm/pgalloc.h: In function
`ev4_flush_tlb_current_page':
/lib/modules/2.4.20/build/include/asm/pgalloc.h:112: dereferencing pointer
to incomplete type
/lib/modules/2.4.20/build/include/asm/pgalloc.h:112: `VM_EXEC' undeclared
(first use in this function)
/lib/modules/2.4.20/build/include/asm/pgalloc.h: In function
`ev5_flush_tlb_current_page':
/lib/modules/2.4.20/build/include/asm/pgalloc.h:124: dereferencing pointer
to incomplete type
/lib/modules/2.4.20/build/include/asm/pgalloc.h:124: `VM_EXEC' undeclared
(first use in this function)
/lib/modules/2.4.20/build/include/asm/pgalloc.h: In function
`flush_tlb_page':
/lib/modules/2.4.20/build/include/asm/pgalloc.h:201: dereferencing pointer
to incomplete type
/lib/modules/2.4.20/build/include/asm/pgalloc.h: In function
`free_pgd_slow':
/lib/modules/2.4.20/build/include/asm/pgalloc.h:276: warning: implicit
declaration of function `free_page'
/lib/modules/2.4.20/build/include/asm/pgalloc.h: In function
`pmd_alloc_one':
/lib/modules/2.4.20/build/include/asm/pgalloc.h:281: warning: implicit
declaration of function `__get_free_page'
/lib/modules/2.4.20/build/include/asm/pgalloc.h:281: `GFP_KERNEL' undeclared
(first use in this function)
/lib/modules/2.4.20/build/include/asm/pgalloc.h:281: warning: cast to
pointer from integer of different size
/lib/modules/2.4.20/build/include/asm/pgalloc.h: In function
`pte_alloc_one':
/lib/modules/2.4.20/build/include/asm/pgalloc.h:313: `GFP_KERNEL' undeclared
(first use in this function)
/lib/modules/2.4.20/build/include/asm/pgalloc.h:313: warning: cast to
pointer from integer of different size
In file included from memory_wrapper.c:23:
/lib/modules/2.4.20/build/include/linux/highmem.h: In function `kmap':
/lib/modules/2.4.20/build/include/linux/highmem.h:68: warning: implicit
declaration of function `page_address'
/lib/modules/2.4.20/build/include/linux/highmem.h:68: warning: return makes
pointer from integer without a cast
memory_wrapper.c: In function `snd_compat_vmalloc_to_page':
memory_wrapper.c:32: warning: implicit declaration of function
`VMALLOC_VMADDR'
memory_wrapper.c:36: warning: implicit declaration of function `pgd_offset'
memory_wrapper.c:36: warning: assignment makes pointer from integer without
a cast
memory_wrapper.c:37: warning: implicit declaration of function `pmd_offset'
memory_wrapper.c:37: warning: assignment makes pointer from integer without
a cast
memory_wrapper.c:38: warning: implicit declaration of function `pte_offset'
memory_wrapper.c:38: warning: assignment makes pointer from integer without
a cast
memory_wrapper.c:42: warning: implicit declaration of function `pte_page'
memory_wrapper.c:42: warning: assignment makes pointer from integer without
a cast
make[1]: *** [memory_wrapper.o] Error 1
make: *** [compile] Error 1
1. is there a way to get alsa working again on ALPHA or
2. which combination of alsa and kernel is know to work on ALPHA and can
load large soundfonts?
Met Vriendelijke Zwerversgroeten
Wouter Rademaker
Snel-post: egel
scoutnet.nl
\ / \ /
>O< >O<
*{_} {_}*
_______________________________________________
Axp-list mailing list
Axp-list
redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]