如何解决make: Nothing to be done for `all' 的方法
来源:互联网 发布:士兵突击吴哲 知乎 编辑:程序博客网 时间:2024/05/16 19:38
其实嘛,出现这个的原因在于,已经编译过啦,没有任何改动,那还烦劳编译啥呢。
那Linux又是如何知道已经编译过了呢?
那就要看makefile的规则啦。makefile的规则是所想产生的文件需要依赖很多 .o文件。若文件没有改动,.o文件也没有改动,则Linux认为,我不需要对所有的文件做任何事情。
那如何让make重新编译源文件呢?
有时候,因为系统的不同,导致运行库版本不同,则需要重新编译源文件。方法如下:
>make clean(清除上次make命令所产生的object文件(后缀为“.o”的文件)及可执行文件。)
>ldconfig (该命令通常在系统启动时运行,确保动态链接库为系统所共享。当用户安装了一个新的动态链接库时,则需手工运行该命令。)
>make(执行makefile文件)
这样就能够重新编译啦。
0 0
- 如何解决make: Nothing to be done for `all' 的方法
- 如何解决make: Nothing to be done for `all' 的方法
- make: Nothing to be done for 'all'
- make: Nothing to be done for 'all'
- make: Nothing to be done for `all'的解决办法
- Make: Nothing to be done for 'all'. Make: Nothing to be done for 'default'.
- make: Nothing to be done for `all' 解决方法 ---实验2
- make: Nothing to be done for `all' 解决方法 ---实验2
- make: Nothing to be done for `all' 解决方法
- make: Nothing to be done for `all' 解决方法
- nothing to be done for all
- make: Nothing to be done for 'first'
- Nothing to be done for `_depend' 解决 make uboot时出现的错误
- 修改.cpp后, 重新make all, 却提示nothing to be done for all
- make: Nothing to be done for 'all' 解决方法(以Ubuntu12.04为例)
- 编译历程时出现make: Nothing to be done for `all'.
- make: Nothing to be done for `all_modules'.问题解决
- makefile 错误 make: Nothing to be done for...
- SDUT1034取数字问题
- 嵌入式 curl 交叉编译
- [系统操作][Linux]创建带有GRUB2启动的磁盘映像文件
- mac mysql root 初始密码 过期
- 2、struts2开发action 的三种方法以及通配符、路径匹配原则、常量
- 如何解决make: Nothing to be done for `all' 的方法
- zypper命令使用示例
- source insight实用配置
- 隐藏TabControl 标签但是选项卡可以显示出来的代码
- linux平台使用gnu工具链来开发stm32单片机 环境搭建,备忘录
- 这个笑话网:刘备是个钉子户
- TCPdump
- Unity3D用户手册
- ZOJ 3195Design the city LCA