The header-file tag has no wiki summary.
0
votes
0answers
12 views
Kernel module with included local sources [migrated]
Say I have the following structure:
.\
|_ foo.c
|_ inc\
|_ foo_helper.c
|_ foo_helper.h
I want to obtain foo.ko. foo.c should #include <foo_helper.h>. Also, a debug message with ...
1
vote
2answers
96 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
49 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 ...
1
vote
1answer
137 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
197 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 ...
1
vote
1answer
54 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
146 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 ...
1
vote
1answer
158 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 then virtualbox ...
1
vote
1answer
560 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
161 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 ...
3
votes
3answers
372 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
530 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
85 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
234 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
321 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. ...
4
votes
2answers
2k 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
...
2
votes
1answer
3k 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
...
2
votes
1answer
244 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 ...
7
votes
1answer
947 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? ...
4
votes
1answer
430 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
1k 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 ...