From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: configure error with alsa-driver-0.9.7a Date: Thu, 09 Oct 2003 12:22:55 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <000901c38e45$961d5c20$91f8e589@farnorth> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Thu_Oct__9_12:22:55_2003-1" Return-path: In-Reply-To: <000901c38e45$961d5c20$91f8e589@farnorth> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Paul Berry Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Thu_Oct__9_12:22:55_2003-1 Content-Type: text/plain; charset=US-ASCII At Thu, 9 Oct 2003 01:11:49 -0800, Paul Berry wrote: > > Thank you Takashi, > > With your advice I was able to run the configure script. > Now alas, make is giving me problems... > If it matters any this is an old 486 ISA (only) computer, (Dinosours still > roam some parts of the planet....) and no PCI stuff was compiled into the > kernel. please try the patch attached below. (it's already on cvs.) ciao, Takashi --Multipart_Thu_Oct__9_12:22:55_2003-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="memalloc-nopci.dif" Content-Transfer-Encoding: 7bit Index: alsa-kernel/core/memalloc.c =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/core/memalloc.c,v retrieving revision 1.16 diff -u -r1.16 memalloc.c --- alsa-kernel/core/memalloc.c 8 Sep 2003 09:02:16 -0000 1.16 +++ alsa-kernel/core/memalloc.c 9 Oct 2003 10:19:42 -0000 @@ -783,6 +783,7 @@ * allocation of buffers for pre-defined devices */ +#ifdef CONFIG_PCI /* FIXME: for pci only - other bus? */ struct prealloc_dev { unsigned short vendor; @@ -854,6 +855,9 @@ } } } +#else +#define preallocate_cards() /* NOP */ +#endif #ifdef CONFIG_PROC_FS --Multipart_Thu_Oct__9_12:22:55_2003-1-- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php