From: Sakari Aaltonen (sakaria@vipunen.hut.fi)
Date: 08/14/92


From: sakaria@vipunen.hut.fi (Sakari Aaltonen)
Subject: Can't Compile Kernel 0.97
Date: 14 Aug 1992 16:12:57 GMT


My attempt to build kernel 0.97 with gcc2.2.2 fails (at tools/build) because
the following files are missing::
     sys/types.h
     fcntl.h
     unistd.h

Specifically, they are not in /usr/include, that is, the directory that, as
far as I understand, should be used for tools/build.

I have files with these names among the kernel files. I tried copying them
into /usr/include, which makes the make succeed. However, build then fails
with the message
  Can't stat root device
Indeed, it seems that stat() ALWAYS returns -1...??

Does anyone know where I might obtain the missing files?

Out of curiosity: does anyone have an idea WHY the files are missing?
Or why stat() should return -1, no matter what the path,
"/usr/include", say?

-- 
=============================================================================
Sakari Aaltonen                             Helsinki University of Technology
Email: sakaria@vipunen.hut.fi
---  You can't keep a Finn down without him getting all red in the face  ----