Skip to contentSkip to conversation

Files not linking/replacing.

DISCUSSION Patrick Shirkey 3 participants 4 messages Apr 16, 2001 – Apr 17, 2001

lore
Share & tools
lore
#0 lore raw

Hi.

I hope this is the correct place to report to.

I have installed kernel 2.4.3 but my system is having a few problems compiling things. Not all software is having problems it just seems to be the most important ones. like mozilla or alsa-driver, I would like to try others to test this but it's kind of frustrating and time consuming.

I installed the kernel in /usr/local/src because the install file says not to do it in /usr/src anymore because of kernel header dependencies.

The system is booting and obviously I can use the net but the main problem seems toi be that a lot of important files have not benn updated or relinked to the right dir.

I installed the new kernel onto Mandrake 7.0 which ships with 2.2.14.

I'm using a PIII
and have verified that my software is upto the minimal requirements according to the /documentation/changes file. All except mkinitrd which I can't install becuse I have an old version of rpm and cannot find the tar.gz file on the net.

An example of what my system is doing:

I compile the latest stable mozilla.
First off it complains that /usr/include/bits/errno.h doesn't point to the right place.
So I remove it and link /usr/local/src/linux/include/asm/errno.h to /usr/include/bits/errno.h and recompile.
It gets past that point then complains about /usr/include/bits/socket.h so I repeat the process.

The futility of doing this occurs to me. So I write in to this list in the hope that someone may know what I have done wrong or can offer me some help to debug.

Any ideas?

Patrick Shirkey.

Signature · 4 lines
Boost Hardware.
Importing Korean Computer Hardware to New Zealand.

Http://www.boosthardware.com for latest stock and prices.
#1 lore raw
Quoted 34 lines · Patrick Shirkey

Hi.

I hope this is the correct place to report to.

I have installed kernel 2.4.3 but my system is having a few problems compiling things. Not all software is having problems it just seems to be the most important ones. like mozilla or alsa-driver, I would like to try others to test this but it's kind of frustrating and time consuming.

I installed the kernel in /usr/local/src because the install file says not to do it in /usr/src anymore because of kernel header dependencies.

The system is booting and obviously I can use the net but the main problem seems toi be that a lot of important files have not benn updated or relinked to the right dir.

I installed the new kernel onto Mandrake 7.0 which ships with 2.2.14.

I'm using a PIII
and have verified that my software is upto the minimal requirements according to the /documentation/changes file. All except mkinitrd which I can't install becuse I have an old version of rpm and cannot find the tar.gz file on the net.

An example of what my system is doing:

I compile the latest stable mozilla.
First off it complains that /usr/include/bits/errno.h doesn't point to the right place.
So I remove it and link /usr/local/src/linux/include/asm/errno.h to /usr/include/bits/errno.h and recompile.
It gets past that point then complains about /usr/include/bits/socket.h so I repeat the process.

Quoted 5 lines

The futility of doing this occurs to me. So I write in to this list in the hope that someone may know what I have done wrong or can offer me some help to debug.

Any ideas?

Normally /usr/src/linux on a redhat system contains a kernel with a known good set of kernel headers. /usr/include/linux and /usr/include/asm are symlinks that point into the known good kernel headers. It looks like you removed your known good 2.2.14 known good kernel headers, or the symlinks to them.

Eric

#2 lore raw
In reply to Patrick Shirkey
Quoted 5 lines · Eric W. Biederman

Normally /usr/src/linux on a redhat system contains a kernel with a known good set of kernel headers. /usr/include/linux and /usr/include/asm are symlinks that point into the known good kernel headers. It looks like you removed your known good 2.2.14 known good kernel headers, or the symlinks to them.

Modern glibc systems have their own copies of headers for /usr/include/{asm,linux}, and those locations should not be pointing to kernel space...

Signature · 3 lines
Jeff Garzik       | "Give a man a fish, and he eats for a day. Teach a
Building 1024     |  man to fish, and a US Navy submarine will make sure
MandrakeSoft      |  he's never hungry again." -- Chris Neufeld
#3 lore raw
In reply to Patrick Shirkey
Quoted 10 lines · Jeff Garzik
Quoted 5 lines · Eric W. Biederman

Normally /usr/src/linux on a redhat system contains a kernel with a known good set of kernel headers. /usr/include/linux and /usr/include/asm are symlinks that point into the known good kernel headers. It looks like you removed your known good 2.2.14 known good kernel headers, or the symlinks to them.

Modern glibc systems have their own copies of headers for /usr/include/{asm,linux}, and those locations should not be pointing to kernel space...

I keep thinking that until I look at what has actually been installed. The quickest way I know to confuse a compile is: rm /usr/src/linux.

Eric