General :: Installing Kernel Header Files ?
Feb 13, 2010
I am using Ubuntu 9.04 with kernel version 2.6.28-11-generic.I want to compile the foll. file but i get <linux/slab.h> no such file or directory.
The kernel headers are installed in my system at /usr/src/linux-headers-2.6.28-11-generic/ directory. During compilation i specified as follows:
Why gcc is unable to find the linux/slab.h header file?
View 1 Replies
ADVERTISEMENT
Feb 3, 2011
I just had a hard drive failure on my mythtv box that I had been running F14 on. I reinstalled F14 and just got about everything up and running like normal again except that I upgraded the kernel by mistake when I was upgrading everything else to current levels. The problem is that I run a hauppauge pvr150 on this mythtv box, and the code for capturing on this card is broken on the latest kernel version. I have the kernel headers and development files installed for the newest kernel that I can't really use, but I didn't install the kernel headers for the older kernel before the upgrade. Now, I am looking for a way to forcefully install the older kernel development files so that I can compile my the proprietary nvidia drivers against it for my adapter. I downloaded the rpm files from the fedora 14 repository directly. Is there an option for rpm that I can use to force the installation?
View 2 Replies
View Related
Jun 9, 2010
Not I recently installed a package (Vision Egg) that requires the Open GL libraries and headers, specifically, gl.lib and gl.h. I used Synaptic to install nvidia-current and nvidia-current-dev and it now looks as if the required libraries (under different names) are installed in /usr/lib/nvidia-current and as if the required headers are in /usr/include/nvidia-current. I am a bit confused because I also have /usr/lib/nvidia and /usr/lib/nvidia-173.
The installation of Vision Egg fails with "cannot find GL/gl.h" and "/usr/bin/ld: cannot find -lGL"There is a related post a few years ago under thread 200901 but it relates only to a single file problem that is fixed manually. I'd rather avoid that because it looks like it is easily breakable.Is there a standard way --- that is, a method that does not require error-prone manually changing or linking a multitude of file names --- of ensuring that programs which require GL/gl.h actually find the correct nvidia header file and also that the link loader finds the GL libraries.
View 2 Replies
View Related
Aug 22, 2011
I used Backtrack 5 and Fedora, basically I'm trying to install my wireless card but I don't have these installed to make && sudo. I burned the iso images for backtrack and fedora and booted my computer from them but can't figure out how to install kernel-devel on backtrack for example. I dled yum onto my flash drive but can't figure out how to install it.
View 14 Replies
View Related
Aug 4, 2010
I always wanted to get it installed on my old Dell Laptop and Fedora 13 is the first one that has actually worked.
Anyways, I am trying to install:
kernel-devel-2.6.33.3-85
Which I downloaded from:
[URL]
When I double click the file to install, it says:
could not do simulate: Backend will not install a src rpm file
View 1 Replies
View Related
Jan 13, 2011
I need to install some module which needs to be interated into OS's.
It asks me: "What is the location of the directory of C header files that match your running kernel? "
I know that I need kernel-devel package and I installed this yum install kernel-devel after that I have this /usr/src/kernels/2.6.32.26-175.fc12.i686/include/
Now when I run configuration it does not work
Does it mean that I need to update the kernel so that it matches to the kernel-devel module available in the net?
View 4 Replies
View Related
Dec 24, 2009
I am using Fedora 12 with VMWare Player 3. I want to install the vmware tools. To get them properly working i need the location of the kernel header files. In which directory are they usually stored?
View 2 Replies
View Related
Oct 13, 2009
I am trying to install VMware on my machine. I have downloaded VMware and I am now trying to configure it. After accepting the EULA, the program states;
Code:
None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] y Then;
Code:
Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] The path "/usr/src/linux/include" is not an existing directory. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /usr/bin/gcc The path "/usr/bin/gcc" is not an existing directory. What is the location of the directory of C header files that match your running kernel?[/usr/src/linux/include] How do i find where the C header files are?
View 14 Replies
View Related
Jun 29, 2010
I need to install VMWare Workstation on Fedora 13, but I keep running into the following error -
"C header files matching your running kernel were not found...."
It's looking for 2.6.33.3-85.fc13.i686 but when I did a - yum install kernel-devel I got 2.6.33.5-124.fc13.i686
when I do - yum install kernel-devel `uname -r`
I get the following -
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package kernel-devel-2.6.33.5-124.fc13.i686 already installed and latest version
[code]....
View 5 Replies
View Related
Mar 31, 2011
I'm running BackTrack4r2 which is based on Intrepid. I'm pulling my hair out over this problem. As I try to install VMWare Server 2.0 I'm getting stuck at a question the installer poses: Where are the kernel header files located? It would make sense that they're in /usr/src/linux-2.6.35.8 but when I put that it just says there's no subfolder "linux" as expected and to try again. If I use the default location that VMWare says (/lib/modules/2.6.35.8/build/include) I get an error:
[code]...
View 4 Replies
View Related
Mar 21, 2011
I`m trying to install Intel EXPI9402PT PRO/1000 PT Dual Port Server Adapter on my machine. I download the drivers for this card from intel web page, but I can`t make it work. I`m running OpenSuse 11.3 version. When I tried to install it for the first time I got this message:
Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop
Then I install the kernel-source package and I got this one:
Makefile:107: *** Linux kernel source not configured - missing version header file. Stop.
I also installed kernel-devel package, but I get the same message.
View 9 Replies
View Related
Jul 4, 2011
I need help in understand how the kernel-header and kernel-devel works. Pretty new to Linux.
View 1 Replies
View Related
Aug 27, 2010
I'm trying to add a header to many .cpp files in a directory (or directory tree).
My attempt was:
Code:
If I put part of the command inside quotes the substitution occurs, but then I get other errors like:
Code:
cat:
No such file or directory
I could just write a small program to do it.
View 3 Replies
View Related
Jan 30, 2011
I'm trying to install vmware tools in mint.
All goes well until I get to this -
What is the location of the directory of C header files that match your running kernel? [usr/src/linux/include]
When installing the vmware tools it says to just hit enter and the default will be used.
Hitting enter just keeps giving me the error message- The path "usr/src/linux/include" is not an existing directory.
View 14 Replies
View Related
Jun 5, 2011
I'm working with a GuruPlug...maybe you've heard of them.I'm trying to get EasyCap DC60 drivers installed on it(easycap_dc60.0.9.tar.gz), but in the README file I see that the "header files" must be present.nfortunately they are not. This little wall wart runs Debian/Lenny, probably some server oriented build.uname -r reports:2.6.32-00007-g56678ecIt boots to RunLevel 2 and stays there, incidentally.I tried apt-get install linux-headers-$(uname -r) but I am told "file not found" or something similar
View 5 Replies
View Related
Aug 12, 2010
I have a program consists of header files, .cpp, .c, a Makefile and need to include the problem instances file (.tim).May i know how to compile and run them? From google, i have heard bout the command make.
View 6 Replies
View Related
Nov 23, 2010
I am trying to configure VMWare tools to work with the linux-virtual kernel, but every time I supply the headers path to vmware-config-tools, it rejects it. What should I do to configure it?I am using the path:/lib/modules/2.6.35-23-virtual/build/includeBut I get the rejection message:The path "/lib/modules/2.6.35-23-virtual/build/include" is not valid.It works with the generic version, so what am I doing wrong?
View 2 Replies
View Related
Apr 22, 2011
where can i get socket.h header file? will copy pasting this header file in 'incl' directory allow me to use it in the my program?
View 1 Replies
View Related
Nov 5, 2010
not sure what how to sort out this problem but i am trying to install map server and it errors out because i don not have this header. i get this exact error message configure: checking whether we should include ESRI SDE support... configure: error: "Could not find sdetype.h or libsde.a/libsde.so in /u01/arcgis93sdk/sdeexe93/."
View 1 Replies
View Related
Jan 19, 2011
When I installed the suse11.3, I running the "uname -r",the system shows "2.6.34-12-desktop",for some reasons,i need the kernel header for "2.6.34-12-desktop". I down the "kernel-source", "kernel-default" and "kernel-desktop" and I check the "/usr/src/" path, but only have these stuff "linux-2.6.34.7-0.7 linux-2.6.34.7-0.7-obj linux-obj", where can I get the kernel -header for "2.6.34-12-desktop".
View 9 Replies
View Related
Sep 18, 2010
When is it good to use separate translation units and object files and link them into the main C program, and when is it good to include the header files in the main C program? I don't understand if most people include header files or if most people just link in object files and use their contents in the main program. It's sort of a simple question, but it's confusing to me and that's why I need help with it. I sort of don't understand the difference, or if there's really no difference other than the way the final result is achieved, which way is better or preferred, etc...
For example:
Code:
or:
Code:
Simple explanation of the difference? or which one is preferred or better? I've read a little on the ELF format... so is there no difference in the end result? It's just a matter of preference or necessity, and where the information is to begin with?
View 9 Replies
View Related
Jul 28, 2009
I am running a vmware on a 64 bit fedora 9. I have already installed kernel header, but the vmware could not find the kernel header, and ask to input the kernel header path. I added /usr/include to the vmware, it complained not a right kernel header.
View 1 Replies
View Related
Oct 29, 2010
After getting everything running nicely on 10.10 (after dozens of installs - long story, partially raid problem, partially noob, partially partitioning and Windows), I'm stuck with an unbootable 10.10.I selected all the "important security updates" when the update manager told me I needed to update everything. Upon rebooting, and picking ubuntu in grub, I get:
Error: unknown command 'record fail'Error: cannot read the Linux header Error: you need to load the kernel first Not exactly sure why at this point. Can anyone point me in the right direction? I can probably get in either through a 10.04 version that I have on another HDD, or through the livecd.
Note: if it's important, I did not elect to install the ATI proprietary drivers, and this is also the first update that I've done after installing medibuntu - a few boot cycles in between, so I don't think it's related.
View 5 Replies
View Related
Jun 11, 2010
I am using ubuntu 9.10 and the vmware player 3 was working fine. But after the kernel headers updated to 2.6.31-22 the vmware player shows the pop up and says it cannot find the kernel headers. But actually, the linux-headers-2.6.31-22-generic are installed. I tried to re-install the vmware player but with no sucess. Is there any way to correct this error.
View 2 Replies
View Related
Mar 7, 2009
I just installed a fresh CentOS 5.2 32bit system. I used "The Perfect Server" server document from Howtoforge and went through those steps and then added Webmin administration console. I then tried to install VMware Workstation 6.5 onto the system. I downloaded the latest VMware bundle, ran it and everything went fine. I then try to run vmware and I get the following messages
C header files matching your running kernel were not found
Before youcan run VMware Workstation, several modules must be compiled and loaded into the running kernel
Kernel Headers 2.6.18-92.1.22.el5.centos.plusPAE
Kernel headers for version 2.6.18-92.1.22.el5.centos.plusPAE were not found. If you installed them in non-default path you can..
View 6 Replies
View Related
Apr 12, 2011
I tried to update the header files manually in the include folder, because I thought that I needed to have windows.h etc, but now nothing compiles and I get a good 80 errors for even hello world. I have tried removing g++ and all related packages, deleting the header files folder and reinstalling, but it reinstalls the broken files. Any way of restoring the originals without reinstalling ubuntu?
View 1 Replies
View Related
Dec 28, 2009
I've installed Fedora 12 (KDE version) on VMware workstation running under Windows 7.
I've been able to configure the VMware tools fine up until this point:
Code:
What is the location of the directory of C header files that match your running kernel? After some searching online I deduced I should install all of the latest updates and kernel-devel.
I then nuked the previous VMware tools install and started over with it again, but alas, no directory I try works (i.e. /usr/src/kernels/, /usr/src/kernels/2.6.31.5-127.fc12.i686/ and so forth).
View 8 Replies
View Related
Jan 26, 2010
I am new to linux. I want to use a header file asm/msr.h. But the /usr/include does not contain the header file that I want. Can I just copy the whole asm directory into the directory /usr/include, and overwrite the old one?
View 2 Replies
View Related
Feb 12, 2011
I've started using the huge.s kernel and when i try to compile packages slackware complains about kernel headers but all i see is the smp header files on the slackware discs ?
View 2 Replies
View Related
Jan 10, 2010
i was trying to install iftop using make installso when i ran /configureit told me that some header files are missing and some modules aaare also missingis there a way to search for the missing header files on the internet and missing modules n the internet
View 1 Replies
View Related