home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23046 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.9 KB  |  51 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!serval!luke.eecs.wsu.edu!hlu
  3. From: hlu@luke.eecs.wsu.edu (H.J. Lu)
  4. Subject: Re: 0.99.2 compile problem
  5. Message-ID: <1993Jan7.101014.10202@serval.net.wsu.edu>
  6. Keywords: 0.99.2 compile problem
  7. Sender: news@serval.net.wsu.edu (USENET News System)
  8. Organization: Washington State University!
  9. References: <1993Jan2.210327.8869@tc.cornell.edu> <C0Fw86.E2t@ppcger.ppc.sub.org>
  10. Date: Thu, 7 Jan 93 10:10:14 GMT
  11. Lines: 38
  12.  
  13. In article <C0Fw86.E2t@ppcger.ppc.sub.org> sepp@ppcger.ppc.sub.org (Josef Wolf) writes:
  14. >torvalds@klaava.Helsinki.FI (Linus Torvalds) writes:
  15. >>I've now seen two compilation problem reports, and they both looked like
  16. >>being due to bad include-file setups, probably due to a problem with the
  17. >>SLS files. 
  18. >
  19. >>IMPORTANT! To get any linux kernel to compile, your /usr/include/linux
  20. >>and /usr/include/asm directories should be symlinks to the linux
  21. >>include-dirs.  If they aren't, correct the problem with:
  22. >
  23. >>    # rm -rf /usr/include/linux
  24. >>    # rm -rf /usr/include/asm
  25. >>    # ln -s /usr/src/linux/include/linux /usr/include/linux
  26. >>    # ln -s /usr/src/linux/include/asm /usr/include/asm
  27. >
  28. >This problem originates in the new include-files as packaged in inc-4.2.TZ.
  29. >There are these two links set up to point to
  30. >
  31. >/net/irl/users/hlu/local/{asm|linux}
  32. >
  33. >or some such. Maybe the maintainor of this package could set up these links
  34. >(and the Makefiles etc/pp) to be correct for the target-machines before
  35. >posting them? This coud save some trouble for some people and some typing
  36. >for other people who are kind enough to answer questions.
  37. >
  38.  
  39. In release.libc-4.2, there is a warning about that. Maybe it is not
  40. clear enough.
  41.  
  42. If you have /usr/include/asm and /usr/include/linux set up right before
  43. you install inc-4.2.TZ,
  44.  
  45. tar xvvofz inc-4.2.TZ
  46.  
  47. should not touch their symbolic links, at least this is the case for
  48. GNU tar I am using.
  49.  
  50. H.J.
  51.