Re: ALSA 1.0.12rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 9 Aug 2006 13:36:18 +0200,
Axel Thimm wrote:
> 
> On Wed, Aug 09, 2006 at 01:25:13PM +0200, Takashi Iwai wrote:
> > > c) on 2.6.17/x86_64 xen guest kernels:
> > > 
> > >   CC [M]  /builddir/alsa-driver-1.0.12rc2/acore/memory_wrapper.o
> > > /builddir/alsa-driver-1.0.12rc2/acore/memory_wrapper.c: In function 'snd_compat_vmalloc_to_page':
> > > /builddir/alsa-driver-1.0.12rc2/acore/memory_wrapper.c:40: error: implicit declaration of function 'VMALLOC_VMADDR'
> > > /builddir/alsa-driver-1.0.12rc2/acore/memory_wrapper.c:45: error: incompatible type for argument 1 of 'pud_val'
> > > /builddir/alsa-driver-1.0.12rc2/acore/memory_wrapper.c:46: error: implicit declaration of function 'pte_offset'
> > > /builddir/alsa-driver-1.0.12rc2/acore/memory_wrapper.c:46: warning: assignment makes pointer from integer without a cast
> > > make[3]: *** [/builddir/alsa-driver-1.0.12rc2/acore/memory_wrapper.o] Error 1
> > 
> > This must be because of the failed detection in configure.
> > Could you show config.log?
> 
> configure:7100: checking for vmalloc_to_page
> configure:7131: /usr/bin/gcc -c -Wall -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/amd/heretic/0/data_nobkp/bac
> h/bach-kernel/fc5-x86_64/2.6.17-1.2157_FC5-x86_64-xenU/include  -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy)  conftest.c >&5
> In file included from /builddir/kernel/include/linux/smp.h:19,
>                  from /builddir/kernel/include/linux/sched.h:26,
>                  from /builddir/kernel/include/linux/mm.h:4,
>                  from conftest.c:26:
> /builddir/kernel/include/asm/smp.h: In function 'hard_smp_processor_id':
> /builddir/kernel/include/asm/smp.h:79: warning: implicit declaration of function 'GET_APIC_ID'
> /builddir/kernel/include/asm/smp.h:79: error: 'APIC_BASE' undeclared (first use in this function)
> /builddir/kernel/include/asm/smp.h:79: error: (Each undeclared identifier is reported only once
> /builddir/kernel/include/asm/smp.h:79: error: for each function it appears in.)
> /builddir/kernel/include/asm/smp.h:79: error: 'APIC_ID' undeclared (first use in this function)
> /builddir/kernel/include/asm/smp.h: In function 'cpu_present_to_apicid':
> /builddir/kernel/include/asm/smp.h:114: error: 'BAD_APICID' undeclared (first use in this function)
> /builddir/kernel/include/asm/smp.h: In function 'logical_smp_processor_id':
> /builddir/kernel/include/asm/smp.h:137: warning: implicit declaration of function 'GET_APIC_LOGICAL_ID'
> /builddir/kernel/include/asm/smp.h:137: error: 'APIC_BASE' undeclared (first use in this function)
> /builddir/kernel/include/asm/smp.h:137: error: 'APIC_LDR' undeclared (first use in this function)
> configure:7137: $? = 1

This looks like a bug of asm-x86_64/smp.h.
The patch (to HG version) below is a workaround for this problem.
Could you check it?


Takashi

diff -r 5c926cbba14e configure.in
--- a/configure.in	Wed Aug 09 13:23:27 2006 +0200
+++ b/configure.in	Wed Aug 09 14:15:40 2006 +0200
@@ -1523,6 +1523,7 @@ AC_TRY_COMPILE([
 #define __KERNEL__
 #include <linux/config.h>
 #include <linux/time.h>
+#include <linux/interrupt.h>
 #include <linux/mm.h>
 ],[
   struct page * (*func)(void*);

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux