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 ----
| Eric Hopper | Question about Reiser4 |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Nigel Kukard | SATA problems |
git: | |
| Junichi Uekawa | Re: [ANNOUNCE] GIT 1.5.4 |
| Miles Bader | way to automatically add untracked files? |
| Michael Hendricks | removing content from git history |
| Thomas Glanzmann | SLES 10 git packages |
| Adrian Bunk | Re: [BUG] New Kernel Bugs |
| Auke Kok | [PATCH] e1000e: test MSI interrupts |
| Felix Radensky | RE: e1000e "Detected Tx Unit Hang" |
| Jesper Dangaard Brouer | [PATCH 0/2] HTB scheduler HTB_HYSTERESIS modifications |
| Daniel Ouellet | Re: Could Hiawatha replace Apache as in base HTTP server if it's license changed? |
| Jonathan Steel | Performance Issues of Intel Quad Port NIC |
| James Hartley | scp batch mode? |
| Stuart Henderson | Re: Using trunk(4) to put a router in a switch ring |
| VPN's on NetBSD | 5 hours ago | NetBSD |
| Why does uClinux 2.6.18 bootup block SuperIO UART IRQs that BIOS configured | 6 hours ago | Linux kernel |
| USB statistics | 8 hours ago | Linux kernel |
| Block Sub System query | 12 hours ago | Linux kernel |
| kernel module to intercept socket creation | 13 hours ago | Linux kernel |
| Image size changing during each build | 13 hours ago | Linux kernel |
| Soft lock bug | 18 hours ago | Linux kernel |
| sysctl - dynamic registration problem | 1 day ago | Linux kernel |
| Question on swap as ramdisk partition | 1 day ago | Linux kernel |
| serial driver xmit problem | 1 day ago | Linux kernel |
