一个makefile的错误,以及怎么跟踪makefile的错误?

botmantom 2011-07-22 04:41:38
代码里面都没有用到xml,而且在生成sysinfo的依赖文件*.o的时候也没问题,就是在最后生成sysinfo的时候出问题了,问下是怎么回事,顺便问下怎么跟踪makefile的错误?

xlC_r -q64 -bhalt:5 -brtl -g -DMITRACE_OFF -DIT_HAS_DISTINCT_LONG_DOUBLE -DIT_COMPILER_HAS_LONG_LONG -DIT_DO_NOT_SIMULATE_BOOL -D_INCLUDE_POSIX_SOURCE -D_PROTOTYPES -D_INCLUDE_XOPEN_SOURCE -D_H_LOCALEDEF -D_DEBUG -qFullPath -o ../../agent/bin/sysinfo MQProxy.o diskinfo.o Command.o config.o sysInfoMain.o mqinfo.o -lm -lc -ldl -ltli -L./../../nmbase/lib -lbase -lbaseifx -L/usr/mqm/lib64 -limqb23ia -limqs23ia -lmqm -L/usr/local/SRBC2.0/lib64/ifx_static -lsrbc -L/informix/lib/esql -L/informix/lib -lifsql -lifasf -lifgen -lifos -lifgls -lifglx /informix/lib/esql/checkapi.o -L/informix/lib/dmi -lifdmi -L/informix/lib/c++ -lifc++ -L./../../nmbase/lib -lbaseifx -lbase -L./../../xerces-c2_2_0-AIX51_5.02_64/lib -lxerces-c
ld: 0711-317 ERROR: Undefined symbol: .xercesc_2_2::XMLException::XMLException(const char*,unsigned int)
ld: 0711-317 ERROR: Undefined symbol: .xercesc_2_2::XMLException::loadExceptText(xercesc_2_2::XMLExcepts::Codes)
ld: 0711-317 ERROR: Undefined symbol: .stricmp(const char*,const char*)
ld: 0711-317 ERROR: Undefined symbol: .strnicmp(const char*,const char*,unsigned int)
ld: 0711-317 ERROR: Undefined symbol: .xercesc_2_2::XMLChar1_0::isValidNCName(const unsigned short*,unsigned int)
ld: 0711-317 ERROR: Undefined symbol: .xercesc_2_2::XMLChar1_0::isValidName(const unsigned short*,unsigned int)
ld: 0711-317 ERROR: Undefined symbol: .xercesc_2_2::XMLChar1_0::isValidQName(const unsigned short*,unsigned int)
ld: 0711-317 ERROR: Undefined symbol: .xercesc_2_2::XMLChar1_0::isAllSpaces(const unsigned short*,unsigned int)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake: *** [../../agent/bin/sysinfo] Error 8
...全文
439 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
jernymy 2011-08-01
  • 打赏
  • 举报
回复
楼主使用的函数,对应的lib没有包含进来,
XMLException::XMLException猜测是xml相关的lib
goodmrning 2011-07-24
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 thefirstz 的回复:]
肯定有的地方用到了,否则不可能链接进去的
搜下吧
[/Quote]

正解!
空的 2011-07-22
  • 打赏
  • 举报
回复
函数没有定义
代码里应该用到了
你是不是 少关联了库文件??
昵称很不好取 2011-07-22
  • 打赏
  • 举报
回复
肯定有的地方用到了,否则不可能链接进去的
搜下吧
botmantom 2011-07-22
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 thefirstz 的回复:]

xercesc这是xml的解析工具,可能代码里面有涉及
下面还有一些字符串的函数说找不到,看看是否有包含
[/Quote]
函数里面没有
昵称很不好取 2011-07-22
  • 打赏
  • 举报
回复
xercesc这是xml的解析工具,可能代码里面有涉及
下面还有一些字符串的函数说找不到,看看是否有包含

1,194

社区成员

发帖
与我相关
我的任务
社区描述
该论坛主要探讨IBM AIX平台的安装、部署、应用开发等话题,并为网友们提供自由交流的平台。
社区管理员
  • IBM AIX社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧