Menu

#10 Build Error on IBM AIX

open
nobody
None
5
2002-06-25
2002-06-25
No

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

Discussion

  • Rohan Lenard

    Rohan Lenard - 2002-11-19

    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

     
  • Robert Taylor

    Robert Taylor - 2003-10-15

    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.

     

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.