Linux Red Hat 8.0 Compilation problems

  • Mark T. Johnson

    Mark T. Johnson - 2002-12-24

    I'm a bit of a newbie at this, so bear with me. I downloaded the 2.1.2 source and ran "configure" then "make". There were compilation warnings and 2 errors, so the "make" failed.

    I suppose may not have the proper environment for development, but it works for C-code compilation, and is pretty much straight out of the box RedHat 8.0.

    Based upon the messages I got, maybe the configure step has set up my Makefiles incorrectly??? Please help, I'd love to try
    your tool out!!!


    Below are the warnings and errors in compiling

    cc1plus: warning: changing search order for system directory "/usr/include"
    cc1plus: warning:   as it has already been specified as a non-system directory
    In file included from /usr/include/c++/3.2/backward/list.h:59,
                     from scenario.h:20,
    /usr/include/c++/3.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 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. In function `int ReadScenarios()': no match for `dict_iterator<Scenario*>& !=
       dict_iterator<Scenario*>' operator no match for `dict_iterator<Scenario*>& !=
       dict_iterator<Scenario*>' operator In function `void testScenarios()': no match for `dict_iterator<Scenario*>& !=
       dict_iterator<Scenario*>' operator

    • Anonymous - 2003-01-07


      have the same result on a suse.81 box
      i tried tarballs to compile


      but the make fails by all version compiling the

      are something wrong o my system

      please help, i will also try out
      this tool

    • PolarFox

      PolarFox - 2003-01-31

      Same here, using slackware 9.0 beta, gcc-3.2 and all the latest thingies :) newest glibc... etc...
      any ideas what goes wrong?

    • Ryan Pump

      Ryan Pump - 2003-02-25


      I had the same problems running on SuSE 8.1 (which I did not see on SuSE 8.0). My understanding is that 8.1 uses the latest version of the gcc compiler causing the errors you see. (whereas previous Linux distributions do not).

      To get around the problem you're facing I added the following lines in dict_iterator class in dictionary.h:

      inline bool operator!=(const dict_iterator &it1)
         return ! (*this==it1);

      This should resolve the problems you were seeing in the 3 lines in above.
      Hope this helps, cheers.

    • Geoff Wong

      Geoff Wong - 2003-03-03

      I've added the above fixed and removed the warnings from the newer gcc compiles, currently checked into cvs. Will build a new package shortly.

    • Eugene Sotirescu

      Still problems making under RH 8:
      First a zillion
      cc1plus: warning: changing search order for system directory "/usr/include"


      In file included from /usr/include/openssl/evp.h:89,
                       from /usr/include/openssl/x509.h:67,
                       from /usr/include/openssl/ssl.h:69,
                       from connection.h:16,
                       from scenario.h:26,
      /usr/include/openssl/des.h:193: declaration of `char* crypt(const char*, const
         char*)' throws different exceptions
      /usr/include/unistd.h:946: than previous declaration `char* crypt(const char*,
         const char*) throw ()'

      and here it dies


Log in to post a comment.