Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th July 2008, 06:09 AM
sd-user Offline
Registered User
 
Join Date: Jul 2008
Posts: 7
F9 - compile source code

Hi all:

Does anyone know how to install the Fedora 9 linux kernel sources? I am running an AMD x64 with kernel 2.6.25-14.fc9.x86_64. This is my older version. I am doing testing on the old kernel because I don't want something to go wrong with my more updated stable version - so please let me know if it is a kernel version problem.

I followed the guide here:

http://www.mjmwired.net/resources/mjm-fedora-f9.html

And followed "Obtaining Kernel Source through 'yum' (for latest Fedora 9 kernel)" - yet, I don't think the source compiled correctly. This is a snippet of the output I receive (if anyone knows how to post the entire bit, let me know - I'm over my character limit):

.config:1280:warning: trying to assign nonexistent symbol BCM43XX
.config:1309:warning: trying to assign nonexistent symbol IWLWIFI_RUN_TIME_CALIB
.config:1314:warning: trying to assign nonexistent symbol IWL4965_SENSITIVITY
.config:1316:warning: trying to assign nonexistent symbol IWL4965_RUN_TIME_CALIB
.config:1317:warning: trying to assign nonexistent symbol IWL4965_QOS
.config:1318:warning: trying to assign nonexistent symbol IWL4965_HT
.config:1321:warning: trying to assign nonexistent symbol IWL5000_RUN_TIME_CALIB
.config:1326:warning: trying to assign nonexistent symbol IWL3945_QOS
.config:1382:warning: trying to assign nonexistent symbol SHAPER
.config:1444:warning: trying to assign nonexistent symbol IRPORT_SIR
.config:1454:warning: trying to assign nonexistent symbol DONGLE_OLD
.config:1766:warning: trying to assign nonexistent symbol MOXA_SMARTIO_NEW
.config:1859:warning: trying to assign nonexistent symbol SENSORS_DS1337
.config:1860:warning: trying to assign nonexistent symbol SENSORS_DS1374
.config:2268:warning: trying to assign nonexistent symbol VIDEO_PVRUSB2_24XXX
.config:2269:warning: trying to assign nonexistent symbol VIDEO_PVRUSB2_29XXX
.config:2302:warning: trying to assign nonexistent symbol FB_IMAC
.config:2527:warning: trying to assign nonexistent symbol USB_EHCI_SPLIT_ISO
.config:3226:warning: trying to assign nonexistent symbol SCSI_PSI240I
.config:3363:warning: trying to assign nonexistent symbol FORCED_INLINING
.config:3372:warning: trying to assign nonexistent symbol LEDS_IXP4XX
.config:3420:warning: trying to assign nonexistent symbol INSTRUMENTATION
.config:3465:warning: trying to assign nonexistent symbol ACPI_CUSTOM_DSDT_INITRD
.config:3479:warning: trying to assign nonexistent symbol CGROUP_MEM_CONT
.config:3495:warning: trying to assign nonexistent symbol DEBUG_IGNORE_QUIET
.config:3527:warning: trying to assign nonexistent symbol X86_64_XEN
.config:3702:warning: trying to assign nonexistent symbol XEN_PCIDEV_FRONTEND
.config:3703:warning: trying to assign nonexistent symbol XEN_PCIDEV_FE_DEBUG
.config:3705:warning: trying to assign nonexistent symbol XEN_INTERFACE_VERSION
.config:3706:warning: trying to assign nonexistent symbol XEN_PRIVILEGED_GUEST
.config:3707:warning: trying to assign nonexistent symbol XEN_UNPRIVILEGED_GUEST
.config:3708:warning: trying to assign nonexistent symbol XEN_PRIVCMD
.config:3709:warning: trying to assign nonexistent symbol XEN_XENBUS_DEV
.config:3710:warning: trying to assign nonexistent symbol XEN_BACKEND
.config:3711:warning: trying to assign nonexistent symbol XEN_BLKDEV_BACKEND
.config:3712:warning: trying to assign nonexistent symbol XEN_BLKDEV_TAP
.config:3713:warning: trying to assign nonexistent symbol XEN_NETDEV_BACKEND
.config:3714:warning: trying to assign nonexistent symbol XEN_NETDEV_PIPELINED_TRANSMITTER
.config:3715:warning: trying to assign nonexistent symbol XEN_NETDEV_LOOPBACK
.config:3716:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND
.config:3717:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND_VPCI
.config:3718:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND_PASS
.config:3719:warning: trying to assign nonexistent symbol XEN_PCIDEV_BE_DEBUG
.config:3720:warning: trying to assign nonexistent symbol XEN_TPMDEV_BACKEND
.config:3723:warning: trying to assign nonexistent symbol XEN_FRAMEBUFFER
.config:3724:warning: trying to assign nonexistent symbol XEN_KEYBOARD
.config:3725:warning: trying to assign nonexistent symbol XEN_SCRUB_PAGES
.config:3726:warning: trying to assign nonexistent symbol XEN_DISABLE_SERIAL
.config:3727:warning: trying to assign nonexistent symbol XEN_SYSFS
.config:3728:warning: trying to assign nonexistent symbol XEN_COMPAT_030002_AND_LATER
.config:3729:warning: trying to assign nonexistent symbol XEN_COMPAT_LATEST_ONLY
.config:3730:warning: trying to assign nonexistent symbol XEN_COMPAT_030002
.config:3731:warning: trying to assign nonexistent symbol NO_IDLE_HZ
.config:3732:warning: trying to assign nonexistent symbol XEN_UTIL

.config:3733:warning: trying to assign nonexistent symbol XEN_BALLOON
.config:3734:warning: trying to assign nonexistent symbol XEN_DEVMEM
.config:3735:warning: trying to assign nonexistent symbol XEN_SKBUFF
.config:3736:warning: trying to assign nonexistent symbol XEN_REBOOT
.config:3737:warning: trying to assign nonexistent symbol XEN_SMPBOOT
.config:3740:warning: trying to assign nonexistent symbol X86_XEN
+ echo '# x86_64'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.25.11-x86_64.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=x86_64
+ make ARCH=x86_64 nonint_oldconfig
.config:53:warning: trying to assign nonexistent symbol PREEMPT_BKL
.config:79:warning: trying to assign nonexistent symbol PCIEASPM
.config:80:warning: trying to assign nonexistent symbol PCIEASPM_DEBUG
.config:205:warning: trying to assign nonexistent symbol MTD_PNC2000
.config:332:warning: trying to assign nonexistent symbol BLK_DEV_RAM_BLOCKSIZE
.config:372:warning: trying to assign nonexistent symbol IDEPCI_SHARE_IRQ
.config:396:warning: trying to assign nonexistent symbol PDC202XX_BURST
.config:590:warning: trying to assign nonexistent symbol SCSI_SEAGATE
.config:648:warning: trying to assign nonexistent symbol FIREWIRE_OHCI_REMOTE_DMA
.config:818:warning: trying to assign nonexistent symbol NF_CONNTRACK_ENABLED
.config:845:warning: trying to assign nonexistent symbol IP_NF_MATCH_IPRANGE
.config:846:warning: trying to assign nonexistent symbol IP_NF_MATCH_OWNER
.config:848:warning: trying to assign nonexistent symbol IP_NF_MATCH_TOS
.config:854:warning: trying to assign nonexistent symbol IP_NF_TARGET_SAME
.config:855:warning: trying to assign nonexistent symbol IP_NF_TARGET_TOS
.config:882:warning: trying to assign nonexistent symbol IP6_NF_MATCH_OWNER
.config:992:warning: trying to assign nonexistent symbol NET_CLS_POLICE
.config:1094:warning: trying to assign nonexistent symbol FIXED_MII_10_FDX
.config:1095:warning: trying to assign nonexistent symbol FIXED_MII_100_FDX
.config:1096:warning: trying to assign nonexistent symbol FIXED_MII_1000_FDX
.config:1097:warning: trying to assign nonexistent symbol FIXED_MII_AMNT
.config:1244:warning: trying to assign nonexistent symbol STRIP
.config:1253:warning: trying to assign nonexistent symbol MAC80211_RC_DEFAULT_SIMPLE
.config:1256:warning: trying to assign nonexistent symbol MAC80211_RC_SIMPLE
.config:1261:warning: trying to assign nonexistent symbol MAC80211_DEBUG
.config:1267:warning: trying to assign nonexistent symbol IEEE80211_SOFTMAC
.config:1268:warning: trying to assign nonexistent symbol IEEE80211_SOFTMAC_DEBUG
.config:1280:warning: trying to assign nonexistent symbol BCM43XX
.config:1309:warning: trying to assign nonexistent symbol IWLWIFI_RUN_TIME_CALIB
.config:1314:warning: trying to assign nonexistent symbol IWL4965_SENSITIVITY
.config:1316:warning: trying to assign nonexistent symbol IWL4965_RUN_TIME_CALIB
.config:1317:warning: trying to assign nonexistent symbol IWL4965_QOS
.config:1318:warning: trying to assign nonexistent symbol IWL4965_HT
.config:1321:warning: trying to assign nonexistent symbol IWL5000_RUN_TIME_CALIB
.config:1326:warning: trying to assign nonexistent symbol IWL3945_QOS
.config:1382:warning: trying to assign nonexistent symbol SHAPER
.config:1444:warning: trying to assign nonexistent symbol IRPORT_SIR
.config:1454:warning: trying to assign nonexistent symbol DONGLE_OLD
.config:1766:warning: trying to assign nonexistent symbol MOXA_SMARTIO_NEW
.config:1859:warning: trying to assign nonexistent symbol SENSORS_DS1337
.config:1860:warning: trying to assign nonexistent symbol SENSORS_DS1374
.config:2268:warning: trying to assign nonexistent symbol VIDEO_PVRUSB2_24XXX
.config:2269:warning: trying to assign nonexistent symbol VIDEO_PVRUSB2_29XXX
.config:2302:warning: trying to assign nonexistent symbol FB_IMAC
.config:2527:warning: trying to assign nonexistent symbol USB_EHCI_SPLIT_ISO
.config:3226:warning: trying to assign nonexistent symbol SCSI_PSI240I
.config:3363:warning: trying to assign nonexistent symbol FORCED_INLINING
.config:3372:warning: trying to assign nonexistent symbol LEDS_IXP4XX
.config:3420:warning: trying to assign nonexistent symbol INSTRUMENTATION
.config:3465:warning: trying to assign nonexistent symbol ACPI_CUSTOM_DSDT_INITRD
.config:3479:warning: trying to assign nonexistent symbol CGROUP_MEM_CONT
.config:3495:warning: trying to assign nonexistent symbol DEBUG_IGNORE_QUIET
.config:3527:warning: trying to assign nonexistent symbol X86_64_XEN
+ echo '# x86_64'
+ cat .config
+ find . '(' -name '*.orig' -o -name '*~' ')' -exec rm -f '{}' ';'
+ cd ..
+ exit 0
[root@localhost Download]#

Is is possible there is no source code package for an x64 system? Would it be easier to download and install the Fedora-9-source-DVD.torrent from http://torrent.fedoraproject.org/? Would the source be install automatically? I'm assuming that version of Fedora 9 is not x64 based? Any suggestions?

Many thanks - SD
Reply With Quote
  #2  
Old 29th July 2008, 06:24 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
If you are going to do some compiling then you should at least do the following.
Assuming you have an internet connection

yum groupinstall "Development Tools" "Legacy Software Development"

The kernel "source" is the matching kernel-devel rpm package
You can grab that here : http://fedora.mirror.iweb.ca/release...fc9.x86_64.rpm
and install it using rpm -ivh kernel-devel-2.6.25-14.fc9.x86_64.rpm

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
Reply

Tags
code, compile, 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
How to compile Xine source code. jakarins Using Fedora 2 2nd January 2012 02:18 PM


Current GMT-time: 06:20 (Thursday, 23-05-2013)

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