home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8220 < prev    next >
Encoding:
Text File  |  1992-08-14  |  3.1 KB  |  68 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cs.utexas.edu!natinst.com!scott
  3. From: scott@natinst.com (Scott A. Taylor)
  4. Subject: Re: Troubles compiling lilo v3
  5. Message-ID: <1992Aug14.135601.18193@natinst.com>
  6. Followup-To: comp.os.linux
  7. Summary: cp -R /usr/src/linux/include /usr/include
  8. Keywords: headers, move, tweak, go!
  9. Sender:  Scott Taylor (scott@natinst.com)
  10. Nntp-Posting-Host: eagle.natinst.com
  11. Organization: National Instruments, Austin, TX
  12. References: <1992Aug14.024317.19775@inmet.camb.inmet.com>
  13. Date: Fri, 14 Aug 1992 13:56:01 GMT
  14. Lines: 52
  15.  
  16. In article <1992Aug14.024317.19775@inmet.camb.inmet.com> newbie@dylan.camb.inmet.com (Chris Newbold) writes:
  17. >I know there has been a blizzard of questions about how to get lilo up and
  18. >running, but I jumped on the bandwagon a bit too late. I can't find any
  19. >of the messages about setting it up on our site. I know I remember there
  20. >were a couple of changes needed before it would compile...
  21. >
  22. >Anyhow, I'm having major trouble compiling it. There is a massive conflicy
  23. >between the linux/include types.h and the include/sys/types.h ... I'm sure
  24. >all of this was covered... If someone would be kind enough to point me
  25. >in the right direction, I would really appriciate it.
  26. >
  27. >The problems: Both /usr/src/linux/include/linux/types.h and /usr/include/sys
  28. >/types.h get included. I tried to fix this by linking /usr/include/sys
  29. >to /usr/src/linux/include/linux. This seems like a hack, but I don't really
  30. >know. Didn't reall help.
  31. >
  32. >Could somebody tell me how I _should_ have the include directories set up,
  33. >and what files should be in them?
  34. >
  35. >I'm sorry these are such naive questions, but I'm a real newbie at this
  36. >stuff.
  37. >
  38. >Thanx again.
  39. >
  40. >-Chris
  41. >
  42. >-- 
  43. >---- Chris Newbold ---- > "If you fool around with a thing for very long you <
  44. >   Intermetrics, Inc.    >            will screw it up."             <
  45. >  Opinions and statements expressed are MINE and do NOT represent my employer
  46. >            newbie@inmet.camb.inmet.com
  47.  
  48. Well, problems compiling lilo version 3 were the hair that broke the camel's
  49. back; I got fed up and decided to unify my set of header files.  I copied all
  50. the headers from my kernel include directory to /usr/include, removed 
  51. /usr/src/linux/include (making backups of /usr/include and /usr/src/linux/inc-
  52. lude, of course!), tweaked a couple files to remove redeclarations of some 
  53. variables and functions, and went about my business.  Everything so far has 
  54. compiled just fine (groff, GNU file utils, text utils, lilo v3, ps, and of
  55. course the kernel); I had to do a "make dep" in the kernel directory and 
  56. make a couple changes to the SCSI makefile (to fix the seagate entry).  Oh,
  57. yeah; lilo still looked for genhd.h, which I didn't have until I installed
  58. the latest SCSI drivers from woz.headrest.colorado.edu.
  59.  
  60. I am running 0.96c pl2 with gcc 2.2.2; this may not work for 0.97, as I under-
  61. stand that Linus moved around a lot of the header files (to /usr/include, 
  62. perhaps?).
  63. -- 
  64. Scott Taylor            |
  65. (512) 795-6837          | "Well, I wanted to work with gymnasts." -David Byrne
  66. scott@natinst.com       |
  67. ** NI pays me to write their code, not their opinions, and that's what I do **
  68.