Hi <br><br>Do you have the correct kernel source installed?<br><br>Regards<br>Per<br>E-mail: <a class="normal-link" onclick="GO.email.showAddressMenu(event, 'per@norhex.com','');" href="#">per@norhex.com</a><br><a href="http://www.linkedin.com/in/perqvindesland" target="_blank" class="normal-link">http://www.linkedin.com/in/perqvindesland</a><br><blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(34, 67, 127); border-width: 0pt 0pt 0pt 2px; margin: 0px 0px 0px 5px; padding: 0px 0px 0px 5px;"><font size="2" face="verdana">--- Original message follows ---<br><b>Subject: </b>Re: [CentOS] Building Custom Kernel - CentOS 4.4<br><b>From:  </b>Kurian Thayil <kurianmthayil@gmail.com><br><b>To: </b>"CentOS mailing list" <centos@centos.org><br><b>Date: </b>29-06-2009 12:05<br></font><br><br><div>Hi Ned,</div> <div> </div> <div>The package cpp was already installed.</div>
<div> </div> <div>[root@astind02 customKernelcompile]# rpm -qa |grep cpp<br>cpp-3.4.6-3<br>[root@astind02 customKernelcompile]# rpm -qa |grep gcc<br>gcc-c++-3.4.6-3<br>libgcc-3.4.6-3<br>gcc-3.4.6-3</div> <div> </div> <div>Any hint on this??</div> <div> </div> <div>Regards,</div> <div> </div> <div>Kurian Thayil.<br><br></div> <div class="gmail_quote">On Mon, Jun 29, 2009 at 3:08 PM, Ned Slider <span dir="ltr"><<a href="mailto:ned@unixmail.co.uk">ned@unixmail.co.uk</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"> <div> <div></div> <div class="h5">Kurian Thayil wrote:<br>> Hi All,<br>><br>> I am having issue when trying to build a custom kernel in CentOS 4.4.<br>> Current Kernel Version is 2.6.9-42.ELsmp and the server is HP Proliant DL380<br> > G3. I downloaded the source rpm and then installed it. Gave the command,<br>> rpmbuild -bp
--target=i686 /usr/src/redhat/SPECS/kernel-2.6.spec. But it<br>> throws me an error after patch operations. The following is the error.<br> ><br>> `/usr/src/redhat/SOURCES/kernel-2.6.9-i586-smp.config' -><br>> `./kernel-2.6.9-i586-smp.config'<br>> `/usr/src/redhat/SOURCES/kernel-2.6.9-i586.config' -><br>> `./kernel-2.6.9-i586.config'<br> > `/usr/src/redhat/SOURCES/kernel-2.6.9-i686-hugemem.config' -><br>> `./kernel-2.6.9-i686-hugemem.config'<br>> `/usr/src/redhat/SOURCES/kernel-2.6.9-i686-smp.config' -><br>> `./kernel-2.6.9-i686-smp.config'<br> > `/usr/src/redhat/SOURCES/kernel-2.6.9-i686.config' -><br>> `./kernel-2.6.9-i686.config'<br>> + for i in '*.config'<br>> + mv kernel-2.6.9-i586-smp.config .config<br>> ++ echo kernel-2.6.9-i586-smp.config<br> > ++ cut -d- -f3<br>> ++ cut -d. -f1<br>> ++ sed -e s/i.86/i386/ -e s/s390x/s390/ -e s/ppc64.series/ppc64/<br>> + make ARCH=i386 nonint_oldconfig<br>> gcc:
installation problem, cannot exec `cc1': No such file or directory<br> > make[1]: *** [scripts/basic/fixdep] Error 1<br><br></div></div>Looks like you don't have cpp, the C preprocessor, installed.<br><br>Try 'yum install cpp'.<br><br><br><br><br>_______________________________________________<br> CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote> </div><br> _______________________________________________<br>CentOS mailing list<br>CentOS@centos.org<br>http://lists.centos.org/mailman/listinfo/centos</blockquote>