Bug 17043
Summary: | Kernel will not compile. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Jeremy Pitman <jeremyp> | ||||||
Component: | kernel | Assignee: | Michael K. Johnson <johnsonm> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.2 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2000-08-28 22:01:09 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Jeremy Pitman
2000-08-28 16:23:33 UTC
Tried "make mrproper" first, before "make dep"? Yes I have. Same error. Anything else? Oops, sorry I read that too quick. Check to make sure that the /usr/include/asm and /usr/include/linux symlinks are in place. Ok. I have a asm link in /linux/include. The asm link is to asm-i386. I have a /linux/include/linux which is not a link. I have a linux link in /usr/src, which is a link to /usr/src/Linux-2.2.16-3. If I had a link issue would it still "make mrproper" or "make dep"? Is there anything else that could cause it besides a bad link? I was thinking a environment path problem? No, no, not /linux/include or even /usr/src/linux/include. I'm talking about /usr/include/asm and /usr/include/linux. Nope I have no links asm or linux in /usr/include. What should these links link to? In 6.2, /usr/include/asm -> /usr/src/linux/include/asm /usr/include/linux -> /usr/src/linux/include/linux. Ok, I've added the symbolic links in the /usr/include. I have another RedHat box so I looked there to figure where the links should point. I ran "make mrproper", "make menuconfig", "make dep", then "make bzImage". I still have the same error. Are there any other links that I may not have setup? /usr/src/linux -> /usr/src/linux-2.2.16 Yep, that has been correct. The only links so far that were not correct were the links in /usr/include. Now those links are fixed and still it will not compile. Anything else I could try? I do need to get it running fairly soon as I'm not currently making back-ups due to the fact it will not compile. Please run these commands: rpm -q glibc-devel rpm -V glibc-devel find /usr/include -type f -name errno.h Cool now it seems like we're getting somewhere. Here are the results: rpm -q glibc-devel glibc-devel-2.1.3-15 rpm -V glibc-devel missing /usr/include/errno.h find . -type f -name errno.h ./bits/errno.h ./sys/errno.h Ok, if it is missing errno.h in /usr/include where can I get a replacement, and is glibc-devel-2.1.3-15 the correct version? Yeah, I think that's the right version, but the version shouldn't matter. Just re-install the glibc-devel package with rpm -Uvh --force /path/to/glibc-devel-2.1.3-15.i386.rpm Ok, that error is now gone but now I get this: make: egsc: Command not found make: *** [init/main.o] Error 127 What does that mean? Look at the output of rpm -Va and see what files are missing/damaged. Created attachment 3100 [details]
Output of rpm -Va
Created attachment 3101 [details]
Output of rpm -Va with just the missing files.
Those missing files shouldn't be a problem. If that really says "egsc" instead of "egcs" you have a data corruption problem for use. Ok so if it is data corruption because it does say "make: egsc: Command not found", what do I do to fix it? That would generally be a hardware problem. You could try re-installing the kernel source (rpm -Uvh --force kernel-source*rpm) and see if that helps. |