From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: build error in pcm_native.c Date: Fri, 16 Jul 2004 12:28:45 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200407161357.56902@goldspace.net> <200407161414.54729@goldspace.net> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Fri_Jul_16_12:28:45_2004-1" Return-path: In-Reply-To: <200407161414.54729@goldspace.net> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Andrew Gaydenko Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Fri_Jul_16_12:28:45_2004-1 Content-Type: text/plain; charset=US-ASCII At Fri, 16 Jul 2004 14:14:54 +0400, Andrew Gaydenko wrote: > > There are no uncommented strings for this macro. The only is: > > /* #undef CONFIG_OLD_REMAP_PAGE_RANGE */ Well then configure script couldn't detect it. Please try the attached patch. > Andrew > > P.S. Must I reply to tiwai@suse.de or alsa-devel@lists.sourceforge.net > or both? Both please. Otherwise the information won't go outside. I don't like to keep such things secret :) Takashi --Multipart_Fri_Jul_16_12:28:45_2004-1 Content-Type: text/plain; charset=US-ASCII Index: alsa-driver/configure.in =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-driver/configure.in,v retrieving revision 1.184 diff -u -r1.184 configure.in --- alsa-driver/configure.in 15 Jul 2004 15:04:36 -0000 1.184 +++ alsa-driver/configure.in 16 Jul 2004 10:27:35 -0000 @@ -1306,8 +1306,10 @@ #include "$CONFIG_SND_KERNELDIR/include/linux/config.h" #include "$CONFIG_SND_KERNELDIR/include/linux/mm.h" ],[ - void * (*func)(struct vm_area_struct *, unsigned long, unsigned long, unsigned long, pgprot_t); + int (*func)(struct vm_area_struct *, unsigned long, unsigned long, unsigned long, pgprot_t); + pgprot_t p; func = remap_page_range; + remap_page_range(NULL, 0, 0, 0, p); ], AC_MSG_RESULT("yes");new_remap="0", AC_MSG_RESULT("no");new_remap="1", --Multipart_Fri_Jul_16_12:28:45_2004-1-- ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click