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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!gumby!destroyer!ubc-cs!uw-beaver!news.u.washington.edu!serval!phys1.physics.wsu.edu!hlu
  3. From: hlu@phys1.physics.wsu.edu (Hongjiu Lu)
  4. Subject: Re: header woes with 2.2.2d
  5. Message-ID: <1992Aug18.175526.18087@serval.net.wsu.edu>
  6. Sender: news@serval.net.wsu.edu (USENET News System)
  7. Organization: Washington State University
  8. References:  <1992Aug18.064024.13631@rs6000.cmp.ilstu.edu>
  9. Date: Tue, 18 Aug 92 17:55:26 GMT
  10. Lines: 29
  11.  
  12. jliddle@rs6000.cmp.ilstu.edu (Jean Liddle) wrote
  13. -------------
  14. Well, my hopes of flawless compilation of the ps package under 2.2.2d
  15. have been dashed.  I followed the instructions in the FAQ, README, and
  16. release docs, namely (1) removing all old gcc stuff (and all /usr/include
  17. directories except /usr/include/X11/*).  I even removed the linux
  18. sources, reinstalled them from scratch, applied patch 1 and the buffer fix,
  19. to make sure all headers were unadultered. (2) ran the install script.
  20.  
  21. The kernel compiled flawlessly.  But, ps dies with a whole slew of errors
  22. such as 
  23.  
  24. /usr/include/linux/termios.h:69: parse error before `tcflag_t'
  25. /usr/include/linux/termios.h:69: warning: no semicolon at end of struct or union
  26. /usr/include/linux/termios.h:70: warning: data definition has no type or storage class
  27.  
  28. [deleted]
  29. -------------
  30.  
  31. I am afraid if you can compile `ps' with gcc 2.2.2 and 0.97 patch 1. You will
  32. have trouble with gcc 2.2.2d since to compile `ps' with gcc 2.2.2 and 0.97
  33. patch 1, you must have done something to the header files which will break
  34. gcc 2.2.2d.
  35.  
  36. Solution: get rid all those `#if's of header files.
  37.  
  38. -- 
  39. H.J.
  40. Gcc/libc maintainer for Linux.
  41.