home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sdd.hp.com!uakari.primate.wisc.edu!ames!agate!stanford.edu!rutgers!micro-heart-of-gold.mit.edu!bu.edu!nntp-read!hazen
- From: hazen@budoe.bu.edu (Eric Hazen)
- Newsgroups: comp.os.linux
- Subject: Re: Installing from 0.96c root disk(success)
- Message-ID: <HAZEN.92Jul28093857@budoe.bu.edu>
- Date: 28 Jul 92 13:38:57 GMT
- References: <1992Jul25.233826.2624@athena.mit.edu>
- <1992Jul27.204146.35137@uservx.plk.af.mil>
- Sender: news@bu.edu
- Organization: Boston University Physics Department
- Lines: 48
- In-reply-to: simonich@uservx.plk.af.mil's message of 27 Jul 92 20:41:46 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?
- --
-
- +----------------------------------------------------------------------+
- | Eric Hazen hazen@buphy.bu.edu Phone: 617/353-4117 |
- | Boston University Physics Dept Fax: 617/353-9393 |
- | |
- | "O give me commentators plain, |
- | Who with no deep researches vex the brain" - Crabbe |
- +----------------------------------------------------------------------+
-