2012年7月9日

在 ubuntu下面利用libpcap编程

摘要: 首先可以在 www.tcpdump.org获取libpcap的源码。我的版本是libpcap-1.3.0.tar.gz,用tar zxvf 命令解压,然后./configure make make install.编译的时候记得加上-lpcap。执行的时候可能会报错,提示找不到libpcap.so.1 ,这时你只需要把/usr/lib/libpcap.so.1.0.0 链接或者修改为 libpcap.so.1 即可。 阅读全文

posted @ 2012-07-09 11:02 w——杰 阅读(294) 评论(0) 推荐(0) 编辑

2012年7月5日

在ubuntu 10.04 32位下编译 android 系统问题总结

摘要: 源码获取:http://source.android.com/source/building.htmlUbuntu镜像下载:http://mirrors.163.com/ 问题一 Error occurred during initialization of VMCould not reserve enough space for object heapCould not create the Java virtual machine.make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates/noproguard.cl 阅读全文

posted @ 2012-07-05 11:55 w——杰 阅读(2057) 评论(0) 推荐(0) 编辑

2012年7月4日

win7 下面安装Ubuntu 10.04双系统

摘要: 首先以压缩文件方式打开iso 解压其casper目录下的vmlinuz 和initrd.lz到进C盘(你系统所在的盘),把iso也放进去。借助EasyBCD 2.0 安装(install)NEOgrub装好NeoGrub之后,点击configure ,会出现menu.lst文件,在其下面添加rootkernel /vmlinuz iso-scan/filename=/ubuntu-10.04.4-desktop-amd64.iso boot=casper splashinitrd /initrd.lzboot其中“/ubuntu-10.04.4-desktop-amd64.iso” 跟你的is 阅读全文

posted @ 2012-07-04 22:30 w——杰 阅读(221) 评论(0) 推荐(0) 编辑

导航