linux-kernel-headers的问题

| No Comments | No TrackBacks

Search results for linux-kernel-headers :
OpenSuSE ftp.opensuse.org/distribution/11.2/repo/oss/suse/noarch/linux-kernel-headers-2.6.31-3.4.noarch.rpm
OpenSuSE ftp.opensuse.org/distribution/11.1/repo/oss/suse/noarch/linux-kernel-headers-2.6.27-2.28.noarch.rpm
OpenSuSE ftp.opensuse.org/distribution/11.3/repo/oss/suse/noarch/linux-glibc-devel-2.6.32-3.3.noarch.rpm

特别注意最后一个包,名字是不一样的,但是这里的内容却是差不多的。


> rpm -qa | grep kernel
kernel-desktop-2.6.34-12.3.i586
kernel-devel-2.6.34-12.3.noarch
kernel-firmware-20100617-2.2.noarch
kernel-source-2.6.34-12.3.noarch
linux-kernel-headers-2.6.31-3.4.noarch

可以对查询结果比较一下:
rpm -qlp linux-glibc-devel-2.6.32-3.3.noarch.rpm 
rpm -ql linux-kernel-headers

另外一个值得一看的:

Irrelevant, linux-kernel-headers does _not_ contain the headers needed for compiling a kernel module, see "rpm -qi linux-kernel-headers".

You need "kernel-$flavor-devel" matching the flavor of your running kernel, "uname -r" will tell you. 


Problem solved  Thank you for the tip.
While trying to get the most recent version of the headers, I've added this repository:


This is why I was having a different kernel_default version. After disabled it and downgrade the kernel-default-devel, all went fine.

--EOF--

No TrackBacks

TrackBack URL: http://www.guduo.net/cgi-bin/mt/mt-tb.cgi/351

Leave a comment

Pages

May 2016

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by 谷多 published on December 26, 2010 1:52 AM.

怎样查看rpm安装包的安装路径 rpm安装包的安装 was the previous entry in this blog.

悲剧的分区调整 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.