From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 85D3A3EA07 for ; Thu, 3 Apr 2003 02:58:47 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h337wmY08341 for axp-list@listman.redhat.com; Thu, 3 Apr 2003 02:58:48 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h337wlJ08337 for ; Thu, 3 Apr 2003 02:58:47 -0500 Received: from proxy.vlwonen.nl (mail.vreewijk.nl [212.206.219.50]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h337whe15724 for ; Thu, 3 Apr 2003 02:58:44 -0500 Received: from 192.168.10.138 by proxy.vlwonen.nl (InterScan E-Mail VirusWall NT); Thu, 03 Apr 2003 09:55:11 +0200 Received: by WEBSERVER with Internet Mail Service (5.5.2650.21) id ; Thu, 3 Apr 2003 09:59:21 +0200 Message-ID: <9D176BC896E3D311B8490000E22981988C16B7@WEBSERVER> From: Wouter Rademaker To: "'alsa-user@lists.sourceforge.net'" , "'axp-list@redhat.com'" , "'suse-axp@suse.com'" Subject: Problem building alsa 0.9 on 2.4.20 Date: Thu, 3 Apr 2003 09:59:21 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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< *{_} {_}*