Am Donnerstag 14. April 2005 11:06 schrieb Huiting He:
> Hello Henning,
>[Compile and link problem fixed]
> However, the core dump problem still exists.
> If the codes do not contain any test case (don't add any test case to
> TestSuite), the execution file can be successfully run:
> Otherwise, "Illegal instruction (core dumped)" will occur.
>
> You wrote that it may be a library problem, then, how to solve it?
>
> Best regards,
>
> Huiting
Hello Huiting,
sorry for the late reply. If your code can be now sucessfully linked, it
should be also executable.. I have unfortunally no aix system available, and
no experience with this system.
Have you examined the core dump of your test case with a debugger program? On
linux i use the following commands:
- gdb "executable" "corefile" starts the gnu debugger
- "where" shows you a backtrace of the problem
(please omit the quotes, perhaps the aix system ships another debugger)
This could give you further hints to solve your problem.
If the problem persists, you could send me the complete commands used to
compile the test case. And the output from ldd "your_executable" could also
be helpful. Have you installed the cppunit in your system library path?
Henning
|