51Testing软件测试论坛

标题: Purify engine问题,急问!大侠帮忙啊 [打印本页]

作者: ceshixiaoyu    时间: 2009-9-24 10:08
标题: Purify engine问题,急问!大侠帮忙啊
我在AIX上运行purify cc -g hello_world.c命令之后,出现如下报错,调不通:
Purify 7.0.0.0-006 070302 AIX (32-bit L) (C) Copyright IBM Corporation. 1992, 2007 All Rights Reserved.  
Instrumenting: a.out.
Instrumented a.out is a.out.
Done.

Purify engine: Error: Failed to execute: ld -b32 -bM:SRE -bnoentry -bE:/usr/lib/syscalls.imp -bI:/usr/lib/syscalls.imp -o /gdp2/rational/releases/purify.aix.7.0.0.0-006/cache/SHDPAM02/librtlib_syscall_local_32.o
The /usr/lib/syscalls.imp file is either missing or empty or
with inorrect permissions. Please insure that bos.adt.syscalls
AIX OS package is installed on this machine. To find the exact
cause, please run following command: ld -b32 -bM:SRE -bnoentry -bE:/usr/lib/syscalls.imp -bI:/usr/lib/syscalls.imp -o /gdp2/rational/releases/purify.aix.7.0.0.0-006/cache/SHDPAM02/librtlib_syscall_local_32.o
After rectifying the problem, please run Purify again.

我按要求运行ld -b32 -bM:SRE -bnoentry -bE:/usr/lib/syscalls.imp -bI:/usr/lib/syscalls.imp -o /gdp2/rational/releases/purify.aix.7.0.0.0-006/cache/SHDPAM02/librtlib_syscall_local_32.o命令后,出现如下结果:
ld: 0711-851 SEVERE ERROR: Output file: /gdp2/rational/releases/purify.aix.7.0.0.0-006/cache/SHDPAM02/librtlib_syscall_local_32.o
        The file is in use and cannot be overwritten.

怎么解决这种问题呢?之前也出现过,后来第二天就好了,这次怎么也好不了,各位大侠务必出手相救啊。
作者: park_p    时间: 2009-9-24 12:15
file is either missing or empty or with inorrect permissions. Please insure that bos.adt.syscalls AIX OS package is installed on this machine
The file is in use and cannot be overwritten.

似乎是你的输出文件被占用了,编译器之类的东西不能删除它而产生新文件。检查看看你是否打开了老的输出文件,如果打开关闭后在试试,或者直接重启后在试下命令看看。或者权限问题或者包没安装好等
作者: ceshixiaoyu    时间: 2009-9-25 09:14
谢谢楼上的大侠,我再试试。
作者: park_p    时间: 2009-9-25 10:32
客气了,只是根据你的信息猜测,其实也不知猜中没有,猜中说一声,俺去买彩票~~




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2