Re: need help with oaknet.c

From: Jörn Engel (
Date: Thu Jun 12 2003 - 04:25:48 EST

On Thu, 12 June 2003 11:05:03 +0200, Felix von Leitner wrote:
> Envelope-to:
> Delivery-date: Thu, 12 Jun 2003 11:06:56 +0200
> From: Felix von Leitner <>
> To:
> Subject: need help with oaknet.c
> X-Mailing-List:
> Hi Grant,
> I'm trying to cross compile a linux 2.5.70 kernel to ppc, and after
> removing a few obstacles I'm now stuck in oaknet.c, which bears your
> email address.

Did I miss something or did you forget something in To: or CC:?

> Here are the compile errors. I have no idea where I can get an
> asm/board.h and a grep did not find the missing defines.
> drivers/net/oaknet.c:24:23: asm/board.h: No such file or directory
> drivers/net/oaknet.c: In function `oaknet_init':
> drivers/net/oaknet.c:102: error: `OAKNET_IO_BASE' undeclared (first use
> in this function)

include/asm-ppc/board.h got removed somewhere between 2.4.19 and
2.4.20 (and between 2.5.0 and 2.5.70, search yourself). Quick fix
without thinking is to grab the one from 2.4.19 and add it to 2.5.70.
If you want a working system, a bit thinking might help though. :)


To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-- Theodore Roosevelt, Kansas City Star, 1918
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:31 EST