home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!vipunen.hut.fi!sakaria
- From: sakaria@vipunen.hut.fi (Sakari Aaltonen)
- Subject: Can't Compile Kernel 0.97
- Message-ID: <1992Aug14.161257.11996@nntp.hut.fi>
- Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
- Nntp-Posting-Host: vipunen.hut.fi
- Reply-To: sakaria@vipunen.hut.fi (Sakari Aaltonen)
- Organization: Helsinki University of Technology
- Date: Fri, 14 Aug 1992 16:12:57 GMT
- Lines: 29
-
-
- 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 ----
-