Re: Bad includes in 1.3.75

Matti E Aarnio (mea@mea.cc.utu.fi)
Mon, 18 Mar 1996 16:45:58 +0200 (EET)


> Linus,
> I just tried to cross compile 1.3.75 from Digital Unix. There are some
> problems with system include files being used instead of kernel header
> files. I grepped through the source, and here is a list of places which
> are probably wrong (ie #includeing <sys/XXX.h> instead of <linux/XXX.h).
> I took out all the things that showed up under boot subdirectories, because
> I thought those might be deliberate.

I side-stepped this problem by creating a compiler
environment at my OSF/1 (ok, they renamed it, but
I like the old name better..) system, which uses
Linux libc, and includes.

Compilation works, but it doesn't boot at my troubled
Alpha-XL/266 ...

> Jim
>
> ./kernel/sys.c:#include <sys/sysmacros.h>
> ./include/linux/soundcard.h:#include <sys/ioctl.h>
> ./include/linux/quota.h:#include <sys/cdefs.h>
> ./include/linux/md.h:#include <sys/types.h>
> ./drivers/char/ftape/ecc.c:#include <sys/errno.h>
> ./drivers/sound/os.h:#include <sys/kd.h>

/Matti Aarnio <mea@utu.fi> <mea@nic.funet.fi>