Re: Linux 2.4.19-pre6 doesn't compile on Alpha and sparc64

David S. Miller (davem@redhat.com)
Fri, 05 Apr 2002 05:07:06 -0800 (PST)


From: Jurgen Philippaerts <jurgen@pophost.eunet.be>
Date: Fri, 5 Apr 2002 15:02:24 +0200

On Fri, Apr 05, 2002 at 03:00:11PM +0200, Jurgen Philippaerts wrote:
> On Fri, Apr 05, 2002 at 02:00:14PM +0200, Alexander Viro wrote:
> >
> > > init/do_mounts.c:45: parse error before `mount_initrd'
> > [snip]
> >
> > Looks like a missing init.h - sorry, this sucker didn't get caught (on
> > x86 slab.h ends up pulling it in, on alpha it doesn't).
> >
> > Fix: add #include <linux/init.h> in init/do_mounts.c
>
> same on sparc64.
> adding the extra #include fixes it.

but then it goes wrong with `make modules`

Add include of linux/init.h, fix declarations of TS_open and
TS_release to return int instead of ssize_t.

Franks a lot,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/