From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: xenU/x86_64: error: incompatible type for argument 1 of 'pud_val' Date: Tue, 04 Apr 2006 17:52:15 +0200 Message-ID: References: <20060404111557.GS24961@neu.nirvana> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20060404111557.GS24961@neu.nirvana> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel List-Id: alsa-devel@alsa-project.org At Tue, 4 Apr 2006 13:15:57 +0200, Axel Thimm wrote: > > Hi, > > I'm trying to build rpms for alsa 1.0.11rc4 for several > distributions/arch in the RHEL/Fedora Core world and came across the > following issue: > > CC [M] /builddir/alsa-driver-1.0.11rc4/acore/memory_wrapper.o > /builddir/alsa-driver-1.0.11rc4/acore/memory_wrapper.c: In function 'snd_compat_vmalloc_to_page': > /builddir/alsa-driver-1.0.11rc4/acore/memory_wrapper.c:40: warning: implicit declaration of function 'VMALLOC_VMADDR' > /builddir/alsa-driver-1.0.11rc4/acore/memory_wrapper.c:45: error: incompatible type for argument 1 of 'pud_val' > /builddir/alsa-driver-1.0.11rc4/acore/memory_wrapper.c:46: warning: implicit declaration of function 'pte_offset' > /builddir/alsa-driver-1.0.11rc4/acore/memory_wrapper.c:46: warning: assignment makes pointer from integer without a cast > > That's on FC5/x86_64 building for the kernel flavour xenU > (guest). Building for FC5/i386 works. vmalloc_to_page() should exist in linux/mm.h in the case of 2.6 kernel. Check config.log whether configure properly detected the function or not. Takashi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642