I'm following the instructions on this page so I can submit enough information about my machine to this bug report module.
I'm stuck in running some of the following commands
git clone git://github.com/Lekensteyn/acpi-stuff.git
cd acpi-stuff/acpi_dump_info
make
sudo make load
cat /proc/acpi/dump_info > handles.txt
I cloned the Git repository but I can't run the make
command, I'm getting the following error messages:
mg@MG-7520SE:~/workspace/HybridGraphicsCards$ cd acpi-stuff/acpi_dump_info
mg@MG-7520SE:~/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info$ make
make -C /lib/modules/3.13.0-27-generic/build M=/home/mg/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info modules
make[1]: *** /lib/modules/3.13.0-27-generic/build: No such file or directory. Stop.
Makefile:9: recipe for target 'default' failed
make: *** [default] Error 2
mg@MG-7520SE:~/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info$ sudo make
[sudo] password for mg:
make -C /lib/modules/3.13.0-27-generic/build M=/home/mg/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info modules
make[1]: *** /lib/modules/3.13.0-27-generic/build: No such file or directory. Stop.
Makefile:9: recipe for target 'default' failed
make: *** [default] Error 2
So after cloning the Git repository, I access the specified directory acpi-stuff/acpi_dump_info
and ran make
but it didn't work. I tried running it as sudo
it still didn't work.
I noticed its complaining because there is not build
directory under the /lib/modules/3.13.0-27-generic/
directory. I'm not sure what this is exactly but from the looks of it, the make
command needed a compiled version of my kernel but didn't find one. But I know nothing about that anyway.
I tried installing linux headers by running the commands
sudo apt-get install linux-headers-3.13.0-27-generic
sudo apt-get install linux-headers-
uname -r`
..but they both failed and had the same output
mg@MG-7520SE:~$ sudo apt-get install linux-headers-3.13.0-27-generic
[sudo] password for mg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-3.13.0-27-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'linux-headers-3.13.0-27-generic' has no installation candidate
My system infomration:
mg@MG-7520SE:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic
mg@MG-7520SE:~$ uname -a
Linux MG-7520SE 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
So what should I do to be able to run the make
command successfully under this directory ?