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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!vipunen.hut.fi!sakaria
  3. From: sakaria@vipunen.hut.fi (Sakari Aaltonen)
  4. Subject: Can't Compile Kernel 0.97
  5. Message-ID: <1992Aug14.161257.11996@nntp.hut.fi>
  6. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  7. Nntp-Posting-Host: vipunen.hut.fi
  8. Reply-To: sakaria@vipunen.hut.fi (Sakari Aaltonen)
  9. Organization: Helsinki University of Technology
  10. Date: Fri, 14 Aug 1992 16:12:57 GMT
  11. Lines: 29
  12.  
  13.  
  14. My attempt to build kernel 0.97 with gcc2.2.2 fails (at tools/build) because
  15. the following files are missing::
  16.      sys/types.h
  17.      fcntl.h
  18.      unistd.h
  19.  
  20. Specifically, they are not in /usr/include, that is, the directory that, as
  21. far as I understand, should be used for tools/build. 
  22.  
  23. I have files with these names among the kernel files. I tried copying them
  24. into /usr/include, which makes the make succeed. However, build then fails
  25. with the message
  26.   Can't stat root device
  27. Indeed, it seems that stat() ALWAYS returns -1...?? 
  28.  
  29.  
  30. Does anyone know where I might obtain the missing files? 
  31.  
  32. Out of curiosity: does anyone have an idea WHY the files are missing?
  33. Or why stat() should return -1, no matter what the path,
  34. "/usr/include", say?
  35.  
  36.  
  37. -- 
  38. -----------------------------------------------------------------------------
  39. Sakari Aaltonen                             Helsinki University of Technology
  40. Email: sakaria@vipunen.hut.fi
  41. ---  You can't keep a Finn down without him getting all red in the face  ----
  42.