LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Compiling Kernel for Dazuko - make error (https://www.linuxquestions.org/questions/linux-general-1/compiling-kernel-for-dazuko-make-error-306768/)

timmywo 03-27-2005 05:22 PM

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...

http://www.linuxplanet.com/linuxplanet/tutorials/202/1/
http://www.linuxquestions.org/questi...icle&artid=170
http://www.mjmwired.net/resources/mjm-notes-fc2.shtml

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...

Code:

[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.
Tim

masand 03-27-2005 06:43 PM

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

http://www.linuxquestions.org/questi...hreadid=73436&

regards

timmywo 03-28-2005 03:55 PM

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 www.kernel.org 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 :)

Thanks,
Tim


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