LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2006, 05:43 PM   #1
wnevis
LQ Newbie
 
Registered: Feb 2006
Location: Sunnyvale,Ca
Posts: 1

Rep: Reputation: 0
Cool Compile Failure RHEL 4.0 U3


My Dilemma,

I have a 4 CPU blade with 16G memory running the latest 2.6.9-34 kernel of RHEL Red Hat AS 4.0 U3. I need to be able to mount UFS file systems from a Solaris machine and a re-compile is required.

I have installed all available source and and even tried changing different directories but the same error appears when attempting bzImage. I also see the make dep command is no longer needed.

Doing a make mrproper also has a problem since there is no Documentation/DocBook/Makefile.


pwd#
/usr/src/kernels/kernel-2.6.934.ELsmp


make bzImage CHK include/linux/version.h
CHK include/asm-i386/asm_offsets.h
/bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory
UPD include/asm-i386/asm_offsets.h
mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or directory
make: *** [include/asm-i386/asm_offsets.h] Error 1


I have seen this error in other postings but no real solution. I thought I was using development kernel at first but verified I was using correct source files. The source files seem to be missing a few item though.

Any suggestions?

Thanks
 
Old 03-14-2006, 09:49 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You seem to have maybe missed some steps.....

Please review; http://fedora.redhat.com/docs/releas...ata/#sn-kernel
starting at section '7.2.2.3. Preparing for Kernel Development' this does apply to the RHEL source kernel.

Short and sweet (or down and dirty) kernel build steps (after following the instructions from the link above);

make mrproper

cp /boot/kernel-<version_number_here> .config
(copies/makes a working configuration file)

make xconfig (to edit for your hardware and desired changes)

Optional; Edit the Makefile to match your kernel version

make (takes the place of make bzImange and make modules, get used to it.)

make modules_install

make install
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
module compile failure hqking Linux - General 1 09-02-2005 04:53 PM
module compile failure hqking Linux - Wireless Networking 8 08-19-2005 04:22 AM
DBD-mysql 2.9004 and MakeMaker failure on RHEL fonin Linux - Software 0 02-24-2005 05:05 AM
partition failure during RHEL 9 install gbonawitz Linux - Newbie 2 11-23-2004 09:47 PM
smpeg compile failure Obi Perrin Linux - Software 3 08-24-2004 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration