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

概述

/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
//make-4.2.1/glob/glob.c 加上去

# define __alloca     alloca

最后

以上就是干净鸵鸟为你收集整理的编译出错:make-4.2.1的全部内容,希望文章能够帮你解决编译出错:make-4.2.1所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部