[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: kernel 2.4.1 pcq "make dep" problem
i hope i get the point of this email rebuttles...
you need to use the 2.4.1 CD that you have and upgrade it with the patches
that you downloaded..right?
simply forget about 2.2.14 or whatever you have as a symlink in your
just create another directory anywhere.. eg. /usr/src/2.4 untar the 2.4.1
there. apply the patches there..
the patches need a special parameter for kernels "not" in the /usr/src/linux
tar -zxvf patch-2.4.2.tar.gz
patch -p1 patch-2.4.2
zcat patch-2.4.2.tar.gz | patch -p1 <
note the -p1 ... usually its -p0 for /usr/src/linux which is the default
directory for the kernel source code..(so now you get the reasons for the
symlink..!! ;).. "any" other directory would need a -p1 for the patches to
anyways.. you could see the detailed reason by using man patch ( and look
for any examples that they showed there..)
cd /usr/src/2.4 or whereever that you installed your kernel in...
1 make dep
2 make modules
3 make modules_install
4 make bzImage
lines 2,3 are if you make modules (which probably you would..!)
just save the images from arch/i386/boot to some temporary directory in
/boot/newboot1 for eg... and then alter your /etc/lilo.conf to see the new
boot image on bootup...
hope ***this *** helps..! ;) and ends the argument!! ;)
----- Original Message -----
From: "Yashpal Nagar" <nagar@xxxxxxxxxxxxxx>
To: "Sandip Bhattacharya" <sandipb@xxxxxxxxxxx>;
Sent: Monday, June 11, 2001 1:22 PM
Subject: [linux-delhi] kernel 2.4.1 pcq "make dep" problem
> Hi, Big Brother,
> I have installed kernel headers..too
> [root@foo linux]# rpm -qa|grep kernel
> Also i untar the linux src 2.4.1 in /usr/src only...after rm -f linux sym
link to 2.2.14
> and running "make dep" just after that..
> still this problem is sukracharya ji :-)
> There is limits.h file in /usr/src/linux/include/linux/limits.h not
> correct me if i am wrong...
> Please help
> Thanks & regards,