PLP Tools compilation error on RedHat 9.0

Help
2005-04-09
2013-04-29
  • Juho Tykkala

    Juho Tykkala - 2005-04-09

    Hi!

    I have RedHat GNU/Linux 9.0 and I got following error during compilation:

    In file included from /usr/include/c++/3.2.2/backward/ostream.h:31,
                     from psitime.h:44,
                     from psitime.cc:23:
    /usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
    psitime.cc:66: default argument given for parameter 2 of `
       PsiTime::PsiTime(timeval*, timezone* = 0)'
    psitime.h:145: after previous specification in `PsiTime::PsiTime(timeval*,
       timezone* = 0)'
    make[1]: *** [psitime.lo] Error 1
    make[1]: Leaving directory `/server/tars/plptools-0.12/lib'
    make: *** [all-recursive] Error 1

    So what is the problem?

     
    • Juho Tykkala

      Juho Tykkala - 2005-04-09

      SOLUTION FOUND! ...............................

      Change the line 145 in lib/psitime.h to:

           PsiTime(struct timeval *_utv, struct timezone *_utz);

      After that PLP Tools compiles without any problems!

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks