错误
for_kernel
这个作者很懒,什么都没留下…
展开
-
ISO C90 forbids mixed declarations and code 警告
ISO C90 forbids mixed declarations and code 警告 变量定义之前任何一条非变量定义的语句(注意:语句是会带分号的)都会引起这个警告! 将非变量的定义移到变量定义之后 即可原创 2013-06-07 10:32:21 · 911 阅读 · 0 评论 -
出现/bin/sh: can't access tty; job control turned off的解决方案
问题现象:移植完busybox后开机启动,在终端中打印出一条:/bin/sh: can't access tty; job control turned off信息问题分析: 首先来了解下inittable文件,该文件保存在/etc/inittable如果存在/etc/inittable文件,Busybox init 程序解析它,然后按照他的指示创建各种子进程,否则使用默认转载 2013-08-26 17:27:03 · 6104 阅读 · 0 评论 -
'make menuconfig' requires the ncurses libraries.
同学在搞linux的移植,激励我也看了下移植的东东。先试验下make menuconfig root@zhangbin-desktop-ubuntu:/usr/src/linux-headers-2.6.32-27# make menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts转载 2013-09-04 17:30:42 · 1028 阅读 · 0 评论 -
oops的解读方法-----怎么通过oops查找源码行
http://blog.csdn.net/android_huber/article/details/7580513本文系本站原创,欢迎转载!转载请注明出处:http://blog.csdn.net/android_huber交流邮箱:dp.shao@gmail.com-----------------------------------------------------转载 2014-02-09 16:23:10 · 976 阅读 · 0 评论 -
写宏遇到的问题:warning: backslash and newline separated by space - C
http://blog.csdn.net/liyongming1982/article/details/6663031原来是因为\ 后面多了一个空格 附上一个刚刚写得调试用的例子:[cpp] view plaincopy#define desay_debug(_string,myValue) \ do{\转载 2014-04-21 10:22:38 · 690 阅读 · 0 评论 -
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h:No such file or directoryHow do I fix this error?A. You need to install the glibc-devel package. It contains the object files necessa转载 2014-05-24 19:14:09 · 570 阅读 · 0 评论 -
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `./src/main.o' is incompatible with i386:x86-64 output出现这种警告的时候的时候,运行程序老是段错误,要加-ms32,就好了。gcc -m32 -o usehello_static usehello.c libhello.a转载 2014-05-24 19:13:31 · 4508 阅读 · 0 评论