我是靠谱客的博主 干净鸵鸟,这篇文章主要介绍编译出错:make-4.2.1,现在分享给大家,希望可以做个参考。

复制代码
1
2
3
4
5
6
7
8
9
10
/usr/bin/ld: glob/libglob.a(glob.o): in function `glob_in_dir': glob.c:(.text+0x2a2): undefined reference to `__alloca' /usr/bin/ld: glob.c:(.text+0x3d9): undefined reference to `__alloca' /usr/bin/ld: glob.c:(.text+0x588): undefined reference to `__alloca' /usr/bin/ld: glob.c:(.text+0x618): undefined reference to `__alloca' /usr/bin/ld: glob/libglob.a(glob.o): in function `glob': glob.c:(.text+0x931): undefined reference to `__alloca' /usr/bin/ld: glob/libglob.a(glob.o):glob.c:(.text+0x11e8): more undefined references to `__alloca' follow collect2: error: ld returned 1 exit status make: *** [Makefile:12: image] Error 2
复制代码
1
2
3
//make-4.2.1/glob/glob.c 加上去 # define __alloca alloca

最后

以上就是干净鸵鸟最近收集整理的关于编译出错:make-4.2.1的全部内容,更多相关编译出错:make-4内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(60)

评论列表共有 0 条评论

立即
投稿
返回
顶部