Compiling a RedHat Linux Kernel

Difficulties


We encountered several difficulties in our quest to successfully compile a kernel. We supply you with the obstacles we faced (so you don't have to re-invent the wheel).

  • Make sure the correct time and date are set on your computer. Otherwise, you will get a lot of warnings. You set the date with the command:

  •                     > date MMDDhhmmYY
     
  • Everytime we rebooted, the clock was reset to the value of the hardware clock. Set the hardware clock to the current system time with the command: 

  •                     > hwclock --systohc
     
  • Our first installation of the RedHat Linux Operating System was version 7.0. We could not get any version of the kernel source code to compile because of changes made to the gcc programs and libraries. Instead of trying to change the version of gcc, we decided to work with RedHat Linux 6.2.

  •  
  • The first time we installed version 6.2, we did not install many packages; therefore, we were missing the gcc and g++ compilers, the kernel-headers  along with other files. The error messages we were getting were for undefined symbols. We knew we were missing files that defined the symbol(s) but we did not know which files nor did we know in which rmps they resided. Consequently, we reinstalled version 6.2 including the Kernel Development and Developmentpackages. These packages had all the files that we were missing previously. 

  •  
  • Since Schemp is a uniprocessor computer, we had to turn "Symmetric Multiprocessing" off.  You will find this in  Processor Type and Features menu when you configure.

Comments or questions should be sent to Cori_Rhodes@baylor.edu, or Saifuddin_Suterwala@baylor.edu