home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6854 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  2.4 KB

  1. 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
  2. From: hazen@budoe.bu.edu (Eric Hazen)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Installing from 0.96c root disk(success)
  5. Message-ID: <HAZEN.92Jul28093857@budoe.bu.edu>
  6. Date: 28 Jul 92 13:38:57 GMT
  7. References: <1992Jul25.233826.2624@athena.mit.edu>
  8.     <1992Jul27.204146.35137@uservx.plk.af.mil>
  9. Sender: news@bu.edu
  10. Organization: Boston University Physics Department
  11. Lines: 48
  12. In-reply-to: simonich@uservx.plk.af.mil's message of 27 Jul 92 20:41:46 GMT
  13.  
  14.  
  15. In article <1992Jul27.204146.35137@uservx.plk.af.mil>
  16. simonich@uservx.plk.af.mil writes:  (Philip Balister) writes:
  17.    > Hi,
  18.    > 
  19.    > I've been installing my second linux machine from the 0.96c boot/root disks.
  20. [ stuff deleted]
  21.  
  22.    > 3) The kernel stuff goes OK, excpet when compiling build.c. It looks for
  23.    > linux/include/fs.h, not around any more. After some research I patched it
  24.    > to use <sys/sysmacros.h> (The cdiffs follow)
  25.    > 
  26. [ patch deleted ]
  27.  
  28.    I applied your fix to build.c with the following results:
  29.  
  30.        in file included from tools/build.c:25:
  31.        /usr/include/stdlib.h:115: parse error before '*'
  32.        /usr/include/stdlib.h:118: parse error before 'wchar_t'
  33.        /usr/include/stdlib.h:121: parse error before '*'
  34.        /usr/include/stdlib.h:123: parse error before '*'
  35.  
  36.    (Note: I also changed one line in Makefilerror before '*'
  37.      (Note: in Makefile:
  38.        HOSTCC    =gcc -static
  39.    becomes
  40.        HOSTCC    =gcc -static -I$(KERNELHDRS)
  41.    )
  42.  
  43.    Any suggestestions?  Thanks
  44.  
  45.  
  46. I found that fs.h was in the kernel header files, in
  47. /usr/src/linux/include/linux.   I symlinked to /usr/include/linux
  48. [ ln -s /usr/src/linux/include/linux /usr/include/linux ]
  49. and it worked fine.
  50.  
  51. Could someone more knowledgeable please comment if this is a good idea?
  52. Is the directory /usr/include/linux supposed to point to kernel headers?
  53. --
  54.  
  55. +----------------------------------------------------------------------+
  56. |  Eric Hazen   hazen@buphy.bu.edu              Phone: 617/353-4117    |
  57. |  Boston University Physics Dept                 Fax: 617/353-9393    |
  58. |                                                                      |
  59. |                    "O give me commentators plain,                    |
  60. |              Who with no deep researches vex the brain" - Crabbe     |
  61. +----------------------------------------------------------------------+
  62.