The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
36 views

Problem with grep on multiple files and not getting desired output

I am using the below command on a file to extract few lines based on chr# ( different chromosome numbers). This is just a single file am working on. i have 8 such files and for each file I have to do ...
1
vote
1answer
49 views

Looking for ancient kernel source

I'm looking for an specific old kernel source namely 2.6.26.5 to build an exact replicate of an cross toolchain for an embedded target. Unfortunately all I can find is 2.6.26 in the kernel.org ...
2
votes
2answers
486 views

Building kernel module using dkms, missing headers

I would appreciate, if anybody can help me. 1) I am trying to build kernel module for Ubuntu sever using dkms. Detailed manual is here. 2) When It is building module using this syntax: sudo dkms ...
4
votes
2answers
367 views

Compiler cannot find header file, do I add the directory to PATH?

I am trying to work with gtk which is located at /usr/include/gtk-3.0/gtk/ .., but all of the header files in the toolkit have #include <gtk/gtk.h>. Aside from adding /usr/local/gtk-3.0 to ...
0
votes
1answer
71 views

Common code for kernel and userspace [closed]

I'm working on a linux project. I want to have some code (to be specific, a struct) and a header file (my own implementation) common to both the kernel and the userspace. Can someone tell me how to ...
2
votes
2answers
171 views

Debian: get package name for installed file

I'm connected via SSH to a PC running Linux kernel 3.11.1: root@alix:~# uname -r 3.11.1 how can I find out which package installed this specific file or kernel version respectively? I tried ...
2
votes
1answer
152 views

Can you use LXC through C?

I want to use LXC to 'container' plugins my application is loading. Am I able to do this through C? I have been Googling a lot about it, but there don't seem to be any headers, only scripts that can ...
1
vote
2answers
1k views

Ubuntu: can't find ndbm.h

I need to compile an old apache version, 1.3 and compilation process fails because: mod_auth_dbm.c:77:18: fatal error: ndbm.h: File or directory not found where is it?
1
vote
1answer
181 views

Deleted header file /bits/types.h

On compiling a program using gcc, I was getting syntax errors in /sys/types.h. While investigating the problem, I ended up mixing up the /bits/types.h and /sys/types.h and I mistakenly deleted ...
2
votes
1answer
348 views

Kernel headers for VMware tools

I tried to compile VMware tools on my server. I compiled the kernel myself, I didn't use RPM. As VMware tools needs the kernel header files, I executed the following command in my kernel folder ...
5
votes
2answers
2k views

What package could “linux-headers-3.7.5-1-ARCH” mean?

I'm debugging a closed-source software installer that seems to have some pre-conceived notions about my distribution. The installation aborts after not finding apt-get. The command it attempts to run ...
3
votes
1answer
218 views

Which library are LO headers belonging to?

I'm trying to configure liquidsoap and compile it from source. The ./configure process gets stuck at this point: checking lo/lo.h usability... no checking lo/lo.h presence... no checking for ...
1
vote
0answers
428 views

Unusual vmware.modconfig-console output

Upon running a batch file I created to iterate recursive directories from / trying to find the Kernel headers for vmware-modconfig-console running on openSUSE, when it comes across /usr/include/ it ...
2
votes
1answer
784 views

is linux/compiler.h a userspace header?

VirtualBox is looking for this file in /usr/include but it's missing in gentoo linux-headers Does someone know if that is userspace header and gentoo is missing it? Or if that is not it, then if ...
2
votes
1answer
3k views

How to add header and footer to the flat file

I need to add a header and a footer to flat file - I just need to get values from the parameter like system date and report run date in the top line and for the footer I need to get the record count ...
-2
votes
1answer
1k views

Difference Between #include “file.h” and #include <file.h> [closed]

What is the difference between the #include "file.h" and the #include <file.h>? Surely they mean the exact same thing, because I have a file that has something like this: #include ...
5
votes
3answers
6k views

What exactly are Linux kernel headers? [duplicate]

Possible Duplicate: What does a kernel source tree contain? Is this related to Linux kernel headers? I know that if I want to compile my own Linux kernel I need the Linux kernel headers, ...
1
vote
1answer
2k views

Unable to find headers in GCC

I am trying to compile a program using GCC in SCO, and I am unable to find the ctype.h file. I have managed to find the other files that were missing when compiling, like string.h etc. I was getting ...
1
vote
2answers
94 views

Where are “headers” for other languages kept?

If I were to write a library for a C-incompatible language (like D), where would be the best place to install my "header files" to? usr/include seems like a bad idea, since the FHS says it's for ...
1
vote
2answers
456 views

Extract files from FreeBSD ISOs - how to know locations?

How can I extract some of the folders of a stock FreeBSD install from the ISO without actually installing FreeBSD? I am trying to build a number of cross-compilers for various major versions of ...
1
vote
1answer
1k views

How and where to install a headers only library?

I like to install gource which requires libglm-dev installed on the system. I am using Ubuntu 10.10. Maverick. The newest sources of the headers only library I found is not available for apt-get. ...
10
votes
3answers
667 views

Using real time kernel headers to compile userspace code vs default headers

Per customer requirements, I installed CentOS 5.6 with the default kernel. With this kernel installed, the time.h file includes the #define CLOCK_MONOTONIC. Now, a real-time kernel was installed ...
4
votes
2answers
6k views

“sys/ioctl.h” header in linux

I am on Linux 2.6.32-26-generic When I look in to the linux source code for "ioctl.h" hearer file, I could see many variants. (for different platforms, I guess). i.e. ./fs/ocfs2/ioctl.h ...
4
votes
2answers
14k views

Command to install linux headers fails

I need to install my linux headers for an Nvidia driver install. But I get an error when doing so: peter@peter-deb:~$ sudo apt-get install linux-headers-$(uname -r) Reading package lists... Done ...
3
votes
1answer
1k views

Which header defines the macro that specifies the machine architecture?

Shorter version of question: Which C header contains the macro that corresponds to the machine architecture of the system (e.g., __x86_64__, __ia64__, __mips__?) Longer version of question: I'd ...
8
votes
1answer
2k views

Difference between /usr/include/sys and /usr/include/linux?

Well, obviously there is a difference, but I'm curious about the rational behind why some things go under /usr/include/sys and others go under /usr/include/linux, and have the same header file name? ...
7
votes
1answer
1k views

What does 'uni' mean in unistd.h

What does uni mean in unistd.h Does it mean unix? or universal? What is it?
1
vote
1answer
2k views

Where in Gnome libs, is 'True' and 'False' defined?

I'm trying to compile a program with gnome-libs, that uses True and False, in one of the arguments. But what header file defines them? I'm getting the following error: guignome/guignome.c: In ...