Fedora Linux Support Community & Resources Center
  #1  
Old 25th August 2007, 01:35 PM
dosti Offline
Registered User
 
Join Date: Nov 2006
Posts: 24
kernel sources

hi to all

i m getting following error during make command on fc ..can any one help me how to fix it

[root@new-host-4 zaptel-1.2.20.1]# make linux26
grep: /lib/modules/2.6.18-1.2798.fc6xen/build/include/linux/autoconf.h: No such file or directory
make: *** No rule to make target `linux26'. Stop.
[root@new-host-4 zaptel-1.2.20.1]# rpm -q kernel-devel
package kernel-devel is not installed
[root@new-host-4 zaptel-1.2.20.1]# make
grep: /lib/modules/2.6.18-1.2798.fc6xen/build/include/linux/autoconf.h: No such file or directory
cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o ztcfg ztcfg.o libtonezone.a -lm

You do not appear to have the sources for the 2.6.18-1.2798.fc6xen kernel installed (under /lib/modules/2.6.18-1.2798.fc6xen/build).
make: *** [modules] Error 1


Can any one tell me from where i can download kernel-devel-2.6.18-1.2798.fc6xen

Regards
Dosti
Reply With Quote
  #2  
Old 25th August 2007, 02:09 PM
Mat's Avatar
Mat Offline
Retired Community Manager
 
Join Date: Jun 2004
Location: lair of a unix daemon
Posts: 1,155
use yum:

# yum install kernel-devel
__________________
Man will always find a difficult means to perform a simple task
(Rube Goldberg)

Having fun with Tcl at
Mat's Playground
Reply With Quote
  #3  
Old 25th August 2007, 09:57 PM
dosti Offline
Registered User
 
Join Date: Nov 2006
Posts: 24
hello

here i have installed kernel-devel


[root@new-host-4 zaptel-1.2.20.1]# uname -a
Linux new-host-4 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 15:11:19 EDT 2006 i686 i686 i386 GNU/Linux
[root@new-host-4 zaptel-1.2.20.1]# rpm -q kernel-devel
kernel-devel-2.6.22.2-42.fc6


Still i m getting the same error...Any help
Reply With Quote
  #4  
Old 25th August 2007, 10:05 PM
Mat's Avatar
Mat Offline
Retired Community Manager
 
Join Date: Jun 2004
Location: lair of a unix daemon
Posts: 1,155
maybe have a look here
http://www.asteriskguru.com/tutorial...on_fedora.html
__________________
Man will always find a difficult means to perform a simple task
(Rube Goldberg)

Having fun with Tcl at
Mat's Playground
Reply With Quote
  #5  
Old 25th August 2007, 10:09 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Try


Code:
su
wget http://fedora.tu-chemnitz.de/pub/linux/fedora-core/6/i386/os/Fedora/RPMS/kernel-xen-devel-2.6.18-1.2798.fc6.i686.rpm
rpm -i --oldpackage kernel-xen-devel-2.6.18-1.2798.fc6.i686.rpm
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #6  
Old 25th August 2007, 10:10 PM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
You have the wrong kernel-devel, you need kernel-xen-devel.i686
Reply With Quote
Reply

Tags
kernel, sources

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 get the kernel sources? stardust496 Installation and Live Media 5 21st June 2009 12:58 AM
kernel 2.6.12-1.1372_FC3 upgrade has bad kernel sources RussellEast EOL (End Of Life) Versions 1 18th July 2005 02:27 AM
FC4 ATI/kernel sources installation. Where are the sources? Bear Knuckle EOL (End Of Life) Versions 5 18th June 2005 09:49 PM


Current GMT-time: 15:44 (Wednesday, 19-06-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