posts - 10,  comments - 26,  trackbacks - 0
我在AIX 5下编译C++程序,ld时报错
ld: 0711-317 ERROR: Undefined symbol: .std::ios_base::clear(int,bool)
ld: 0711-317 ERROR: Undefined symbol: Virtual table for class "__DynaCastDesc_si_public": first non-inline virtual function in "__Dy
naCastDesc_si_public" is not defined.
ld: 0711-317 ERROR: Undefined symbol: Virtual table for class "eti_cplusplus": first non-inline virtual function in "eti_cplusplus"
is not defined.
请问,如何解决?

posted on 2007-12-17 20:21 静静的流水 阅读(1137) 评论(2)  编辑 收藏 引用

FeedBack:
# re: 请教[未登录]
2007-12-18 06:48 | Loki.RF
一般来说需要指定LD的位置,你可以使用--with-ld=来完成。  回复  更多评论
  
# re: 请教
2007-12-18 08:44 | glide
@Loki.RF
你好,我试了,报如下的错
cc: 1501-216 command option --with-ld is not recognized - passed to ld
ld: 0706-012 The -- flag is not recognized.
ld: 0706-012 The -w flag is not recognized.
ld: 0706-027 The -i flag is ignored.
ld: 0706-012 The -t flag is not recognized.
ld: 0706-012 The -h flag is not recognized.
ld: 0706-012 The -- flag is not recognized.
ld: 0706-006 Cannot find or open library file: -l d
ld:open(): A file or directory in the path name does not exist.
  回复  更多评论
  

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


<2007年12月>
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345

常用链接

留言簿(1)

随笔分类(9)

随笔档案(10)

文章分类(7)

文章档案(7)

收藏夹(1)

Articles

C++ Template

Cpp News

Open Source C++ Compiler

友情链接-Blogs

搜索

  •  

积分与排名

  • 积分 - 8152
  • 排名 - 1265

最新评论