linux
抽象解释
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
boost.python 使用
(1) python-dev 安装sudo apt-get install python-dev(2) boost.python 库的安装sudo ./bjam toolset=gcc --build-type=complete --layout=versioned --with-python install(3) boost_python_test.cpp原创 2013-07-26 16:55:15 · 1814 阅读 · 1 评论 -
64位机器上 编译32位程序
由于程序迁移,需要在64bit开发机上编译32bit的程序。在64位的机器上编译32位还是62位程序,主要是要编译器和链接器上加上参数据:-m32 (编译32位) -m64(编译64)在自己的makefile中添加"CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"即可因为项目中用到了boost库,编译32bit boost 命令如下原创 2013-07-30 15:30:49 · 1996 阅读 · 0 评论 -
shmget 返回 -1, Invalid argument
man shmget 中明确说明: EINVAL A new segment was to be created and size SHMMAX, or no new segment was to be created, a segment with given key existed, but size is greater than the siz原创 2013-05-22 20:32:05 · 4310 阅读 · 0 评论 -
Win7+Ubuntu12.04(EasyBCD硬盘安装)
参考博文:http://yulu8211.blog.163.com/blog/static/8752567201242704448990/记录自己安装过程1)分区,在计算机上右键--管理--磁盘管理装Ubuntu分配的硬盘大小最好是(20G以上)不要太小,这里请注意,ubuntu和windows文件系统完全不同,所以我们划好要给ubuntu的分区后,删除转载 2013-05-08 09:27:31 · 627 阅读 · 0 评论 -
ubuntu 12.04 X64 编译安装 clearsilver 时错误
照文档提示安装clearsilver-0.10.5./confugure && make sudo make install 发现/usr/local/lib 下只有-rw-r--r-- 1 root root 292420 5月 20 16:26 libneo_cgi.a-rw-r--r-- 1 root root 597162 5月 20 16:原创 2013-05-20 16:28:38 · 1294 阅读 · 0 评论 -
安装libcurl 时注意事项
1 downloadwget http://curl.haxx.se/download/curl-7.29.0.tar.gz2 configue./configure --help./configure --disable-ldap --disable-ldaps3 make && make install原创 2013-02-26 13:32:26 · 436 阅读 · 0 评论 -
zookeeper 3.4.5 client 库recordio.h:76:9 错误
/usr/local/include/zookeeper/recordio.h:76:9: 错误: expected unqualified-id before ‘__extension__’/usr/local/include/zookeeper/recordio.h:76:9: 错误: expected ‘)’ before ‘__extension__’替换为如下转载 2013-02-08 21:46:43 · 1138 阅读 · 0 评论
分享