如何运行“sudo make”和sudo“make install”

1 lubuntu makefile lm-sensors software-installation

我昨天安装了 lubuntu 并注意到风扇不工作,想尝试 kevbelisle 提出的解决方案。

http://ubuntuforums.org/showthread.php?t=2002668&s=eb1f4490555e8eda4a27df22fdf9708d&p=12024845#post12024845

所以,我已经把makefile和it87.c文件都下载下来放到桌面了,不知道下一步该怎么做。

任何人都可以分解 kevbelisle 所做的进一步步骤吗?

谢谢。

我删除了 make 文件中的 .txt 并重做所有步骤。这是我所拥有的

make[1]: Entering directory `/usr/src/linux-headers-3.13.0-43-generic'
/usr/src/linux-headers-3.13.0-43-generic/arch/x86/Makefile:98: stack protector enabled but no compiler support
/usr/src/linux-headers-3.13.0-43-generic/arch/x86/Makefile:113: CONFIG_X86_X32 enabled but no binutils support
make[1]: gcc: Command not found
  CC [M]  /home/analog/Desktop/New/it87.o
/bin/sh: 1: gcc: not found
make[2]: *** [/home/analog/Desktop/New/it87.o] Error 127
make[1]: *** [_module_/home/analog/Desktop/New] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-43-generic'
make: *** [modules] Error 2
Run Code Online (Sandbox Code Playgroud)

小智 7

错误消息显示缺少 make gcc 等。安装build-essential元包以获取开发工具。

sudo apt-get install build-essential
Run Code Online (Sandbox Code Playgroud)


tux*_*dup 5

it87内核模块的linux-image-extra封装。

sudo apt-get install linux-image-extra-$(uname -r)
Run Code Online (Sandbox Code Playgroud)