From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: configure error with alsa-driver-0.9.7a Date: Fri, 10 Oct 2003 17:23:08 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <000901c38e45$961d5c20$91f8e589@farnorth> <000501c38f14$beaafa60$7ff8e589@farnorth> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Fri_Oct_10_17:23:08_2003-1" Return-path: In-Reply-To: <000501c38f14$beaafa60$7ff8e589@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_Fri_Oct_10_17:23:08_2003-1 Content-Type: text/plain; charset=US-ASCII At Fri, 10 Oct 2003 01:54:25 -0800, Paul Berry wrote: > > Thank you for the patch Takashi and here is what came of it. > > I'm kinda green at this so this is what I did with the patch. I copied it to > the alsa-driver-0.9.7a/acore/ folder and ran: > patch -b --verbose memalloc.c > everything seemed to go fine so I restarted the make process and here is the > tail of what followed (the memalloc.o file was created as well): does the attached patch solve the problem? Takashi --Multipart_Fri_Oct_10_17:23:08_2003-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="linux22-nopci.dif" Content-Transfer-Encoding: 7bit Index: alsa-driver/acore/memory_wrapper.c =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-driver/acore/memory_wrapper.c,v retrieving revision 1.8 diff -u -r1.8 memory_wrapper.c --- alsa-driver/acore/memory_wrapper.c 30 Jun 2003 10:07:07 -0000 1.8 +++ alsa-driver/acore/memory_wrapper.c 10 Oct 2003 15:21:15 -0000 @@ -13,8 +13,10 @@ #include #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0) +#ifdef CONFIG_PCI #include #include "pci_compat_22.c" +#endif #endif /* vmalloc_to_page wrapper */ --Multipart_Fri_Oct_10_17:23:08_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