All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axel Thimm <Axel.Thimm@ATrpms.net>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: xenU/x86_64: error: incompatible type for argument 1 of 'pud_val'
Date: Tue, 4 Apr 2006 22:10:12 +0200	[thread overview]
Message-ID: <20060404201012.GX24961@neu.nirvana> (raw)
In-Reply-To: <s5hodzh72z4.wl%tiwai@suse.de>

[-- 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 --]

  reply	other threads:[~2006-04-04 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2006-04-05 11:24     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060404201012.GX24961@neu.nirvana \
    --to=axel.thimm@atrpms.net \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.