Hey guys,
I am trying to install kernel 2.4.20 and I am running into several road blocks. Before anyone suggests upgraded to 2.4.32, i must run 2.4.20 because of a patch i need to install that was written for 2.4.20
The first problem I am running into is that the kernel will not compile with newer versions of GCC. I get errors trying to make it all over with proper linux symlink and a clean build.
So then someone suggested install an old version of GCC around 2.95, but now I get the problem of trying to ebuild an old GCC version from portage:
Code:
- sys-devel/gcc-2.95.3-r9 (masked by: profile, package.mask)
After looking up "masked by profile", from what I understand portage is trying to tell me it will break my system/environment.
So then someone else suggested a chroot environment to install GCC and build the kernel, however I've never done this before and don't know what proper tools to copy to the chroot environment and such...
basically all i know is something like:
Code:
mkdir /tmp/new_env
mkdir /tmp/new_env/proc
mkdir /tmp/new_env/dev
mount -t proc none /tmp/new_env/proc
mount -o bind /dev /tmp/new_env/dev
chroot /tmp/new_env /bin/bash
env-update
what am i missing?
Thanks!
George