Subject: Problem compiling FOURMEG kernel
To: NetBSD/arm26 mailing list <port-arm26@netbsd.org>
From: Kjetil B. Thomassen <kjetil@thomassen.priv.no>
List: port-arm26
Date: 02/08/2001 20:33:33
I have tried to cross-compile a new FOURMEG kernel on my NetBSD/sparc
1.4, but it does not work:

/usr/pkg/cross/armv2-netbsd/bin/cc -mcpu=arm2 -ffixed-r14  -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -I. -I../../../../arch -I../../../.. -nostdinc  -DMAXUSERS=2 -D_KERNEL -Darm26  -Wcomment  -c ../../../../arch/arm26/arm26/irq.c

../../../../arch/arm26/arm26/irq.c: In function `irq_handler':
../../../../arch/arm26/arm26/irq.c:150: warning: passing arg 1 of `ioeb_irq_clear' makes pointer from integer without a cast
../../../../arch/arm26/arm26/irq.c:150: too few arguments to function `ioeb_irq_clear'
../../../../arch/arm26/arm26/irq.c: In function `irq_establish':
../../../../arch/arm26/arm26/irq.c:216: warning: passing arg 1 of `ioeb_irq_clear' makes pointer from integer without a cast
../../../../arch/arm26/arm26/irq.c:216: too few arguments to function `ioeb_irq_clear'
*** Error code 1

The sources should be yesterday, and checking with cvsweb I find that I
have the latest version of irq.c (1.13):
http://cvsweb.netbsd.org/bsdweb.cgi/syssrc/sys/arch/arm26/arm26/

I have a config of a few days ago, and also did a make depend before the
make.

So, does anyone want to fix this?

TIA!

Kjetil B.
mailto:kjetil@thomassen.priv.no
http://www.thomassen.priv.no/