Menu

CppUnit on Tru64?

Help
Anonymous
2003-06-02
2003-08-05
  • Anonymous

    Anonymous - 2003-06-02

    Has anyone gotten CppUnit working on Compaq Tru64 Unix V5.1A (Rev. 1885) working? I can get everything to compile, but when I try to run one of the example programs (hierarchy) we get the following error:

    90811:/home/mydir/cppunit-1.8.0/examples/hierarchy/.libs/lt-hierarchy: /sbin/loader: Fatal Error: Reference to unresolvable symbol "compare__CQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__TcXUlUlRCQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__Tc" in "/home/jm9677/cppunit-1.8.0/src/cppunit/.libs/libcppunit-1.8.so"

    I've exported DEC_CXX=-D__USE_STD_IOSTREAM -D__STD_MS as suggested in the installation document.

    Thanks for any help you can provide.

    Jim

     
    • Jan De Moerloose

      I had exactly the same problem. I figured out that the libtool was using ld instead of cxx as the linker. After changing that to cxx, one of the tests still complained about a math function, which i was able to solve by adding -lm to the linker. Both steps can be achieved by adding the following lines to the configure.in file (before AC_PROG_LIBTOOL) :
      LD=cxx
      LDFLAGS=-lm
      and regenerating the configure script with autoconfig. Please bear in mind that this is all based on my limited knowledge of cxx/autoconfig/libtool, but it does seem to do the job for me. I'll post a patch with this info and the new configure script i obtained.

       

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.