From: Jean Liddle (jliddle@rs6000.cmp.ilstu.edu)
Date: 08/18/92


From: jliddle@rs6000.cmp.ilstu.edu (Jean Liddle)
Subject: header woes with 2.2.2d
Date: Tue, 18 Aug 1992 06:40:24 GMT

Well, my hopes of flawless compilation of the ps package under 2.2.2d
have been dashed. I followed the instructions in the FAQ, README, and
release docs, namely (1) removing all old gcc stuff (and all /usr/include
directories except /usr/include/X11/*). I even removed the linux
sources, reinstalled them from scratch, applied patch 1 and the buffer fix,
to make sure all headers were unadultered. (2) ran the install script.

The kernel compiled flawlessly. But, ps dies with a whole slew of errors
such as

/usr/include/linux/termios.h:69: parse error before `tcflag_t'
/usr/include/linux/termios.h:69: warning: no semicolon at end of struct or union
/usr/include/linux/termios.h:70: warning: data definition has no type or storage class

[approx 10E666 lines removed]

/usr/include/linux/fs.h:172: field `msdos_sb' has incomplete type
/usr/include/linux/fs.h:177: parse error before `off_t'
In file included from cmdline.c:12:
/usr/include/linux/sched.h:236: parse error before `grp'
cmdline.c: In function `swapread':
cmdline.c:187: parse error before `off_t'
make: *** [cmdline.o] Error 1

This seems to indicate to me that the header files are screwed up in
some way. As all headers had been deleated before {unning the install
script, I can only assume that this means the headers with the new
release (2.2.2d) still have some problems. I am extremely reluctant to
tear into these things, hacking quick fixes which break something else.

Has anyone got ps-0.97 compiling under linux 0.97.1 and gcc 2.2.2d? Has
anyone got the headers figured out? If so, could you please post a step
by step procedure for installing gcc/linux sources/whatever else? After
reading the aforementioned doc files several times I am unable to make any
progress. I would like to figure out this header stuff once and for all,
then simply put it out of my mind and go on to other things.

Thanks for any and all help!

Jean.

-- 
Jean Liddle                                 | == Bill Clinton for President ==
Computer Science, Illinois State University | 
e-mail:  jliddle@ilstu.edu                  | - Carol Mosley Braun for Senat -