* xenU/x86_64: error: incompatible type for argument 1 of 'pud_val'
@ 2006-04-04 11:15 Axel Thimm
2006-04-04 15:52 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Axel Thimm @ 2006-04-04 11:15 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 930 bytes --]
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.
Thanks!
--
Axel.Thimm at ATrpms.net
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xenU/x86_64: error: incompatible type for argument 1 of 'pud_val'
2006-04-04 11:15 xenU/x86_64: error: incompatible type for argument 1 of 'pud_val' Axel Thimm
@ 2006-04-04 15:52 ` Takashi Iwai
2006-04-04 20:10 ` Axel Thimm
0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2006-04-04 15:52 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xenU/x86_64: error: incompatible type for argument 1 of 'pud_val'
2006-04-04 15:52 ` Takashi Iwai
@ 2006-04-04 20:10 ` Axel Thimm
2006-04-05 11:24 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Axel Thimm @ 2006-04-04 20:10 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 2837 bytes --]
On Tue, Apr 04, 2006 at 05:52:15PM +0200, Takashi Iwai wrote:
> 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.
The check failed due to
configure:7067: checking for vmalloc_to_page
configure:7098: /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/kernel/include -nostdinc -iwithprefix include -DKBUILD_BASENAME="dummy" conftest.c >&5
In file included from /kernel/include/linux/smp.h:19,
from /kernel/include/linux/sched.h:26,
from /kernel/include/linux/mm.h:4,
from conftest.c:26:
/kernel/include/asm/smp.h: In function 'hard_smp_processor_id':
/kernel/include/asm/smp.h:78: warning: implicit declaration of function 'GET_APIC_ID'
/kernel/include/asm/smp.h:78: error: 'APIC_BASE' undeclared (first use in this function)
/kernel/include/asm/smp.h:78: error: (Each undeclared identifier is reported only once
/kernel/include/asm/smp.h:78: error: for each function it appears in.)
/kernel/include/asm/smp.h:78: error: 'APIC_ID' undeclared (first use in this function)
/kernel/include/asm/smp.h: In function 'cpu_present_to_apicid':
/kernel/include/asm/smp.h:113: error: 'BAD_APICID' undeclared (first use in this function)
/kernel/include/asm/smp.h: In function 'logical_smp_processor_id':
/kernel/include/asm/smp.h:136: warning: implicit declaration of function 'GET_APIC_LOGICAL_ID'
/kernel/include/asm/smp.h:136: error: 'APIC_BASE' undeclared (first use in this function)
/kernel/include/asm/smp.h:136: error: 'APIC_LDR' undeclared (first use in this function)
configure:7104: $? = 1
--
Axel.Thimm at ATrpms.net
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Re: xenU/x86_64: error: incompatible type for argument 1 of 'pud_val'
2006-04-04 20:10 ` Axel Thimm
@ 2006-04-05 11:24 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2006-04-05 11:24 UTC (permalink / raw)
To: alsa-devel
At Tue, 4 Apr 2006 22:10:12 +0200,
Axel Thimm wrote:
>
> On Tue, Apr 04, 2006 at 05:52:15PM +0200, Takashi Iwai wrote:
> > 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.
>
> The check failed due to
>
> configure:7067: checking for vmalloc_to_page
> configure:7098: /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/kernel/include -nostdinc -iwithprefix include -DKBUILD_BASENAME="dummy" conftest.c >&5
> In file included from /kernel/include/linux/smp.h:19,
> from /kernel/include/linux/sched.h:26,
> from /kernel/include/linux/mm.h:4,
> from conftest.c:26:
> /kernel/include/asm/smp.h: In function 'hard_smp_processor_id':
> /kernel/include/asm/smp.h:78: warning: implicit declaration of function 'GET_APIC_ID'
> /kernel/include/asm/smp.h:78: error: 'APIC_BASE' undeclared (first use in this function)
> /kernel/include/asm/smp.h:78: error: (Each undeclared identifier is reported only once
> /kernel/include/asm/smp.h:78: error: for each function it appears in.)
> /kernel/include/asm/smp.h:78: error: 'APIC_ID' undeclared (first use in this function)
> /kernel/include/asm/smp.h: In function 'cpu_present_to_apicid':
> /kernel/include/asm/smp.h:113: error: 'BAD_APICID' undeclared (first use in this function)
> /kernel/include/asm/smp.h: In function 'logical_smp_processor_id':
> /kernel/include/asm/smp.h:136: warning: implicit declaration of function 'GET_APIC_LOGICAL_ID'
> /kernel/include/asm/smp.h:136: error: 'APIC_BASE' undeclared (first use in this function)
> /kernel/include/asm/smp.h:136: error: 'APIC_LDR' undeclared (first use in this function)
> configure:7104: $? = 1
It's a bug in asm-x86-64/smp.h. It should include <asm/apic.h>
unconditionally.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-04-05 11:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-04 11:15 xenU/x86_64: error: incompatible type for argument 1 of 'pud_val' Axel Thimm
2006-04-04 15:52 ` Takashi Iwai
2006-04-04 20:10 ` Axel Thimm
2006-04-05 11:24 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.