LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-12-2005, 08:26 AM   #1
proNick
Member
 
Registered: Apr 2005
Posts: 104

Rep: Reputation: 15
Fedora Core4 x64, no way to compile kernel


Hello!

A lots of threads about this...

What kind of magic I have to do, to compile kernel on Fedora Core4 x64?

I get an errors when I start make or make all (after performing make menuconfig, of course).

I have tryed to compile it from

/usr/src/kernels/.....

and from

/usr/src/linux/


... but errors like next occured:

[root@localhost linux]# make all
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
make[1]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CHK usr/initramfs_list
CC arch/x86_64/ia32/ia32_ioctl.o
In file included from fs/compat_ioctl.c:69,
from arch/x86_64/ia32/ia32_ioctl.c:14:
include/linux/i2c.h:58: error: array type has incomplete element type
include/linux/i2c.h:197: error: array type has incomplete element type
make[1]: *** [arch/x86_64/ia32/ia32_ioctl.o] Error 1
make: *** [arch/x86_64/ia32] Error 2
[root@localhost linux]#


I tryed several versions of kernels, one of them I did manage to compiel in Core3 (with same .config file).


Please, help! Thanx in advance!


Last edited by proNick; 07-12-2005 at 08:27 AM.
 
Old 07-12-2005, 10:43 AM   #2
proNick
Member
 
Registered: Apr 2005
Posts: 104

Original Poster
Rep: Reputation: 15
Hey I did it!

I simply installed new 2.6.12, and it works fine.

I really don't know why 2.6.11 didn't work, but never mind now.



So, people with same problem shoud swich to new version of kernel.
 
Old 07-12-2005, 11:57 PM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
FC4 comes not with the kernel source - to recompile your kernel you had to have downloaded and installed the source tree manually. If you slip up, even a little bit, then you won't be able to recompile the kernel.

When you installed the new kernel - chances are you installed the source as well right? (Definately if it was a vanilla kernel.) So everything will automatically be exactly right.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel 2.6.11 smp x64 compile not working meangene72 Fedora 0 11-26-2005 03:42 AM
f5d6020 v2 in Fedora Core4 Lib_not_found Linux - Networking 1 10-31-2005 03:16 AM
Fedora Core4 issues... DrunkenDisciple Linux - Software 3 10-12-2005 01:01 PM
scorched 3d won't run in Fedora Core4 79spitfire Linux - Games 3 08-23-2005 09:58 PM
install fedora core4 hi_all General 3 05-10-2005 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration