ubuntu - Is there any way to see make file with all variables substituted
2014-04
I have huge long makefile
written by some other guy, where all coomands contain variables.
In order to decode what this command is doing i have look around what that variable is and its taking too much time.
is there any way to see the make makefile where all variables are automatically substututed or dry running
so that i can see what each function is doing
When trying to install my WiFi card's driver on Ubuntu 9.1, I run the make
command and get the following error:
make: *** /lib/modules/2.6.31-20-generic/build: No such file or directory
Any ideas how to fix this?
This site gives a better solution/copy-paste code line to get the proper headers: http://www.cyberciti.biz/faq/howto-install-kernel-headers-package/
sudo apt-get update && sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install linux-headers-generic
Try this. If it wont work, comment and we'll figure out the package. (I hope you installed build-essential
package.)