Menu

Build Issue on Solaris !!

Help
kkoo00oo11
2005-10-26
2013-04-22
  • kkoo00oo11

    kkoo00oo11 - 2005-10-26

    I downloaded the 1.11.2 CPPUnit and successfully ran ./configure.

    When I run the 'make', I am getting the following error :

    g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include /usr/local/bin/g++ -c TestAssert.cpp -Wp,-MD,.deps/TestAssert.TPlo  -DPIC
    In file included from TestAssert.cpp:7:
    ../../include/cppunit/TestAssert.h: In function `static class string CppUnit::assertion_traits<double>::toString(double)':
    ../../include/cppunit/TestAssert.h:79: implicit declaration of function `int CppUnit::sprintf(...)'
    *** Error code 1
    make: Fatal error: Command failed for target `TestAssert.lo'

    Any ideas ??
    Thanks,
    KK

     
    • Baptiste Lepilleur

      There was a missing #include <stdio.h> in TestAssert.h.

      Either get revision 1.28 of this file or add it yourself.

      Thanks for reporting this,
      Baptiste.

       

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.