Fedora Linux Support Community & Resources Center
  #1  
Old 1st March 2006, 05:00 PM
kirov Offline
Registered User
 
Join Date: Feb 2006
Posts: 7
2.6.15-1.1996_FC5-x86_64 source is bad ???

looks like the infiniband probelm has been fixed, but trying to compile the source still gives me the following error.

[root@localhost 2.6.15-1.1996_FC5-x86_64]# make
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
HOSTCC scripts/genksyms/genksyms.o
HOSTCC scripts/genksyms/lex.o
scripts/genksyms/lex.c:546:5: warning: "YY_STACK_USED" is not defined
scripts/genksyms/lex.c:1424:5: warning: "YY_ALWAYS_INTERACTIVE" is not defined
scripts/genksyms/lex.c:1427:5: warning: "YY_NEVER_INTERACTIVE" is not defined
scripts/genksyms/lex.c:1718:5: warning: "YY_MAIN" is not defined
HOSTCC scripts/genksyms/parse.o
scripts/genksyms/parse.c:819:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make: *** [init] Error 2
  #2  
Old 2nd March 2006, 12:16 AM
hollovoid Offline
Registered User
 
Join Date: Nov 2004
Posts: 60
you may have selected something in your config that has a requirement you disabled after selecting, I would delete the config file for the kernel and start from scratch, unless someone else can figure out what is making this compile end

or try make clean && make configure && make && make modules_install && make install
  #3  
Old 2nd March 2006, 03:21 AM
kirov Offline
Registered User
 
Join Date: Feb 2006
Posts: 7
the only thing that changes was disabling SMP. any idea what could have SMP dependancy?
  #4  
Old 2nd March 2006, 03:28 AM
kirov Offline
Registered User
 
Join Date: Feb 2006
Posts: 7
BTW hollovoid - thanks for taking the time to answer
  #5  
Old 2nd March 2006, 01:10 PM
hollovoid Offline
Registered User
 
Join Date: Nov 2004
Posts: 60
hmm, not sure as I have not messed with smp before, I will see what I can find. quick question, have you had a successful build of the kernel on fedora before? and maybe a list of what kernel packages you have installed would be helpful (eg kernel-2.6.15-1.1996 kernel-devel.... etc.) from what im seeing around, is that the kernel-2.6.15-1.1996_FC5-x86_64.src.rpm needs to be installed to build a kernel yourself, kernel-devel only provides enough to build modules, but not to rebuild the whole kernel itself, which may explain why you are having the no rule to make target error. just an idea,
and no problem, I know what its like
  #6  
Old 7th March 2006, 01:24 PM
kdx7214 Offline
Registered User
 
Join Date: Mar 2006
Posts: 5
No, I've encountered this as well. There is no option to install Kernel development in FC5T3, so the source never gets installed. I managed to do a yum install kerenel-devel and get the scripts and such, but the actual kernel-source packages never get installed during the process.

Anyone have any suggestions on this?
  #7  
Old 7th March 2006, 01:45 PM
hollovoid Offline
Registered User
 
Join Date: Nov 2004
Posts: 60
You may have to get the src package manually by going to a mirror, and checking out the directory for development. the only thing that actually gave an option to download the src package was up2date back when that was used more often, but you are right, the source packages are not usually handled by yum or package install (correct me if im wrong somebody).
  #8  
Old 7th March 2006, 01:47 PM
kirov Offline
Registered User
 
Join Date: Feb 2006
Posts: 7
for FC5 you need to download the .src.rpm they decided to change things.
in order to get src.rpms you may have to enable your source.repo in yum.
  #9  
Old 7th March 2006, 01:50 PM
kdx7214 Offline
Registered User
 
Join Date: Mar 2006
Posts: 5
Hmm... FC5T2 let you do this during install, so I think there is still a problem. I'll try that tonight when I get home and see what I come up with. A brief perusal last night (way too late to be very coherent) didn't come up with a source rpm for kernel at all.
 

Tags
bad, fc5x8664, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2.6.15-1.1977_FC5-x86_64 bad source ??? kirov Fedora Core 5 - Dev 1 17th March 2007 04:11 AM
Compiling from source - k9copy, kdelibs and x86_64 Jongi Using Fedora 3 1st February 2007 05:53 PM
How to use Source RPMs? (FC3 x86_64) Alex W. Jackson EOL (End Of Life) Versions 2 29th June 2005 04:36 PM
x86_64 rpms from program source triplehead Using Fedora 3 4th October 2004 01:01 PM


Current GMT-time: 21:02 (Monday, 01-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat