首页 > 系统服务 > 详细

configure.ac:32: error: possibly undefined macro: AC_DEFINE

时间:2015-08-03 22:28:01      阅读:3102      评论:0      收藏:0      [点我收藏+]

在ubuntu 下编译snappy时,在检查依赖关系时,处理autoconf的包时,在相关依赖包都已经安装的情况下,报如下错误,死活不过。

 

configure.ac:32: error: possibly undefined macro: AC_DEFINE

 

几经辗转,在stackoverflow上找到解决方案:

As possibly useful info if anyone else hits the "possibly undefined macro: AC_DEFINE" error.

That AC_DEFINE error (specifically for AC_DEFINE) can be caused by pkg-config not being installed, or at least not found in the search path.


thanks, apt-get install pkg-config help me

安装pkg-config后,问题解决。

configure.ac:32: error: possibly undefined macro: AC_DEFINE

原文:http://www.cnblogs.com/qqmomery/p/4700427.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!