Menu

#71 CppUnit unusable with gcc on AIX 4.3.3.0

open
nobody
5
2002-12-06
2002-12-06
Anonymous
No

$gcc -dumpversion
2.9-aix51-020209

OBSERVATION:

make check fails on AIX 4.3.3.0:
I compiled libtool version 1.4.3 and copied it over
the generated 1.4.2 version manually.
I verified that
$OBJECT_MODE=32 (this is the default).
make runs ok
make check runs until ld starts
outputing "undefined symbol" errors

REAL PROBLEM:

I get the same "undefined symbol" errors when I try
to compile a simple program that uses CppUnit.
While trying to solve it I simply rolled my own
static library using
ar -rv libMyOwnCppUnitLib.a *.o
in
src/cppunit

I was then able to compile and run my testing
program, but the test classes don't get
instantiated. This means off course the actual tests
aren't performed.
The program just outputs

OK (0 tests)

I then repeated the same procedure using IBM's
compiler xlC (demo version 6) which gave the
correct behaviour.

OK (2 tests)

Note that make check of CppUnit also fails with
xlC. I don't have a licence for this compiler and I
can't go on using the demo version: it pauzes for
30 seconds before every command.

Please inform me of the right way to use CppUnit
with gcc 2.9 on AIX 4.3.3.
Thanks

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.