cygwin 应用程序上的依赖行走器提供了冲突的信息?

发布于 2024-08-17 13:41:04 字数 551 浏览 4 评论 0原文

我正在使用依赖项遍历器来找出为什么我的 cygwin 移植应用程序的链接不正确。

它指出 cgywin1.dll 缺少以下符号:

AddAtomA
FindAtomA
GetAtomNameA
GetModuleHandleA

http://wkf.thruhere.net/ Hosting/undefined.png

环顾四周,我发现这些应该来自链接行上的 -lkernel32,我在最后添加了这些符号,但是,dependency walker 仍然显示这些符号丢失,但它也下面列出了 kernel32.dll 并显示了其中定义的这些符号。

http://wkf.thruhere.net/Hosting/define.png

I am using the dependency walker to figure out why my link of a cygwin ported application is not correct.

It states that cgywin1.dll is missing the following symbols:

AddAtomA
FindAtomA
GetAtomNameA
GetModuleHandleA

http://wkf.thruhere.net/Hosting/undefined.png

Looking around, I see that these are supposed to come from -lkernel32 on the link line, which I have added at the end, however, dependency walker still shows these symbols as missing, yet it also lists kernel32.dll below and shows these symbols as being defined in there.

http://wkf.thruhere.net/Hosting/defined.png

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南七夏 2024-08-24 13:41:04

尝试不使用 -lkernel32。不需要显式提供它,因为它是自动链接的。在链接行上提供它可能会打乱链接顺序。

Try without -lkernel32. There should be no need to provide that explicitly because it's automatically linked in. Providing it on the link line might be messing up the link order.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文