login
Header Space

 
 

Can't Compile Kernel 0.97

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Friday, August 14, 1992 - 12:12 pm

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  ----
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Can't Compile Kernel 0.97, Sakari Aaltonen, (Fri Aug 14, 12:12 pm)
speck-geostationary