public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Compiling kernel 2.4.21 on HP zx6000
@ 2003-06-19 18:20 ia64
  2003-06-19 18:30 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: ia64 @ 2003-06-19 18:20 UTC (permalink / raw)
  To: linux-ia64

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Linux-ia64] Compiling kernel 2.4.21 on HP zx6000
  2003-06-19 18:20 [Linux-ia64] Compiling kernel 2.4.21 on HP zx6000 ia64
@ 2003-06-19 18:30 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2003-06-19 18:30 UTC (permalink / raw)
  To: linux-ia64

On Thursday 19 June 2003 12:20 pm, ia64@OXYGEN.chem.nthu.edu.tw wrote:
> 	Has anybody ever succeeded in compiling kernel 2.4.21 over HP zx6000
> workstations, running RedHat AW 2.1?

No.  You can't build an ia64 kernel from the unmodified 2.4.21 source.
You have to first apply the ia64 patch (which I haven't released yet).

Bjorn


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-19 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-19 18:20 [Linux-ia64] Compiling kernel 2.4.21 on HP zx6000 ia64
2003-06-19 18:30 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox