hello people
when i go to /usr/src/ and i do “ls” i just find the foler packages !! i can’t find linux folder!
any help ?
Am 03.03.2013 12:46, schrieb wiss1990:
>
> hello people
> when i go to /usr/src/ and i do “ls” i just find the foler packages !!
> i can’t find linux folder!
> any help ?
>
>
Do you have the kernel-source, kernel-devel packages installed?
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.0 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
Am 03.03.2013 12:52, schrieb Martin Helm:
> Do you have the kernel-source, kernel-devel packages installed?
>
As I have seen now you have another thread and want to create a simple
kernel module, so you most likely do not need kernel-source but only the
-devel packages for your kernel.
What do you get as output from
uname -r
rpm -qa 'kernel*'
?
So that I can be more specific about what you are missing.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.0 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
In the other thread I already told you that the Kernel Development environment has to be installed. Since /usr/src/linux is not available, you haven’t installed that.
thnx for replies
the commands u gave me show that :
2.6.31-rc8-rt9-3-rt
and the the other
kernel-default-2.6.31.5-0.1.1.i586
kernel-rt-2.6.31-3.4.i586
please give me the commands to install the kernel devel environnement and thnx for help
Am 03.03.2013 17:46, schrieb wiss1990:
> kernel-default-2.6.31.5-0.1.1.i586
> kernel-rt-2.6.31-3.4.i586
How old is that system or to ask more specific which openSUSE version
are you running?
As far as I remember in the past the packages for kernel development
were named kernel-header instead of kernel-devel, the naming convention
changed a few years ago.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.0 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
Looks like 11.2 (which is end of life), you need the packages
kernel-rt-devel-2.6.31-3.4.i586.rpm
and probably
kernel-syms-rt-2.6.31-3.4.i586.rpm
from
ftp://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.2/repo/oss/suse/i586/
Sorry I cannot be more specific as I simply do not remebember what is
exactly needed for such an old openSUSE version.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.0 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
thnx for reply i will try commands
i replaced the kernel by a real time kernel and the last version is 2.6.31
and after i download it what i have to do ?
and i use before debian , and in usr/src i find always linux-headers , opensuse must be the same ?
Am 03.03.2013 20:46, schrieb wiss1990:
>
> and after i download it what i have to do ?
>
>
You install the rpm, for example
su -
yast -i /pathtorpm/nameofrpm
of course with the correct path you downloaded it to and the correct
name of the file.
Still the question remains open why you work with a completely out of
date version of openSUSE and a stoneage old kernel version.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.0 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
Am 03.03.2013 20:56, schrieb wiss1990:
>
> and i use before debian , and in usr/src i find always linux-headers ,
> opensuse must be the same ?
>
>
I do not understand why you expect the headers to be there if you do not
install the package which contains them and by the way I also use
sometimes debian and it contains the kernel headers only if you install
the debian package which contains them. It is essentially the same
situation with deb instead of rpm packages.
If you feel more comfortable with debian why don’t you use it? Reading
your posts make me think that openSUSE (or rpm based distros) are a
completely foreign universe to you. You need at least to understand the
mere basics of a distro to start using it for development.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.0 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10