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 Sandip Bhattacharya <[EMAIL PROTECTED]> Wrote--- Comes from not installing devel files during installation. An old problem with you Yash. ;) gcc searches for linux/limit.h in /usr/src/linux/include/linux first and then in /usr/include/linux. So you have not installed kernel-headers RPM or you are compiling the kernel from a location other than /usr/src/linux -lm stands for the libm.a math library. Strangely, it is a standard glibc library. see if it's there in /usr/lib. If it's any where else, copy it to /usr/lib and recompile - Sandip P.S. What's hamradio doing in your kernel? That's where the ld problem is coming. Or did you really mean to compile the ham radio modules in????? On Sat, Jun 09, 2001 at 11:48:27AM 0000, Yashpal Nagar merrily said: > 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 > > ------------------------------------------------ > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-delhi -- ------------------------------------- Sandip Bhattacharya sandipb @ bigfoot.com http://www.sandipb.net ------------------------------------- ------------------------------------------------ An alpha version of a web based tool to manage your subscription with this mailing list is at http://lists.linux-india.org/cgi-bin/mj_wwwusr ------------------------------------------------ An alpha version of a web based tool to manage your subscription with this mailing list is at http://lists.linux-india.org/cgi-bin/mj_wwwusr
