From: hazen@budoe.bu.edu (Eric Hazen) Subject: Re: Installing from 0.96c root disk(success) Date: 28 Jul 1992 13:38:57 GMT
In article <1992Jul27.204146.35137@uservx.plk.af.mil>
simonich@uservx.plk.af.mil writes: (Philip Balister) writes:
> Hi,
>
> I've been installing my second linux machine from the 0.96c boot/root disks.
[ stuff deleted]
> 3) The kernel stuff goes OK, excpet when compiling build.c. It looks for
> linux/include/fs.h, not around any more. After some research I patched it
> to use <sys/sysmacros.h> (The cdiffs follow)
>
[ patch deleted ]
I applied your fix to build.c with the following results:
in file included from tools/build.c:25:
/usr/include/stdlib.h:115: parse error before '*'
/usr/include/stdlib.h:118: parse error before 'wchar_t'
/usr/include/stdlib.h:121: parse error before '*'
/usr/include/stdlib.h:123: parse error before '*'
(Note: I also changed one line in Makefilerror before '*'
(Note: in Makefile:
HOSTCC =gcc -static
becomes
HOSTCC =gcc -static -I$(KERNELHDRS)
)
Any suggestestions? Thanks
I found that fs.h was in the kernel header files, in
/usr/src/linux/include/linux. I symlinked to /usr/include/linux
[ ln -s /usr/src/linux/include/linux /usr/include/linux ]
and it worked fine.
Could someone more knowledgeable please comment if this is a good idea?
Is the directory /usr/include/linux supposed to point to kernel headers?