Menu

Compilation errors

Help
2004-02-02
2004-02-08
  • Robin Burke

    Robin Burke - 2004-02-02

    Had trouble compiling the Isis package.

    Red Hat 8.0. 
    g++ 3.2 20020903

    Errors and fixes:
    IsisTypes.h 
    declaration of double_t caused conflicts with existing types in mathdef.h Commented out.

    CRC32.cpp (line 100)
    variable declaration of unsigned char failed to match fstram.get() prototype which requires plain char type. Change to char type seemed to fix.

    Master.cpp (line 148)
    failure to cast int to ios::iostate. Cast added.

    I'm just groping in the dark here, so it's possible that some of these fixes are inadequate, but with them, I got gsdl to compile.

    Robin Burke
    DePaul University

     
    • Anonymous

      Anonymous - 2004-02-08

      Hi,

      yes, those trivial changes are needed to compile the isis package in greenstone with gcc 3.x.

      This message explains the problems and links to our fix.

      http://www.nzdl.org/cgi-bin/library?a=d&c=gsarch&cl=search&d=HASH0138c41c216652a943616ca0s38

      Thanks
      John McPherson

       

Log in to post a comment.