Makefile needs linux headers!

hello all :slight_smile:
i installed the new real time kernel 2.6.31 on my opensuse 12.2 and now i’m creating a Makefile but it needs linux headers , i tried to install them by "yast2 -i linux-headers-$(uname -r) " but it has error and it dont find the appropriate package :frowning: any help pleasee! and thnx :wink:

AFAIK you need the development packages for your running kernel + sources.

sorry i dont understand

Please post output of

rpm -qa | grep kernel-

Addition: could you provide a bit more info, about openSUSE release, what you’re trying to achieve?

it gives :
linux-kernel-headers-2.6.31-3.4.noarch
kernel-default-2.6.31.5-0.1.1.i586
kernel-rt-2.6.31-3.4.i586

and i’m trying to make a simple module for kernel so i’m trying to make a Makefile for it