All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Langer <martin-langer@gmx.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: problems on alpha
Date: Mon, 17 Nov 2003 22:15:24 +0100	[thread overview]
Message-ID: <20031117211523.GA545@tuba.home> (raw)
In-Reply-To: <s5h65hikhgu.wl@alsa2.suse.de>

On Mon, Nov 17, 2003 at 06:55:29PM +0100, Takashi Iwai wrote:
> At Mon, 17 Nov 2003 12:08:39 +0100,
> I wrote:
> > 
> > At Sun, 16 Nov 2003 18:51:17 +0100,
> > Martin Langer wrote:
> > > 
> > > gcc -D__KERNEL__ -DMODULE=1 -I/usr/local/src/alsa-cvs/alsa-driver/include
> > > -I/lib/modules/2.2.19/build/include -O2 -mno-fp-regs -ffixed-8 -Wa,-mev6
> > > -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
> > > -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD
> > > -DKBUILD_BASENAME=memory_wrapper   -c -o memory_wrapper.o memory_wrapper.c
> > > memory_wrapper.c: In function snd_compat_vmalloc_to_page':
> > > memory_wrapper.c:35: warning: implicit declaration of function VMALLOC_VMADDR'
> > > memory_wrapper.c:39: warning: implicit declaration of function pgd_offset'
> > > memory_wrapper.c:39: warning: assignment makes pointer from integer without
> > > a cast
> > > memory_wrapper.c:40: warning: implicit declaration of function pmd_offset'
> > > memory_wrapper.c:40: warning: assignment makes pointer from integer without
> > > a cast
> > > memory_wrapper.c:41: warning: implicit declaration of function pte_offset'
> > > memory_wrapper.c:41: warning: assignment makes pointer from integer without
> > > a cast
> > > memory_wrapper.c:43: warning: implicit declaration of function pte_page'
> > 
> > it seems that configure script didn't detect these checks correctly.
> > could you check config.log ?
> 
> it seems that 2.2.19 kernel surely has these definitions.
> are you sure that you pass the correct kernel source path to configure
> script, or /lib/modules/2.2.19/build is symlinked to its kernel source
> tree?

Yes. I've found the lines in config.log and it's an alpha problem.
Thanks for that config.log hint. 

martin


configure:3194: checking for vmalloc_to_page
configure:3214: gcc -c -g -O2 -I/lib/modules/2.2.19/build/include  conftest.c 1>&5
In file included from /lib/modules/2.2.19/build/include/asm/semaphore.h:11,
                 from /lib/modules/2.2.19/build/include/linux/sched.h:17,
                 from /lib/modules/2.2.19/build/include/linux/mm.h:4,
                 from configure:3204:
/lib/modules/2.2.19/build/include/asm/current.h:4: global register variable follows a function definition
/lib/modules/2.2.19/build/include/asm/current.h:4: warning: call-clobbered register used for global register variable
configure: In function `main':
configure:3209: `vmalloc_to_page' undeclared (first use in this function)
configure:3209: (Each undeclared identifier is reported only once
configure:3209: for each function it appears in.)



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl

  reply	other threads:[~2003-11-17 21:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-16 17:51 problems on alpha Martin Langer
2003-11-17 11:08 ` Takashi Iwai
2003-11-17 17:55   ` Takashi Iwai
2003-11-17 21:15     ` Martin Langer [this message]
2003-11-17 21:26   ` Martin Langer
2003-11-18 10:09     ` Takashi Iwai
2003-11-23 14:27       ` Martin Langer

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=20031117211523.GA545@tuba.home \
    --to=martin-langer@gmx.de \
    --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.