Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-27-2005, 06:22 PM   #1
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Rep: Reputation: 15
Unhappy Compiling Kernel for Dazuko - make error

Hi everyone,

I am trying to install Dazuko on my CentOS 4 (RH Enterprise 4) system. To install Dazuko i must make a custom Kernel with "Linux Default Capabilities as a module".

I have followed instructions from...

I can run make menuconfig and change "Security options --->" > "<*> Default Linux Capabilities" to m (for module).

I then run "make Image" or "make bzImage" or "make all" or "make modules" and all of them produce this error...

[root@Office-Server 2.6.9-5.0.3.EL-i686]# make all
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
  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
Im not sure why it is doing this or where to go to fix this error (this is the first time i have tried to create my own kernel).

I have also tried these commands (before the ones above) "make dep" and "make clean" and "make oldconfig" and "make mrproper" to see if they resolve the problem - but they dont.

Also i have copied and used as my base .config file the one the system creates, located at "/boot/config-2.6.9-5.0.3.EL" but the same problem happens.

Please can anyone help as i wont to get real time scanning working with ClamAV.

Thanks in advance.
Old 03-27-2005, 07:43 PM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there
compiling a 2.6 kernel is different from compiling the 2.4 kernel
u are compiling a 2.6 kernel

try following a kernel comimng guide form here

Old 03-28-2005, 04:55 PM   #3
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Hi masand,

Thank you for pointing me at that thread, but the same problem still happened.

But i have got it working!

What i was doing was using the kernel source provided with CnetOS, i down loaded the kernel from and all worked fine! Well... not really true... i had a lot of problem getting Dazuko and ClamAV working - but it is working now

I fill very pleased with myself



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem compiling dazuko Alexo Linux - Newbie 8 06-04-2005 10:22 AM
Amule -Compiling error - 'make' lnaia Linux - Software 1 03-04-2005 05:34 AM
Compiling error with make DaBlade Linux - Software 7 12-23-2004 09:23 AM
Compiling the kernel: error with "make mrproper" dominik81 Linux - Newbie 1 06-10-2004 03:06 PM
make error compiling Scribus - what to do? Bruce Hill Slackware 1 12-02-2003 01:35 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:28 AM.

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