ubuntu mtd-utils
来源:互联网 发布:数据库数据太多 编辑:程序博客网 时间:2024/06/06 02:52
1 get the mtd-utils source code form the net through git clone or another way.
2 if has same problem about uuid ,then do:
切换到12.04下之后通过apt-get install uuid-dev安装uuid之后,之前的代码中的uuid_generate,uuid_unparse函数在新的库中不存在了(和10.04中的uuid-dev不是同一个包),导致链接失败。
为了不改动原有自己已写好的程序,只有找原先的uuid lib。解决方案如下:
在https://answers.launchpad.net/ubuntu/+source/util-linux/2.20.1-1ubuntu1中下载到util-linux_2.20.1.orig.tar.gz包,里面包含很多系统工具的目录,如包含libuuid目录。使用下面的方法安装uuid库(包括静态lib文件及动态链接文件):
tar xzvf util-linux_2.20.1.orig.tar.gz
cd util-linux-2.20.1
./configure --without-ncurses
cd libuuid
make
make install
3 when I update the mtd-utils code,I can't find the Makefile rules file.So I must to do something to born the Makefile.
1. 执行aclocal
,产生aclocal.m4
文件
2. 执行autoconf
,生成configure
文件
3. 执行automake
命令,产生Makefile.in
4. 执行configure
命令,生成Makefile
文件
这样,就产生了编译所需要的Makefile
文件。运行make
,即可编译这里在进行第四步的时候很可能会遇到一个问题:
- 1
- 2
出现该情况是由于c++编译器的相关package没有安装。
以Ubuntu为例,解决如下:
- ubuntu mtd-utils
- mtd-utils
- mtd-utils
- mtd-utils交叉编译
- mini2440 安装 mtd-utils
- mtd-utils交叉编译
- mtd-utils命令简介
- MTD-utils 使用方法
- mtd-utils交叉编译 .
- mtd-utils的编译
- 编译mtd-utils
- mtd utils tool installation
- mtd-utils编译过程
- mtd-utils命令简介
- mtd-utils命令简介
- mtd-utils交叉编译
- mtd-utils编译
- mtd-utils编译过程
- poj 1037 A decorative fence(dp,好题)
- Linux基本命令 ubuntu
- Linux下的定时任务Crontab
- python数据类型
- 设计模式:学习笔记(1)——单例模式
- ubuntu mtd-utils
- 一步一步制作yaffs/yaffs2根文件系统(一)---储备好基础知识再打
- RabbitMQ之RPC实现
- AngularJs过滤器
- IE 6 7 8支持HTML 兼容
- 算法训练 结点选择 蓝桥杯
- 409. Longest Palindrome | 判断能组成的最长回文
- 求一个连续子序列的和的最大值
- Android快速开发,十个最常用的框架