<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Compile Kernel in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700249#M1456</link>
    <description>Hello Jairo,&lt;BR /&gt;&lt;BR /&gt;The problem is that kernel build utilities expect a directory name "/usr/src/linux", not "/usr/src/linux-2.4.7-10"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try the following :&lt;BR /&gt;&lt;BR /&gt;cd /usr/src&lt;BR /&gt;ln -s linux-2.4.7-10 linux&lt;BR /&gt;cd linux&lt;BR /&gt;make menuconfig&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;</description>
    <pubDate>Tue, 16 Apr 2002 23:06:40 GMT</pubDate>
    <dc:creator>Kodjo Agbenu</dc:creator>
    <dc:date>2002-04-16T23:06:40Z</dc:date>
    <item>
      <title>Compile Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700242#M1449</link>
      <description>Hello , I need compile the kernel linux redhat 7.2:&lt;BR /&gt;I have the following error:&lt;BR /&gt;&lt;BR /&gt;#cd /usr/src&lt;BR /&gt;#make menuconfig&lt;BR /&gt;&lt;BR /&gt;make: *** Not exist rule to construct the objective `menuconfig'.  Stop.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Apr 2002 18:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700242#M1449</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2002-04-09T18:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700243#M1450</link>
      <description>Are you sure that your kernal source is in "/usr/src/"?  My kernel sources are usually one directory deeper.  &lt;BR /&gt;Ex.  "/usr/src/linux-2.4.2"&lt;BR /&gt;&lt;BR /&gt;That would be my first guess.</description>
      <pubDate>Tue, 09 Apr 2002 20:31:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700243#M1450</guid>
      <dc:creator>Josh Owings</dc:creator>
      <dc:date>2002-04-09T20:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700244#M1451</link>
      <description>Hi Jairo,&lt;BR /&gt;I think it is just menuconfig or&lt;BR /&gt;make xconfig will bring up x windows and some configuration parameters.&lt;BR /&gt;Then&lt;BR /&gt;make dep&lt;BR /&gt;make clean&lt;BR /&gt;make bzImage&lt;BR /&gt;&lt;BR /&gt;Sachin&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Apr 2002 20:31:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700244#M1451</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-04-09T20:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700245#M1452</link>
      <description>the same error&lt;BR /&gt;&lt;BR /&gt;[root@]# cd /usr/src/linux-2.4.7-10/ &lt;BR /&gt;&lt;BR /&gt;[root@ linux-2.4.7-10]# make menuconfig &lt;BR /&gt;make: *** No rule to construc the objetcive `include/linux/autoconf.h', necessary&lt;BR /&gt; for `include/linux/version.h'. Stop. &lt;BR /&gt;&lt;BR /&gt;[root@linux-2.4.7-10]#&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Apr 2002 20:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700245#M1452</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2002-04-09T20:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700246#M1453</link>
      <description>Try checking to see if you installed the kernel source code.  If you are working with the stock kernel for a RedHat setup, the command "rpm -q kernel-source" should return a version number.  If it says package not installed then you will have to install the package first.  If you want to use the stock kernel source, the rpm for it should be on 2nd install cd as RedHat/RPMS/kernel-source-&lt;VERSION number=""&gt;.  You will probably also need the kernel-headers rpm on the 1st cd.&lt;/VERSION&gt;</description>
      <pubDate>Wed, 10 Apr 2002 00:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700246#M1453</guid>
      <dc:creator>Jeffrey Wong</dc:creator>
      <dc:date>2002-04-10T00:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700247#M1454</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;kernel-2.4.7-10 rpm pkg doesn't include&lt;BR /&gt;/usr/src/linux/include/linux/autoconf.h&lt;BR /&gt;&lt;BR /&gt;your choice is&lt;BR /&gt;use 2.4.9 rpm pkg which include autoconf.h&lt;BR /&gt;or&lt;BR /&gt;ln -s /usr/include/linux/autoconf.h /usr/src/linux/include/linux/autoconf.h&lt;BR /&gt;&lt;BR /&gt;regards,</description>
      <pubDate>Wed, 10 Apr 2002 03:39:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700247#M1454</guid>
      <dc:creator>I_M</dc:creator>
      <dc:date>2002-04-10T03:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700248#M1455</link>
      <description>Got Points?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x356efd3f91d3d5118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x356efd3f91d3d5118ff40090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Tue, 16 Apr 2002 18:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700248#M1455</guid>
      <dc:creator>Josh Owings</dc:creator>
      <dc:date>2002-04-16T18:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700249#M1456</link>
      <description>Hello Jairo,&lt;BR /&gt;&lt;BR /&gt;The problem is that kernel build utilities expect a directory name "/usr/src/linux", not "/usr/src/linux-2.4.7-10"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try the following :&lt;BR /&gt;&lt;BR /&gt;cd /usr/src&lt;BR /&gt;ln -s linux-2.4.7-10 linux&lt;BR /&gt;cd linux&lt;BR /&gt;make menuconfig&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Apr 2002 23:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700249#M1456</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2002-04-16T23:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700250#M1457</link>
      <description>Hello Jairo,&lt;BR /&gt;&lt;BR /&gt;Let's start from the beginning, shall we:&lt;BR /&gt;&lt;BR /&gt;# cd /usr/src/linux-2.4&lt;BR /&gt;&lt;BR /&gt;This should be a link to your current source directory (i.e. linux-2.4.7-10)&lt;BR /&gt;&lt;BR /&gt;# make mrproper&lt;BR /&gt;&lt;BR /&gt;This will cleanup any "old kernel compile) files.&lt;BR /&gt;&lt;BR /&gt;# ls -la .config&lt;BR /&gt;&lt;BR /&gt;This is checking to see if you have a .config file which is required for make menuconfig, make xconfig to work on. If you do not have a .config file you have a couple of options:&lt;BR /&gt;&lt;BR /&gt;# make oldconfig&lt;BR /&gt;&lt;BR /&gt;This will create a .config file from the currently running kernel and is a good choice.&lt;BR /&gt;Alternatives you can change directory into /usr/src/linux-2.4/configs and use one of the configuration files listed here.&lt;BR /&gt;&lt;BR /&gt;# cd /usr/src/linux-2.4/configs&lt;BR /&gt;# ls&lt;BR /&gt;kernel-2.4.9-athlon.config      kernel-2.4.9-i586-smp.config&lt;BR /&gt;kernel-2.4.9-athlon-smp.config  kernel-2.4.9-i686.config&lt;BR /&gt;kernel-2.4.9-i386-BOOT.config   kernel-2.4.9-i686-debug.config&lt;BR /&gt;kernel-2.4.9-i386.config        kernel-2.4.9-i686-enterprise.config&lt;BR /&gt;kernel-2.4.9-i386-smp.config    kernel-2.4.9-i686-smp.config&lt;BR /&gt;kernel-2.4.9-i586.config&lt;BR /&gt;&lt;BR /&gt;To use the kernel-2.4.9-i686-smp.config simply copy it into the higher directory:&lt;BR /&gt;&lt;BR /&gt;# cp kernel-2.4.9-i686-smp.config /usr/src/linux-2.4/.config&lt;BR /&gt;&lt;BR /&gt;Now run your make menuconfig command&lt;BR /&gt;&lt;BR /&gt;# cd /usr/src/linux-2.4&lt;BR /&gt;# make menuconfig&lt;BR /&gt;# make dep&lt;BR /&gt;# make modules&lt;BR /&gt;# make modules_install&lt;BR /&gt;# make install&lt;BR /&gt;&lt;BR /&gt;Edit /etc/lilo.conf to tell your system about the new kernel and then verify the lilo.conf file with:&lt;BR /&gt;&lt;BR /&gt;# lilo -v&lt;BR /&gt;&lt;BR /&gt;If you need ram image use:&lt;BR /&gt;&lt;BR /&gt;# mkinitrd&lt;BR /&gt;# reboot&lt;BR /&gt;&lt;BR /&gt;Just out of curiosity, are you upgrading kernels or trying to change a paramter in the kernel?&lt;BR /&gt;&lt;BR /&gt;Thanks for participating in the forums,&lt;BR /&gt;&lt;BR /&gt;Martin&lt;BR /&gt;Chaos reigns within. Reflect, repent, and reboot. Order shall return.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 16:52:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-kernel/m-p/2700250#M1457</guid>
      <dc:creator>Martin Burnett_2</dc:creator>
      <dc:date>2002-05-02T16:52:16Z</dc:date>
    </item>
  </channel>
</rss>

