Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [header-file]

The tag has no usage guidance.

-1
votes
1answer
47 views

Did I Mess Up My Computer with Recursive rm of '*.h"

So I was basically trying to print all files with a .h file extention out of curiosity, and so I simply googled how to do that. Unfortunatley, I didn't pay close enough attention to the answer and ...
1
vote
1answer
23 views

Solaris 11 - PAM application

I'm trying to compile an application which interacts with the PAM system on Solaris 11, however everytime I try compile the code I get "fatal error: security/pam_appl.h: No such file or directory" ...
0
votes
2answers
1k views

Curl : Read headers from a file and use them in a cURL command

I have a bash script with the following curl command : curl -v -X GET https://example.com -H ~/Desktop/headers.txt -o ~/Desktop/file.txt When i run the bash script i am getting unothorized 401. ...
-1
votes
1answer
167 views

What Debian/Ubuntu package has the documentation for the standard C headers?

On the back of this question, but Debian/Ubuntu specific that has C-standard library headers like (taken from Wikipedia) assert.h , complex.h , ctype.h , errno.h , fenv.h , float.h , inttypes.h , ...
0
votes
0answers
27 views

Looking up docs for C header files? [duplicate]

On Ubuntu if I type man 2 time I get, NAME time - get time in seconds SYNOPSIS #include <time.h> time_t time(time_t *tloc); ... I get that this works because time is the ...
-1
votes
2answers
94 views

Getting strange LD_PRELOAD errors and missing include files - is my distro busted?

For the past half-day or so, I've been having at least the following problems: I get errors about missing LD_PRELOAD entries: My LD_PRELOAD contains /lib64/libstdc++.so.6 (not sure if that makes ...
4
votes
2answers
356 views

Undoing C syntax mangling macros to make exctags able to create prototype tags

I can successfully create a tags file for vim with exctags (Exuberant Ctags). However, creating tags allowing to jump to the prototype of a function does not work, due the system headers using a ...
0
votes
1answer
2k views

VBox Guest Additions installation can't find headers for Kali kernal 4.14.0-kali1-amd64

I have installed Kali in VirtualBox and now trying to install Guest Additions to get full screen view. I updated and installed my packages and installed dkms. When I try to install linux-headers I ...
1
vote
1answer
33 views

How to use development package installed by sys package manager?

I'm confused as to how to use *-dev packages in Ubuntu. I want to use the libxml2 library, in Ubuntu, for my own code development. I installed libxml2-dev using apt-get, which put the header files ...
0
votes
1answer
51 views

Barman >1.5.1 for Ubuntu 16.04

I use Barman 1.5.1 on Ubuntu 16.04. For several weeks, barman has been working smoothly. Some days ago I noticed something strange. Instead of backups I find other files in the <SERVER>/base/ ...
0
votes
0answers
134 views

Kernel make error “linux/security.h: No such file or directory”

I am trying to compile kernel for Allwinner A10 processor (sun4i, ARMV7) for Android 4.1.2. Config file is copied from the device and some modules are added. $ make ARCH=arm CROSS_COMPILE=/usr/bin/...
-1
votes
1answer
318 views

Include a header file into multiple C files

I am modifying the linux kernel for a device locally and I added a header file, say a.h inside /include/linux and referenced it in two C files inside the kernel directory. The header file contains a ...
-2
votes
1answer
676 views

Read standard library header file in terminal [closed]

is there any way to read a standard header file, say float.h , in terminal ? Sometimes it would be nice to know what are the names of some values, say max value of float or something like that.
1
vote
1answer
208 views

problem on zlib

I'm trying to install a package (named FIESTA). When I run make, I get a error message "zlib.h is required". I'm pretty sure that zlib1g is installed, and zlib.h can be found in /usr/include. How ...
3
votes
0answers
370 views

How to install Linux 3.2.40 headers on Synology DS214 with DSM 6.1?

Since I'm tired of cross-compiling and already have a working (cross-compiled) gcc on my Synology DiskStation DS214 with DSM 6.1, I'd like to install the Linux headers of the Linux version running on ...
5
votes
2answers
5k views

configure: error: libcurl >= 7.28.0 library and headers are required with support for https

Hi I met an issue when I tried to configure for R installation. Basically, I tried to follow my previous installation process, (For some reason, I need to reinstall the same R in CentOS6 instead of ...
1
vote
1answer
818 views

Reliably detect Python 3 development files

I have a shell script which installs all required packages for a project. Some of those packages are Python 3 based and require to compile things and for this the Python sources need to be installed1 (...
2
votes
2answers
2k views

fatal error: mcrypt.h: No such file or directory

I am trying to cross compile a C code which uses a header file mcrypt.h. I am compiling my code in Ubuntu distribution and my target is an openwrt distribution. I am getting the below error while ...
0
votes
2answers
59 views

Restore original string.h after accidental overwrite [closed]

I was reading the header files for c and by accident, i changed something (i deleted some stuff by accident) I closed out of sublime text editor, expecting it to ask me to save, but it saved ...
1
vote
1answer
3k views

Installing Kernel Headers offline - Linux Kali

I need to install Kernel Headers to install nvidia graphics driver to run linux kali. Now here is the tricky part, it must be done completely offline. I have no idea how to do it. Kali is freshly ...
1
vote
1answer
306 views

Automatic generation of LDFLAGS, CPPFLAGS and other from error messages [closed]

While integration, merging, porting and cross-compilation of various projects I encounter many errors caused by missing headers or undefined symbols. Then I manually search headers and libraries to ...
0
votes
1answer
929 views

Path to x86_64 linux kernel headers

I want to compile program using some linux kernel headers. But, if I just add -I/usr/src/linux-headers-4.4.0-36/include it can't find linux/export.h. I saw files with same name in arch/architecture, ...
1
vote
3answers
529 views

What is BTN_TRIGGER_HAPPY?

I'm writing kinda virtual keyboard using uinput and during looking into what all should I put into ioctl(fd, UI_SET_KEYBIT, ???); I found input-event-codes.h. Some constants there are pretty self-...
4
votes
1answer
763 views

How to compile against a custom kernel (Debian)?

There is a file version.h in /usr/include/linux. Many header files include this file and use the defines in there for their own ifdefs. However, when I compile my own kernel, I cannot see how this ...
0
votes
1answer
326 views

Linux Crypto API headers missing

As soon as headers are essential to deal with crypto algorithms, provided by kernel, I've installed linux-headers-4.4.0-1-amd64. However, this did not added files like crypto.h, module.h and init.h ...
0
votes
3answers
20k views

Installing VMware. Error : Kernel headers for version 4.3.0-kali1-amd64 were not found

Trying to install VMware Player on Kali Rolling (debian Wheezy). When running VMware Player for first time after installation I get: Error: C header files matching your running kernel were not ...
2
votes
2answers
946 views

How to get the absolute position (x, y coordinates) of a finger on a touchpad?

Main question: How to get the absolute finger position on the touchpad? I would like to get the absolute position (x, y coordinates) of a finger on a touchpad? I believe it is possible to extract it ...
1
vote
1answer
598 views

Why do the Linux kernel headers contain references to nonexistent headers?

I'm trying to build IBCS (source here) on Ubuntu 15.10 (Linux 4.2.35). This module is obviously pretty old, because its CONFIG.i386 file gives gcc an option -m486, which doesn't exist anymore, but ...
4
votes
1answer
176 views

No stdlib in UNIX v7?

Browsing through the v7 UNIX Sources I noticed there is no "stdlib" directory - further more using a v7 UNIX Emulator, there is no such file as <stdlib.h>. However functions like exit() and ...
2
votes
2answers
3k views

How to create /usr/src/linux-headers-{version} files

I am trying to compile a custom kernel for Nvidia's Jetson TK1 board, and it seems that as well as the kernel itself (zImage) I will need /usr/src/linux-headers-{version} and /lib/modules/{version}. ...
6
votes
2answers
611 views

Get header of the C function from BASH

I want to get the header(s) that I need for a given C function - e.g. when I want to see what to include when I want to use fork(), I can type out man fork and see that it's #include <unistd.h>. ...
0
votes
2answers
617 views

Install Debian kernel header files 3.4.90+ via terminal for ARMHF

I am trying to install the kernel header files on Debian via the terminal, but it does not seem to exist in apt-get. The reason I need the kernel header files is because I need to install WiFi ...
2
votes
1answer
14k views

mpi.h not found

I tried to compile the Hello World program in C, inside Eclipse PTP, but it gives me an error related to mpi.h. I have included /usr/local/include and /usr/local/lib in my paths, and also tried ...
0
votes
1answer
236 views

understanding this cpu utilization script

I need to understand the below Script : HEADER='CPU pctUser pctNice pctSystem pctIowait pctIdle' HEADERIZE="BEGIN {print \"$HEADER\"}" PRINTF='{printf "%-3s %9s %9s %9s %9s %9s\n", ...
0
votes
1answer
939 views

Get an error when trying to install Matlab 2014a on Debian

I'm trying to install Matlab 2014a on Debian Testing. When I run the install script with sudo ./install -javadir /usr/lib/jvm/java-7-openjdk-amd64/jre/ I get this output Preparing installation ...
1
vote
0answers
3k views

Cannot find HDF5 header files when installing h4toh5 in Debian

When trying to install h4toh5 on a Debian system, using: ./configure CC=/usr/bin/h4cc --with-hdf5=/usr/include/hdf5/serial I have errors such as: checking for hdf5.h... no configure: ...
1
vote
1answer
1k views

Where are headers for Scotch and PT-Scotch located?

I've installed ptscotch with this command: sudo apt-get install ptscotch Then I wanted to compile the Pastix library, but it's throwing the error: symbol/src/dof.c:54:22: fatal error: ptscotch.h: ...
5
votes
0answers
4k views

How to create Linux Kernel Headers from Linux Kernel Source?

I'm working with Tiny Core Linux and attempting to install Vmware Tools, which of course needs the Kernel Headers :-). It does not appear they have the Kernel Headers readily available in a package, ...
1
vote
1answer
274 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
93 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 ...
4
votes
2answers
5k 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 ...
5
votes
2answers
7k 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 ...
1
vote
1answer
489 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 ...
3
votes
4answers
685 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 root@...
2
votes
1answer
584 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 ...
3
votes
3answers
4k views

Ubuntu: can't find ndbm.h

I need to compile an old Apache version, 1.3, and the compilation process fails because: mod_auth_dbm.c:77:18: fatal error: ndbm.h: File or directory not found Where is this ndbm.h file?
1
vote
1answer
366 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 /sys/...
2
votes
1answer
562 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 source:...
8
votes
2answers
5k 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 ...
4
votes
1answer
679 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 lo/lo.h.....