newsgroups-index (beta)

Current group: linux.redhat

problems compiling Kernel in Fedora Core 3

problems compiling Kernel in Fedora Core 3  
Fabio Zerbetto
 Re: problems compiling Kernel in Fedora Core 3  
ynotssor
 Re: problems compiling Kernel in Fedora Core 3  
Fabio Zerbetto
 Re: problems compiling Kernel in Fedora Core 3  
Tommy Reynolds
From:Fabio Zerbetto
Subject:problems compiling Kernel in Fedora Core 3
Date:Sun, 16 Jan 2005 18:37:53 GMT
Hi,

I Try to compilin my Kernel in Fedora Core 3 bat appear an error
with this message:

root@localhost kernel-2.6.91.667]# make
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: impossibile fare stat di `include/asm-i386/asm_offsets.h.tmp': No
such fileor directory
make: *** [include/asm-i386/asm_offsets.h] Error 1
[root@localhost kernel-2.6.91.667]#

Please, Help Me!!!

Fabio
From:ynotssor
Subject:Re: problems compiling Kernel in Fedora Core 3
Date:Sun, 16 Jan 2005 11:24:51 -0800
"Fabio Zerbetto" wrote in message
news:5wyGd.7182$GU.249133@twister1.libero.it

> I Try to compilin my Kernel in Fedora Core 3 bat appear an error
> with this message:
>
> root@localhost kernel-2.6.91.667]# make
> 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: impossibile fare stat di `include/asm-i386/asm_offsets.h.tmp': No
> such fileor directory
> make: *** [include/asm-i386/asm_offsets.h] Error 1
> [root@localhost kernel-2.6.91.667]#
>
> Please, Help Me!!!

Follow the instructions carefully, and in order:
http://www.sysdesign.ca/guides/linux_kernel.html

--
use hotmail for email replies
From:Fabio Zerbetto
Subject:Re: problems compiling Kernel in Fedora Core 3
Date:Wed, 19 Jan 2005 18:31:59 GMT
ynotssor wrote:
> "Fabio Zerbetto" wrote in message
> news:5wyGd.7182$GU.249133@twister1.libero.it
>
>
>>I Try to compilin my Kernel in Fedora Core 3 bat appear an error
>>with this message:
>>
>>root@localhost kernel-2.6.91.667]# make
>> 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: impossibile fare stat di `include/asm-i386/asm_offsets.h.tmp': No
>>such fileor directory
>>make: *** [include/asm-i386/asm_offsets.h] Error 1
>>[root@localhost kernel-2.6.91.667]#
>>
>>Please, Help Me!!!
>
>
> Follow the instructions carefully, and in order:
> http://www.sysdesign.ca/guides/linux_kernel.html
>

Hi,
Thanks for time that you spent for me but this isn't what I need. In
that site there is a procedure for kernel 2.4.x (all I know).
In my Fedora Core 3 there is kernel 2.6.9.

Find another resource or solution.

HELP ME!!!
From:Tommy Reynolds
Subject:Re: problems compiling Kernel in Fedora Core 3
Date:Wed, 19 Jan 2005 13:02:04 -0600
On Wed, 19 Jan 2005 18:31:59 +0000, Fabio Zerbetto wrote:

>>>I Try to compilin my Kernel in Fedora Core 3 bat appear an error with
>>>this message:
>>>
>>>root@localhost kernel-2.6.91.667]# make
>>> 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: impossibile fare stat di `include/asm-i386/asm_offsets.h.tmp': No
>>>such fileor directory
>>>make: *** [include/asm-i386/asm_offsets.h] Error 1 [root@localhost
>>>kernel-2.6.91.667]#
>>>
>>>Please, Help Me!!!

Download the kernel .src.rpm file. Then do this one-time setup:

# rpm -Uvh kernel-*.src.rpm
# rpmbuild -bp --target $(arch) /usr/src/redhat/SPECS/kernel*.spec
# mv /usr/src/redhat/BUILD/kernel*/linux* /usr/src
# cd /usr/src
# ln -s ./linux-* linux
# cd /usr/src/linux
# uname -r <-- Get name of current kernel
# vi Makefile <-- Change 'EXTRAVERSION
# head -4 Makefile <-- Should construct $(uname -r)
# cp /lib/modules/$(uname -r)/build/.config .config
# make oldconfig
# make modules_prepare

Then, to build your module:

# cd /path/to/your/driver/module
# make -C /usr/src/linux M=$PWD modules
# make -C /usr/src/linux M=$PWD modules_install

and you are done.

HTH.
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum