public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: ia64@OXYGEN.chem.nthu.edu.tw
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Compiling kernel 2.4.21 on HP zx6000
Date: Thu, 19 Jun 2003 18:20:47 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105604697305688@msgid-missing> (raw)

Dear Colleagues,

	Has anybody ever succeeded in compiling kernel 2.4.21 over HP zx6000
workstations, running RedHat AW 2.1? The following error messages just poped
out, as attached in the end of this mail.

	The gcc version is 3.1 downloaded from HP's support site. Is there
any prerequisite prior to compilation of the 2.4.21 kernel? Also, is the 
2.96 series gcc enclosed in the original RedHat release capable of compiling
kernels? Thank you very much for your help.

# Error messages generated by the command "make" after "make dep"
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe  -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -mconstant-gp  -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.21/include/linux/irq.h:69,
                 from /usr/src/linux-2.4.21/include/asm/hardirq.h:12,
                 from /usr/src/linux-2.4.21/include/linux/interrupt.h:46,
                 from /usr/src/linux-2.4.21/include/asm/smplock.h:6,
                 from /usr/src/linux-2.4.21/include/linux/smp_lock.h:16,
                 from init/main.c:24:
/usr/src/linux-2.4.21/include/asm/hw_irq.h: In function `__ia64_irq_desc':
/usr/src/linux-2.4.21/include/asm/hw_irq.h:99: invalid use of undefined type `struct irq_desc'
/usr/src/linux-2.4.21/include/asm/hw_irq.h: At top level:
/usr/src/linux-2.4.21/include/asm/hw_irq.h:128: `irq_desc' redeclared as different kind of symbol
/usr/src/linux-2.4.21/include/linux/irq.h:67: previous declaration of `irq_desc'
/usr/src/linux-2.4.21/include/asm/hw_irq.h:128: warning: `irq_desc' was declared `extern' and later `static'
In file included from /usr/src/linux-2.4.21/include/linux/pagemap.h:16,
                 from /usr/src/linux-2.4.21/include/linux/locks.h:8,
                 from /usr/src/linux-2.4.21/include/linux/blk.h:5,
                 from init/main.c:25:
/usr/src/linux-2.4.21/include/linux/highmem.h: In function `clear_user_highpage':
/usr/src/linux-2.4.21/include/linux/highmem.h:87: too few arguments to function `clear_user_page'
/usr/src/linux-2.4.21/include/linux/highmem.h: In function `copy_user_highpage':
/usr/src/linux-2.4.21/include/linux/highmem.h:119: too few arguments to function `copy_user_page'
make: *** [init/main.o] Error 1


Sincerely
--
Yu, Jen-Shiang Kenny  	//	jsyu@Platinum.chem.nthu.edu.tw
http://oxygen.chem.nthu.edu.tw/~jsyu
Theoretical Chemistry Lab,
Department of Chemistry,
National Tsing Hua University
Hsinchu 300, TAIWAN



_______________________________________________
Linux-IA64 mailing list
Linux-IA64@linuxia64.org
http://lists.linuxia64.org/lists/listinfo/linux-ia64

             reply	other threads:[~2003-06-19 18:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-19 18:20 ia64 [this message]
2003-06-19 18:30 ` [Linux-ia64] Compiling kernel 2.4.21 on HP zx6000 Bjorn Helgaas

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=marc-linux-ia64-105604697305688@msgid-missing \
    --to=ia64@oxygen.chem.nthu.edu.tw \
    --cc=linux-ia64@vger.kernel.org \
    /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