摘要: 在终端下执行以下命令进入,shell模式的 emacs,出现如下错误$ emacs -nwerror: Fontset `tty' does not exist解决办法:修改.emacs 中关于字体的设置。(defun s-font() (interactive) ;; font config ... 阅读全文
posted @ 2015-04-28 21:36 阿青1987 阅读(1842) 评论(0) 推荐(0) 编辑
摘要: 1、MakefileKDIR=/home/xxx/s-linux-3.0.35PWD:=$(shell pwd)# kernel modulesobj-m := globalmem.omodules: make -C $(KDIR) M=$(PWD) modulesclean: rm -... 阅读全文
posted @ 2015-04-28 16:32 阿青1987 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 看 linux 设备驱动开发详解时,字符设备驱动一章,注册globalmem驱动时,出现如下错误:# insmod globalmem.koinsmod: can't insert 'globalmem.ko': Device or resource busy原因:模块使用的是静态分配设备号的方式,... 阅读全文
posted @ 2015-04-28 16:17 阿青1987 阅读(1873) 评论(0) 推荐(0) 编辑
摘要: Beej's Guide to Network ProgrammingBeej's Guide to Unix Interprocess CommunicationBeej's Guide to CBeej's Guide to the GNU Debugger (GDB)http://beej.u... 阅读全文
posted @ 2015-04-28 09:33 阿青1987 阅读(119) 评论(0) 推荐(0) 编辑