General :: Installed - 2.6.21 And Lzo-2.03 - How To Include Headers Files.
Apr 9, 2010
I have installed linux-2.6.21 and lzo-2.03 from source code in fedora core 7 in the same directory. Now I wanted to include header files of lzo library in the linux kernel source code. How to do that?
View 10 Replies
ADVERTISEMENT
Apr 4, 2011
The problem is that I need to use kernel headers like <linux/interrupt.h>. However, those files do not exist in folder /usr/include/linux. Thus, compilation fails. On the other hand, the files exist in folder /usr/src/kernels/2.6.30.10-105.2.4.fc11.i586/include/linux.
How can I get the missing headers into proper place in /usr/include/? I even tried coping, but extra files are then needed and so on.
I tried to use "make menuconfig", but I couldn't see a missing configuration I need.
I also tried to use " yum install kernel-devel". This tells me "Package kernel-devel 2.6.30.10-105.2.23.fc11.i586 already installed and latest version Nothing to do".
View 4 Replies
View Related
Jul 18, 2010
Many here know I distribute alot of live stuff and thus many say I should try to putout as high a kernel version as possible for wireless, netbooks, etc.my questions are about using a much higher kernel version than the installed headers for instance; I use kernel 2.6.34-ZEN in my arch/slackware builds but the slackware version contains headers 2.6.33.4 from slackware and so is that a problem or no?I built the kernel from source using headers 2.6.33.4 in slackware and headers 2.6.34 in arch...now, I may be upgrading those kernels to meerkats 2.6.35-r5 and need to know if having headers 2.6.33.4 is an issue?also, after compiling kernel does it install a new set of headers when you do make modules_install?
View 4 Replies
View Related
Apr 28, 2011
I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions. now the result is one huge .txt file with all the contents of other .txt files
how can i add the File Name as a comment before each file?
//FileName
Code:
system='/path/to/my/directory'
cat `find ${system} -name '*.txt'` > outputFileDirectoryName.txt
View 13 Replies
View Related
Feb 15, 2010
I am dragging my files over to a new Fedora 12 installation and I just noticed that special characters are not taken into account when sorting files by name (I want '_js' to come before 'images').Is there a way to make the sorting process behave like Windows, where files starting with a special character are listed first?
View 5 Replies
View Related
Dec 15, 2010
I have successfully installed a dual boot system with Fedora 14 on drive sdb and WIN7 on drive sda, with Fedora 14 being the major (default) OS. The system is an AM3 with a quad core CPU and all SATA drives. The drives are set to IDE mode, and I am wondering:-
1. What are the benefits of AHCI - will it improve the speed and responsiveness of my system? And
2. If it is worth installing, do I have to do a complete re-install of the OS, or is there some way of updating the installed Fedora to include and operate with AHCI mode drives?
I'm quite happy with the system as it is now, but if there is a way to squeeze extra speed out of it I'm willing to give it a go. And never having been involved with SATA drives and Linux previously, I'm completely ignorant on the subject.
View 2 Replies
View Related
Dec 3, 2010
I would like to create a custom boot disk that would include some programs already installed on my computer, so I wouldn't have to re download them, is there a way to do this?
View 2 Replies
View Related
Oct 9, 2010
I am trying to build Pidgin on my Lucid install and on running configure, I get the following:
Quote:
configure: error: You must have GLib 2.4.0 or newer development headers installed to build.
If you have these installed already you may need to install pkg-config so I can find them. I tried installing pkg-config, but it's already in its newest version. I then tried going to the following website
[URL]
and downloaded and extracted glib on my computer. That changed nothing. I was hoping someone could tell me what's going on here. I just tried the this:
Quote:
sudo apt-get install libgtk2.0-0
and got
Quote:
libgtk2.0-0 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
View 8 Replies
View Related
Mar 14, 2010
I have several classes that I use for multiple programs. Where should I keep the h/cpp files so I only have to add the #include for the compiler to find them?
View 9 Replies
View Related
Feb 2, 2011
Basically I have a dir that contains my makefile and another directory inside this called source this holds main source files. External to these I have a couple of dirs common and drives.
In my make file I use
To include the protoypes from the headers in the folders common and drivers used by source, this works fine. However in common and drivers I use a few variables that are set in the source dir. I set these with externs inside the common and driver files. However I'm sure I should be able to set the directory path for source inside my makefile. So say I have inside source hardware.h with prototypes, I set DINCDIR = -I/Source -I../Drivers -I../CommonFiles
Then from a c file inside my common folder I say #include "hardware.h" the file should be able to see hardware.h and it's protoypes. However I get:
Is there some way I can get the extern dirs to see the source dir?
The set out is something like;
View 1 Replies
View Related
Oct 3, 2010
One system send files to linux machine and it is name contains spaces and I tried to move it from one directory to other, but it show error:
Ex:-
mv -f file one file two
mv: target 'one' is not a directory
View 6 Replies
View Related
Apr 11, 2011
I feel like there should be a cleaner way of doing this. I have one file, for example "a.cpp", calling a function from another file, "b.cpp". Currently I have it set up so that header for "b", "b.h", has the declaration of its functions. And then I'm just including "b.h" in "a.cpp". Do I have to include the "b" header file in "a" to be able to call a function from "b"? Or is there a better way I could be doing this? Like doing something different at compile?
View 7 Replies
View Related
Mar 11, 2010
I need to know what files are contained in kernel headers and where are they?
Are they the same for each kernel or no?
I need slack kernel headers for kernel 2.6.27.27
I just need the headers
View 4 Replies
View Related
Aug 26, 2010
I seem to be unable to use the html
Code:
include virtual="test.txt" I have tried following the advice in this thread http://ubuntuforums.org/showthread.php?t=1510098 but it makes no difference. The file is there, but the line is delivered to the browser as-is. Using Lucid and a new install of apache 2.2 from the repository.
View 7 Replies
View Related
Jul 11, 2010
What is the difference between /usr/local/include and /usr/include? When I compile my program, is both /usr/local/include and /usr/include avaliable? Can I copy a file from /usr/local/include to /usr/include?
View 1 Replies
View Related
Jul 8, 2010
I just downloaded the SDL source code. i did compile and make of this code.then i did make install. but i didnt see the files of SDL.h and lib.SDL.*** in /usr/include/ but later i found out that these files are placed in /usr/local/include and /usr/local/lib. how can i specifically install libraries on /usr/include and /usr/lib
View 2 Replies
View Related
Jul 3, 2009
I usually custom compile my kernel and generate the header files with the following command:
Code:
fakeroot make-kpkg --initrd --append-to-version=generic-ide kenrel_image kernel_headers
However, I noticed that there are some difference in the headers files that get generated with the above command as compared to the header files that are available from Debian repo. For example, the header files for 2.6.24 kernel have files like:
Code:
debian:/usr/src/linux-headers-2.6.24-etchnhalf.1-686/arch/x86# ls Kconfig Kconfig.cpu Kconfig.debug kernel Makefile Makefile_32 Makefile_32.cpu Makefile_64 However, if I custom compile the above kernel from Debian sources (2.6.24), the headers files does not have the above files:
Code:
debain:/usr/src/linux-headers-2.6.24-generic-ide/arch/x86# ls
boot ia32 Kconfig.cpu kernel lib mach-es7000 mach-visws Makefile mm pci vdso xen
crypto Kconfig Kconfig.debug lguest mach-default mach-generic mach-voyager math-emu oprofile power video
As you can see from above output, files like Makefile_32, Makefile_32.cpu are not present, if I generate kernel headers files using the make-kpkg command as mentioned in the beginning of the post. I happened to notice the above issue, while I was trying to compile a out-of-tree kernel module and the "make" command for those sources (some graphics card drm module) worked with the default header files (linux-headers-2.6.24-etchnhalf.1-686) but did not work with (linux-headers-2.6.24-generic-ide) because it did not find the Makefile_32. Although I was able to fix the problem by copying the Makefile_32 from linux-headers-2.6.24-etchnhalf.1-686 but I would like to know why there is a difference. This is bit of a concern because it unnecessarily breaks the out-of-tree module compilation process because of trivial reasons.
View 4 Replies
View Related
Apr 13, 2010
Recently I have moved to F11. While I am trying to install directFB explicitly, I am getting error related to X 11 dependencies. It could find no includes files under the directory /usr/include/x11/. But x11 libraries are available in the system. I remember that, i had these x11 include files in my F9. Do I need to install any external packages to get the x11 include files in place?
View 4 Replies
View Related
Mar 24, 2010
I have used avidemux to cut a mp4 file, choosing just a part of it, and I have discovered it automatically adds "avidemux" to the beginning of the name of the file, plus the author of the file and that I cannot edit the file to erase it. Note that I talk about "right click - properties", and that the file, as seen from home folder dont include the "avidemux" prefix, but if, for instance, I run the file with VLC, "avidemux" will appear, and that is annoying. how to delete that annoying avidemux prefix?
View 1 Replies
View Related
Apr 3, 2011
I have C++ source code(*.cpp) files that expects it's header files in System's include folder which is/usr/include.The cpp files has include lines like this:
Code:
#include <some.h>
#include <another.h>
[code]...
View 3 Replies
View Related
May 1, 2011
I have made two source files named as sum.c and average.cI have included sum.c in average.c
both files in Documents directory.when i compile average.ot followingerror"average.c:4:22: fatal error: sum.c: No such file or directorycompilation terminated.How to solve this issue?I have tried to copy sum.c to usrinclude folder but unable to copy
View 8 Replies
View Related
Sep 25, 2009
I would like to know how to run exe files like"VLC"in ubuntu while it's installed in windows. I have installed ubuntu in windows. VLC application is installed in windows. But I want to use this application in ubuntu too.
View 2 Replies
View Related
May 10, 2010
How can I know about the debian files I've installed from the internet via command line? Is there any command to have info about debian files? I've installed google chrome, opera, etc...I want to what debian files I've installed? Can I know there locations?
View 2 Replies
View Related
May 19, 2011
I loaded a distro (which does not seem relevant) onto my laptop and used it for a while. Applications did whatever they do creating and saving files. I know that I have images and documents and videos and music and such on the laptop among other non-distro data files. Is there a simple (straightforward) way to identify which files on disk are NOT part of the installed distro? I know how to use find. I know that find lets me locate files based on some date-time-stamp. I know, too, that I can use any selected file as a benchmark date-time instead of some specific command line string.
For example:
Code:
Find files whose modification date is before (or after) the date(s) associated with the file /path/foo.bar.
Is there any one file that I could use to peg the distro install date? Can I get that date from somewhere else like a file system details?
View 14 Replies
View Related
Feb 28, 2010
I intalled rhel along with xp on my hard disk..When rhel is running it is not possible to see ntfs partitions..What packages i want to install for this..
View 3 Replies
View Related
Sep 26, 2010
Here's my situation :
I had a samsung 1TB HDD that I used for storing data, on an xp machine, so it was formated as NTFS.I moved this HDD to another machine and installed Freenas on it, and the installation worked fine (fyi, I used the tutorial posted here :[URL]..During the installtion, Freenas installed it's system files to a new small UFS partion. After finishing the setup, I realised that I had changed the file system of the other partion (980gb, previously NFTS) to UFS and now I don'T know how to go back. I had about 400gb of data on it and I'm pretty sure it's still there, but don't know how to get it back.
I tried messing around with recovery software such as R-Studio, and I was able to see some of my files so I know they're still there. After quite a bit of googling around, the only solution I seem to find is using gparted which is a tool to modify partions file system without loosing data, but I'm afraid to use it.
So is there a way to browse NTFS data on a UFS partition and convert it so FreeNas can see my files ? Or is there a way to put the partition back to NTFS so I can back up my data to another drive before I lose something valuable ?
View 1 Replies
View Related
May 11, 2010
Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :
[Code]...
View 19 Replies
View Related
Jun 1, 2010
Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.
View 4 Replies
View Related
Jul 21, 2010
use rsync to cp such files and dirs under /var/www/html/mydir directory but these two files(/dir4/1.html /dir4/2.html) cant rsync to dest mechine.
rsync configure file,below...
View 2 Replies
View Related
Apr 12, 2011
I am trying to set the default printer on a machine running xubuntu from the command line. It looks like I need: lpoptions -d "printer_name" but I do not know the name of the printer. How can I find this information?
View 2 Replies
View Related