[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[no subject]



Hi!
  I have kernel-2.4.1 from Mar Pcq CD, Then i    downloaded the patches to make it kernel-2.4.4, patch-2.4.2.bz2 ,patch-2.4.3.bz2, and  patch-2.4.4.bz2. Applying patches went nicely but when i run the "make dep" it give me the error...
############
  gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
In file included from /usr/include/bits/posix1_lim.h:126,
 from /usr/include/linux
from/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
from/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h
 from/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
                 from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or directory
make: *** [scripts/mkdep] Error 1
#############

After that i again untar the kernel and just applied the patches without running and xconfig etc..
it give the problem...
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
make[6]: *** [gentbl] Error 1
make[6]: Leaving directory `/usr/src/linux/drivers/net/hamradio/soundmodem'
make[5]: *** [_sfdep_soundmodem] Error 2

please help where i am wrong.

Thanks & Regards

Yash