使用 libltdl 爆炸式递归 make
在我的 Makefile.am 中,我有
SUBDIRS = libltdl .
这是因为我希望能够使用我的包中包含的 libltdl 版本(即 ./configure --with-included-ltdl
)。然而,我偶尔会遇到 make 永远递归调用自身的问题。不幸的是,我不确定到底是什么条件导致这种情况发生。
这通常可以通过重新运行 autoconf 和 configure 来解决。我想知道执行此操作的“正确”方法,因为似乎不是这样。 (我还发现更新configure.ac后我必须运行autoreconf && autoreconf libltdl
而不仅仅是autoreconf
)
感谢您的帮助!
In my Makefile.am, I have
SUBDIRS = libltdl .
This is because I want to be able to use the version of libltdl included with my package (i.e. ./configure --with-included-ltdl
). However, I occasionally run into the problem where make invokes itself recursively forever. Unfortunately I'm not sure exactly what conditions cause this to occur.
This is usually solved by rerunning autoconf and configure. I'd like to know the "proper" way of doing this, because it seems this isn't it. (I also find after I update configure.ac that I have to run autoreconf && autoreconf libltdl
instead of just autoreconf
)
Thanks for the help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我再一次说得太早了。这似乎可以通过将源代码移动到一个单独的目录(即
src
)然后将SUBDIRS
更新为libltdl src
来解决。Once again, I spoke too soon. This seems to be solved by moving the source into a separate directory (i.e.
src
) and then updatingSUBDIRS
tolibltdl src
.