CPSR寄存器
undefined reference to `rpl_malloc'
编译tslib,执行make时提示undefined reference to `rpl_malloc' 是因为config.h.in文件中有 /* Define to rpl_malloc if the replacement function should be used. */#undef malloc 把#undef malloc注释掉重新make即可
tslib-1.4的安装与移植
1、下载tslib-1.4.tar.gz http://download.csdn.net/source/3177449 。 2、解压安装tslib # tar -zxvf tslib-1.4.tar.gz  ...
init/built-in.o: In function `do_one_initcall
init/built-in.o: In function `do_one_initcall': /home/sources/linux-2.6.29/init/main.c:694: undefined reference to `__gnu_mcount_nc' init/built-in.o: In function `init_post': /home/sources/linux-2.6.29/init/main.c:790: undefined reference to `__gnu_mcount_nc' init/built-in.o: In function `name_t...
vim复制,粘贴,删除,撤销,替换,光标移动等用法
我接触linux的时候,用的是nano这个文本编辑器,个人觉得他的最大优点就是方便,快速。打开文件,修改文件,到退出都十分的快速,简单。这一点上比vi,vim要强,但是nano不能显示彩色字,不能进行整行删除,编辑各种配置文件的时候,总感觉不是很方便。针对于nano的这些缺点,vim可以很好的解决,并且vim打开文件,里面...
drivers/video/console/vgacon.c:486: error: 'PCIMEM_BASE' undeclared
错误描述:drivers/video/console/vgacon.c: In function 'vgacon_startup':drivers/video/console/vgacon.c:486: error: 'PCIMEM_BASE' undeclared (first use in this function)drivers/video/console/vgacon.c:486: error: (Each undeclared identifier is reported only oncedrivers/video/console/vgacon.c:4...
面试题:删除一个目录下的所有文件,但保留一个指定文件
面试题:删除一个目录下的所有文件,但保留一个指定文件 解答:假设这个目录是/xx/,里面有file1,file2,file3..file10 十个文件[root@oldboy xx]# touch file{1..10}[root@oldboy xx]# lsfile1 file10 file2 file3 file4 file5 file6 file7&nb...
make menuconfig 出现[scripts/kconfig/dochecklxdialog] Error 1
*** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1make: *** [menuconfig] Er...
ubuntu14 root@后面的别名怎么改
vi /etc/hostname 改好后重启系统
arm-linux-gcc-4.3.2安装步骤
下载arm-none-linux-gnueabi-gcc使用,自己编译太麻烦了,地址:http://www.veryarm.com/arm-none-linux-gnueabi-gcc安装交叉编译工具链: 1、首先以root用户登入 2、复制arm-linux-gcc-4.3.2.tgz到根目录下tmp文件夹里 3、解压命令tar xvzf arm-linux-gcc-4.3.2 -C/ 注意以上命令必须要有-C而且是大写...