Linux下DDD的安装
这个DDD安装了一晚上,记录步骤如下:
1.下载lesstif-0.93.40.tar.bz2(ddd-3.3.11.tar.gz 的文档中说这个稳定我就用这个了)从http://www.ibiblio.org/pub/X11/lesstif/srcdist/放到/usr/local下,然后是三部曲:./configure ,make,make install
2.下载ddd-3.3.11.tar.gz 从http://download.chinaunix.net/download/0003000/2113.shtml
放到/usr/local下,然后是三部曲:./configure ,make,make install
编译ddd时出现的错误:/usr/include/X11/VendorP.h:87: error: previous declaration of
'VendorShellClassRec vendorShellClassRec' with 'C++' linkage
/usr/include/Xm/VendorSP.h:58: error: conflicts with new declaration with 'C' linkage make[3]: *** [ScrolledGE.o] Error 1
这个问题打上补丁就好了:
http://cgit.freedesktop.org/xorg/lib/libXt/commit/?id=6b483e355de6c5ee5dc635ab9b817bf72680b016处下载libXt-6b483e355de6c5ee5dc635ab9b817bf72680b016.tar.bz2(因为看这个比较顺眼),
也是那三部也是那三步,再重复第二步中的步骤(为了节约时间还是先运行这个好些)
3.这次可以ddd某某了,但提示缺少libxm.so.2这个库,这个好解决:从lesstif-0.93.40.tar.bz2解压包中的lib下find -name libxm*就可以找到这个库了,然后cp libxm.so.2这个库的地址 /lib
4.enjoy it ! ddd ./a.out.终于有货了。
相关文档:
今天装了个RHCL5,不能加载网卡就更别说驱动了,用以下命令查看下网卡信息:
一、找硬件
[root@localhost
~]# kudzu --probe --class=network
class: NETWORK
bus: PCI
detached: 0
device: eth0
desc: "Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet
"
vendorId: 10ec
dev ......
把自己常用的一些linux命令记录下来
1. 查看当前用户和组
less /etc/passwd
less /etc/group 或者 groups 查看组
有人说用上面那两个命令得到的结果不完全,一些特殊方式建立的就看不到了,可改用
getent passwd
getent group
2. 改变文件的所有者和所属组
chown baoniu ......
Gentoo Linux ALSA指南
1.
简介
什么是ALSA?
ALSA是Advanced Linux Sound Architecture,高级Linux声音架构
的简称,它在Linux操作系统上提供了音频和MIDI(Musical Instrument Digital Interface
,音乐设备数字化接口)的支持。在2.6系列内核中,ALSA已经成为默认的声音子系统,用来替换2.4系列 ......
linux目录架构
/ 根目录
/bin 常用的命令 binary file 的目錄
/boot 存放系统启动时必须读取的档案,包括核心 (kernel) 在内
/boot/grub/menu.lst GRUB设置
/boot/vmlinuz 内核
......
contact me go -> xuqiang.docs@hotmail.com
ARM Linux Boot Sequence
The following traces the Linux boot sequence for ARM-based systems in the 2.6.18 kernel. It looks at just the earliest stages of the boot process, until the generic non-processor-specific start_kernel function is called. The line ......