linux下面安装dnw

[root@embedded secbulk]# make -C /lib/modules/`uname -r`/build M=`pwd` modules
make: *** /lib/modules/2.6.32-71.el6.i686/build: 没有那个文件或目录。 停止。
[root@embedded secbulk]# make -C /lib/modules/`uname-r`/build M=`pwd` modules
bash: uname-r: command not found

make: *** /lib/modules//build: 没有那个文件或目录。 停止。


这时需要安装kernel-devel

[root@embedded dnw]# sudo yum install kernel-devel
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.i686 0:2.6.32-71.el6 set to be installed
--> Finished Dependency Resolution


Dependencies Resolved


====================

你可能感兴趣的:(嵌入式入门)