- 博客(8)
- 资源 (1)
- 收藏
- 关注
转载 microcom用法
microcom -t 60000 -s 115200 /dev/ttymxc2-t 单位毫秒,无操作自动退出时间-s 单位是bps,串口波特率ttymxc2 要操作的串口
2017-12-29 13:59:26 4553
转载 ubuntu下配置支持windows访问的samba服务器
1 安装samba服务器 sudo apt-get install samba2 备份配置文件 sudo cp /etc/samba/smb.conf /etc/samba/smb.conf-back3 创建共享目录 把目录的权限改为07774 修改配置文件 在smb.conf的最后添加:[share]: co
2017-12-24 16:42:37 368
转载 ubuntu-16.04 64位系统搭建嵌入式交叉编译环境
在64位系统上安装完交叉编译器之后会出现no such file or directory,按照以前的解决办法就是使用命令sudo apt-get install ia32-libs,由于ubuntu-16.04版本已经不再支持ia32-libs的软件包,所以使用了lib32ncurses5、lib32z1软件包作为替代,执行sudo apt-get install lib32ncurses5 l
2017-12-24 16:26:36 2551
转载 3.14.52 kernel: lzop not found
3.14.52 kernel: lzop not foundSolution:sudo apt-get install lzop
2017-12-24 16:22:14 453
转载 编译linux内核前用make menuconfig设置时 Unable to find the ncurses libraries的解决办法
我们在更新CentOS或者Ubuntu的内核时,执行make menuconfig可能看如这样的错误:*** Unable to find the ncurses libraries or the*** required header files.*** ‘make menuconfig’ requires the ncurses libraries.****** Inst
2017-12-24 16:18:43 419
转载 ubuntu 解决“无法获得锁 /var/lib/dpkg/lock -open (11:资源暂时不可用)”的方法
在ubuntu系统的termial下,用apt-get install 安装软件的时候,如果在未完成下载的情况下将terminal close。此时 apt-get进程可能没有结束。结果,如果再次运行apt-get install 命令安装如今,可能会发生下面的提示: 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)
2017-12-24 16:17:45 284
转载 lib32stdc++6
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: sudo apt-get install lib32stdc++6
2017-12-24 16:13:43 3657
转载 字节对齐
#pragma pack(n) 作用:C编译器将按照n个字节对齐。#pragma pack() 作用:取消自定义字节对齐方式。#pragma pack(push,1) 作用:是指把原来对齐方式设置压栈,并设新的对齐方式设置为1个字节对齐#pragmapack(pop) 作用:恢复对齐状态#p
2017-12-13 19:42:14 224
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人