Parag N(पराग़) wrote: > Hi, > On 2/28/06, Gowri Satish Adimulam <gowri@xxxxxxxxxxx> wrote: >> Hi , >> >> as i mentioned in my earlier mails issue with compiling hello-1.c >> earlier there were suggestions from many people thanks for that . >> I have read make manual and finally came with good make file. >> >> Now , i facing different error . >> >> ==========error message >> # make >> make -C /lib/modules/2.6.11-1.1369_FC4/build >> M=/home/gowri/workspace/kernel_pract modules >> make: *** /lib/modules/2.6.11-1.1369_FC4/build: No such file or >> directory. Stop. >> make: *** [all] Error 2 >> >> =====end error message >> > Check whether you have /usr/src/kernels/2.6.11-1.1369_FC4-i686 > directory with kernel source existing or not? >> I have already installed kernel sources >> using yum , "yumdownloader --source kernel". >> >> But when we type command rpm -qa | grep kernel-source >> nothing is returned . > Correct command to check kernel RPM is installed or not is > rpm -qa | grep kernel then you will find entry > kernel-2.6.11-1.1369_FC4 This will only tell you if the kernel is installed, not the source. The rpm for the development source will be kernel-devel<some version> <snip> -- kr -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/