After installing and configuring CppUnit on a AIX
machine I tried to build the tool with make. Compiling
seems to work well, but the execution of nm to generate
the symbol table leads to the following error:
>>>
...
/usr/bin/nm -B Asserter.o CompilerOutputter.o
Exception.o NotEqualException.o RepeatedTest.o
SourceLine.o SynchronizedObject.o TestAssert.o
TestCase.o TestFactoryRegistry.o TestFailure.o
TestResult.o TestResultCollector.o TestRunner.o
TestSetUp.o TestSucessListener.o TestSuite.o
TextOutputter.o TextTestProgressListener.o
TextTestResult.o TypeInfoHelper.o XmlOutputter.o | |
sed 's/.* //' | sort | uniq > .libs/libcppunit.exp
../../libtool[3115]: syntax error at line 1 : `|'
unexpected
make: 1254-004 The error code from the last command is 2.
<<<
The two pipe symbols after XmlOutputter.o make use of
the variable "global_symbol_pipe", which seems to be
empty in this case.
Any idea anybody??!
Thanks in advance,
Dietmar
Logged In: YES
user_id=651057
The problem seems to be with libtool. It was updated in 1.4.3
(the version after the one used in CppUnit-1.8) to fix linking on
aix
Logged In: YES
user_id=883634
I successfully used dev snapshot 1.9.11 and these settings:
./configure CC=xlC CXX=xlC
to compile and run the self-tests on AIX 4.3 using the Visual
Age 5.0 C++ compiler.