摘要: 今天下午电脑开机出现:***An error occured during the filesystem check***Dropping you to a shell; the system will reboot***when you leave the shell.......Give root password for maintainence(or type Controll-D to continue)于是上网找方法解决,最终在输入root密码之后,时候单命令fsck解决问题。具体过程如下:(root密码)fscky(会提问你是否修复)还有找到一篇fsck的简单介绍帖子,http: 阅读全文
posted @ 2013-07-28 16:44 Namlike 阅读(3259) 评论(0) 推荐(0) 编辑
摘要: 原文:http://wrchen.blog.sohu.com/71617539.html在讨论全局变量之前我们先要明白几个基本的概念:1. 编译单元(模块): 在IDE开发工具大行其道的今天,对于编译的一些概念很多人已经不再清楚了,很多程序员最怕的就是处理连接错误(LINK ERROR), 因为它不像编译错误那样可以给出你程序错误的具体位置,你常常对这种错误感到懊恼,但是如果你经常使用gcc,makefile等工具在linux或者嵌入式下做开发工作的话,那么你可能非常的理解编译与连接的区别!当在VC这样的开发工具上编写完代码,点击编译按钮准备生成exe文件时,VC其实做了两步工作,第一步,将每 阅读全文
posted @ 2013-07-08 11:51 Namlike 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 在编译程序时,出现:makeg++ -c CSeq.cppg++ -o testmain testmain.o dbSeqAlign.o CSeq.odbSeqAlign.o:(.data+0x0): multiple definition of `PAM_250'testmain.o:(.data+0x0): first defined heredbSeqAlign.o:(.data+0x790): multiple definition of `gap_open'testmain.o:(.data+0x790): first defined heredbSeqAlign.o 阅读全文
posted @ 2013-07-07 17:48 Namlike 阅读(7933) 评论(0) 推荐(0) 编辑
摘要: 发现刚装的centos没有g++上网找了下,安装命令为: yum install gcc gcc-c++其中g++的包名字是gcc-c++ 阅读全文
posted @ 2013-07-03 11:11 Namlike 阅读(343) 评论(0) 推荐(0) 编辑