From: Gene Choi (genie@netcom.com)
Date: 06/28/92


From: genie@netcom.com (Gene Choi)
Subject: Errors in compiling kernel
Date: Sun, 28 Jun 1992 08:56:07 GMT


Hi. I'm trying to create a new kernel of 0.96b. I'm booting
off of an image of 0.96b, but would like to recompile
my own kernel as to access things like ps, etc.

However, every attempt at compiling has been met with the
many errors in compiling starting with...

exit.c: In function 'do_exit':
exit.c:392: warning: 'volatile' function does return

How can this be? I'm using the vanilla source ftped directly from
tsx-11 file "linux0.96b.tar.Z" The source files
are untarred into directory /usr/src/linux.

I tried compiling using cc 2.1 and 2.11, both with no avail.
They both gave me the exact same errors.
I remembered I had this same problem when I tried to
compile my own version of 0.96a. Applying patch 1 for 0.96b
does not seem to affect the errors during compiling.

Of course, due to errors, the make stops in the middle.
Most people seem to have no problems when compiling..
What the heck is wrong here...?

Gene