
linux
Kevin_qing
这个作者很懒,什么都没留下…
展开
-
RHLinux9 升级2.6.15
下载src,编译.选择了ext3编译入内核 不知道什么原因,编译时GCC coredump了无数次...终于在第n次继续编译后成功了.安装好kernel后启动....先报usb 一堆什么错误,没关系,俺的键盘是ps/2的,用sshe也不需要鼠标...忽略...继续下去,新硬件只找到了我的ps/2鼠标然后在启动网卡时出现错误.....大概是说网卡设备不存在.但是我原创 2006-03-11 00:22:00 · 1472 阅读 · 0 评论 -
pthread 学习
编译参数1、-pthread和-lpthread是不同的,如果你自己的代码里面用到了某些多线程相关的结构(最常见的是errno),而不是仅仅简单的调用了几个pthread函数,你就可能不能单纯用-lpthread。 2、只要你系统的gcc里有-pthread选项,就不要用-lpthread,除非你清楚地知道在这个系统里-pthread意味着什么。很多系统里-pthread等同于“-D_REEN原创 2006-03-11 17:51:00 · 1660 阅读 · 0 评论 -
mysql C API statment and bind 执行查询
#include #include #include typedef std::string string;struct mysql_parm{ string host; string user; string password; string database; string unixsock;};class DBSTMT;class DBMysql;class DBSTMT{ DB原创 2006-03-21 13:45:00 · 2150 阅读 · 0 评论