[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
/usr/src temporarily..
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
directory.

tar -zxvf patch-2.4.2.tar.gz
patch -p1 patch-2.4.2
or
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
work..
anyways.. you could see the detailed reason by using man patch ( and look
for any examples that they showed there..)

for compiling..
just do
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!! ;)
affly
vavi

----- Original Message -----
From: "Yashpal Nagar" <nagar@xxxxxxxxxxxxxx>
To: "Sandip Bhattacharya" <sandipb@xxxxxxxxxxx>;
<linux-delhi@xxxxxxxxxxxxxxxxxxxxx>
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
> kernel-ibcs-2.2.14-12
> kernelcfg-0.5-5
> kernel-doc-2.2.14-12
> kernel-pcmcia-cs-2.2.14-12
> kernel-utils-2.2.14-12
> kernel-headers-2.2.14-12
> kernel-2.2.14-12
> kernel-source-2.2.14-12
> ########
> 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
limit.h
> correct me if i am wrong...
> Please help
>
> Thanks & regards,
>
> Yash