Tuesday, January 3, 2012

Linux Header

Anyone got problem make or make install a software package on Backtrack?

If that happened, maybe you not yet installed Linux Header or Kernel Header.

Linux headers are the header files used by Linux system to compile the kernel and othe applications which depend on the symbol or structures defined in these header files, or we can say in other word linux header is like kernel modules.
An example can be wlan card drivers. If the driver does not have a binary matching with the running kernel, the driver needs to be compiled with the header file.

To configure Linux-header in order to enable us make and make install a package in Backtrack just follow these simple step.

# prepare-kernel-sources
# cd /usr/src/linux
# cp -rf include/generated/* include/linux/
And there you are..
After perform these step you will be able to make and make install a sofware package.

Hope this helps.