mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Oliver Pitzeier" <o.pitzeier@uptime.at>
To: "'Ivan Kokshaysky'" <ink@jurassic.park.msu.ru>
Cc: "'Richard Henderson'" <rth@twiddle.net>, <linux-kernel@vger.kernel.org>
Subject: RE: [patch] Re: kernel 2.5.18 on alpha
Date: Tue, 4 Jun 2002 11:55:30 +0200	[thread overview]
Message-ID: <000001c20bad$f6aa7850$010b10ac@sbp.uptime.at> (raw)
In-Reply-To: <20020528191753.A5254@jurassic.park.msu.ru>

Ivan Kokshaysky wrote:
> On Tue, May 28, 2002 at 04:29:15PM +0200, Oliver Pitzeier wrote:
> > I get this error when trying to compile kernel 2.5.18 on alpha.
> 
> Just intended to post the patch... :-)
> 
> - sync up with new pte/pfn/page/tlb macros
> - pcibios_init() should return int;
> - find last bit set: ctlz for ev67 and above, generic for others.
> 
> > /root/linux-2.5.18/include/linux/suspend.h:4:25: asm/suspend.h: No 
> > such file or directory
> 
> I'm not sure what to do with this. I doubt that we ever want 
> this file on alpha. For myself I moved "#include 
> <asm/suspend.h>" under #ifdef CONFIG_SOFTWARE_SUSPEND and 
> everything compiles.

Yes. It does! Great job! But there are new problems with 2.5.20. I try
to catch 'em. I may find the gizmo... :o)

I you want to know the error:
gcc -D__KERNEL__ -I/usr/src/linux-2.5.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5
-Wa,-mev6    -DKBUILD_BASENAME=main  -c -o main.o main.c
In file included from /usr/src/linux-2.5.20/include/linux/pagemap.h:10,
                 from /usr/src/linux-2.5.20/include/linux/blkdev.h:9,
                 from /usr/src/linux-2.5.20/include/linux/blk.h:4,
                 from main.c:25:
/usr/src/linux-2.5.20/include/linux/highmem.h:80:42: macro
"clear_user_page" passed 3 arguments, but takes just 2
/usr/src/linux-2.5.20/include/linux/highmem.h:114:45: macro
"copy_user_page" passed 4 arguments, but takes just 3
In file included from /usr/src/linux-2.5.20/include/linux/pagemap.h:10,
                 from /usr/src/linux-2.5.20/include/linux/blkdev.h:9,
                 from /usr/src/linux-2.5.20/include/linux/blk.h:4,
                 from main.c:25:
/usr/src/linux-2.5.20/include/linux/highmem.h: In function
`clear_user_highpage':
/usr/src/linux-2.5.20/include/linux/highmem.h:80: `clear_user_page'
undeclared (first use in this function)
/usr/src/linux-2.5.20/include/linux/highmem.h:80: (Each undeclared
identifier is reported only once
/usr/src/linux-2.5.20/include/linux/highmem.h:80: for each function it
appears in.)
/usr/src/linux-2.5.20/include/linux/highmem.h:79: warning: unused
variable `addr'
/usr/src/linux-2.5.20/include/linux/highmem.h: In function
`copy_user_highpage':
/usr/src/linux-2.5.20/include/linux/highmem.h:114: `copy_user_page'
undeclared (first use in this function)
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.20/init'
make: *** [init] Error 2

Greetz,
 Oliver



  reply	other threads:[~2002-06-04  9:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <50.c105234.2a24c92d@aol.com>
2002-05-28 13:42 ` business models [was patent stuff] Gilad Ben-Yossef
2002-05-28 14:29   ` kernel 2.5.18 on alpha Oliver Pitzeier
2002-05-28 15:17     ` [patch] " Ivan Kokshaysky
2002-06-04  9:55       ` Oliver Pitzeier [this message]
2002-05-30 15:13     ` Oliver Pitzeier
2002-05-30 15:17       ` David Woodhouse

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='000001c20bad$f6aa7850$010b10ac@sbp.uptime.at' \
    --to=o.pitzeier@uptime.at \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rth@twiddle.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®