Sun CC:符号“PointZERO”在哪里?来自?它不在我的源代码中
这真是一个奇怪的问题。我正在 Solaris 10 上编译一个 C++ 项目,抄送“Sun C 5.7 2005/01/07”和 Bison 1.25(如果重要的话)。最终构建库后,它仍然无法链接可执行文件,并显示以下错误消息:
Undefined first referenced symbol in file PointZERO /export/build/proj/lib/libMainLib.so ld: fatal: Symbol referencing errors. No output written to bin/the_exe
有人知道这个“PointZERO”符号吗?它不在我的代码中;我的任何库中也不包含该字符串。我以前从未见过这个名字。而且我在谷歌上没有找到任何关于这个的信息......
This is a really weird problem. I'm compiling a C++ project on Solaris 10, with cc "Sun C 5.7 2005/01/07" and Bison 1.25 (if that matters). After finally getting the libs built, it still fails to link the executables, with following error message:
Undefined first referenced symbol in file PointZERO /export/build/proj/lib/libMainLib.so ld: fatal: Symbol referencing errors. No output written to bin/the_exe
Does anyone know this "PointZERO" symbol? It's not in my code; nor is the string contained in any of my libraries. I've never seen this name before. And I haven't found anything about this on Google...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,哎呀...错误是由 #include <...> 引起的。源文件之一中的声明,该文件(出于未知原因)用于包含来自完全不同项目的文件。
由于多种原因,非常尴尬。教训:在签入之前进行更彻底的代码审查。
Well, ouch... The error was induced by an #include <...> statement in one of the source files, which (for unknown reasons) was used to include a file from a completely different project.
Very embarrassing for a number of reasons. Lesson: more thorough code reviews before checking in.