cygwin 应用程序上的依赖行走器提供了冲突的信息?
我正在使用依赖项遍历器来找出为什么我的 cygwin 移植应用程序的链接不正确。
它指出 cgywin1.dll 缺少以下符号:
AddAtomA
FindAtomA
GetAtomNameA
GetModuleHandleA
http://wkf.thruhere.net/ Hosting/undefined.png
环顾四周,我发现这些应该来自链接行上的 -lkernel32,我在最后添加了这些符号,但是,dependency walker 仍然显示这些符号丢失,但它也下面列出了 kernel32.dll 并显示了其中定义的这些符号。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试不使用 -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.