Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Problem building alsa 0.9 on 2.4.20
@ 2003-04-03  7:59 Wouter Rademaker
  0 siblings, 0 replies; only message in thread
From: Wouter Rademaker @ 2003-04-03  7:59 UTC (permalink / raw)
  To: 'alsa-user@lists.sourceforge.net',
	'axp-list@redhat.com', 'suse-axp@suse.com'

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<
  *{_}   {_}*


  





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-03  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-03  7:59 Problem building alsa 0.9 on 2.4.20 Wouter Rademaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox