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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!wupost!sdd.hp.com!ux1.cso.uiuc.edu!rs6000.cmp.ilstu.edu!jliddle
  3. From: jliddle@rs6000.cmp.ilstu.edu (Jean Liddle)
  4. Subject: header woes with 2.2.2d
  5. Message-ID: <1992Aug18.064024.13631@rs6000.cmp.ilstu.edu>
  6. Date: Tue, 18 Aug 1992 06:40:24 GMT
  7. Organization: Illinois State University
  8. Lines: 45
  9.  
  10. Well, my hopes of flawless compilation of the ps package under 2.2.2d
  11. have been dashed.  I followed the instructions in the FAQ, README, and
  12. release docs, namely (1) removing all old gcc stuff (and all /usr/include
  13. directories except /usr/include/X11/*).  I even removed the linux
  14. sources, reinstalled them from scratch, applied patch 1 and the buffer fix,
  15. to make sure all headers were unadultered. (2) ran the install script.
  16.  
  17. The kernel compiled flawlessly.  But, ps dies with a whole slew of errors
  18. such as 
  19.  
  20. /usr/include/linux/termios.h:69: parse error before `tcflag_t'
  21. /usr/include/linux/termios.h:69: warning: no semicolon at end of struct or union
  22. /usr/include/linux/termios.h:70: warning: data definition has no type or storage class
  23.  
  24. [approx 10E666 lines removed]
  25.  
  26. /usr/include/linux/fs.h:172: field `msdos_sb' has incomplete type
  27. /usr/include/linux/fs.h:177: parse error before `off_t'
  28. In file included from cmdline.c:12:
  29. /usr/include/linux/sched.h:236: parse error before `grp'
  30. cmdline.c: In function `swapread':
  31. cmdline.c:187: parse error before `off_t'
  32. make: *** [cmdline.o] Error 1
  33.  
  34. This seems to indicate to me that the header files are screwed up in
  35. some way.  As all headers had been deleated before {unning the install
  36. script, I can only assume that this means the headers with the new
  37. release (2.2.2d) still have some problems.  I am extremely reluctant to
  38. tear into these things, hacking quick fixes which break something else.
  39.  
  40. Has anyone got ps-0.97 compiling under linux 0.97.1 and gcc 2.2.2d?  Has
  41. anyone got the headers figured out?  If so, could you please post a step
  42. by step procedure for installing gcc/linux sources/whatever else?  After
  43. reading the aforementioned doc files several times I am unable to make any 
  44. progress.  I would like to figure out this header stuff once and for all,
  45. then simply put it out of my mind and go on to other things.
  46.  
  47. Thanks for any and all help!
  48.  
  49. Jean.
  50.  
  51. -- 
  52. Jean Liddle                                 | == Bill Clinton for President ==
  53. Computer Science, Illinois State University | 
  54. e-mail:  jliddle@ilstu.edu                  | - Carol Mosley Braun for Senat -
  55.