> I encountered a problem I'm not sure I can fix quickly:
> Apparently there is a problem with a pathname:
> 
> "IRIX/IRIXPlatformUtils.cpp":  using precompiled header file
> "IRIXPlatformUtils.pch".
> cc-3032 CC: ERROR File =
> /usr/people/marc/xml4csrc3_0_0/include/util/Janitor.hpp, Line = 110
>   Could not create instantiation information directory
>           /usr/people/marc/xml4csrc3_0_0/obj/IRIX/ii_files/
> 
>   template <class T> class ArrayJanitor
>                            ^
> 
> 1 catastrophic error detected in the compilation of
> "IRIX/IRIXPlatformUtils.cpp".
> 
> Do you know where "IRIX" comes from? ii_files lives in obj


The compiler is asked to generate the .o file in
  IRIX/IRIXPlatformUtils.cpp directory
which is then copied to the top level 'objects' directory from
where it is linked.

The makefiles involved are
  src/util/Makfile.util.submodule and
  src/util/Platforms/Makefile.in

All compile and link options are picked up from
  src/Makefile.in
  src/Makefile.incl

Maybe to fix this, you may have to specify a global common directory
where all the template instantiations happen. Sorry, don't know the
exact solution as I don't have access to a SGI machine.


> /src/Makefile.incl
> IRIX
> - I've removed the -mips4 compile option. This flag is not really useful as
> the SGI compilers are able to figure out on which hardware they run.

done

> OBJ_OUT has to use XERCESCROOT rather than XML4CROOT
> 

done

> cc-3303 CC: WARNING File = SAXParser.cpp, Line = 809
>   A type qualifier on a return type is meaningless.
>   const bool SAXParser::expandSystemId(const XMLCh* const, XMLBuffer&)
> 

done

> cc-3303 CC: WARNING File =
> /usr/people/marc/xml4csrc3_0_0/src/include/framework/XMLEntityHandler.hpp,
> Line = 118
>   A type qualifier on a return type is meaningless.
>       virtual const bool expandSystemId

done


> cc-3303 CC: WARNING File =
> /usr/people/marc/xml4csrc3_0_0/src/include/parsers/DOMParser.hpp, Line =
> 333
>   A type qualifier on a return type is meaningless.
>   inline const bool DOMParser::expandSystemId(const XMLCh* const,
> XMLBuffer&)

done

> cc-3303 CC: WARNING File =
> /usr/people/marc/xml4csrc3_0_0/src/include/validators/DTD/DTDEntityDecl.hpp,
> Line = 118
>   A type qualifier on a return type is meaningless.
>       const void setDeclaredInIntSubset(const bool newValue);
>                  ^

done

> cc-3303 CC: WARNING File =
> /usr/people/marc/xml4csrc3_0_0/src/include/validators/DTD/DTDEntityDecl.hpp,
> Line = 223
>   A type qualifier on a return type is meaningless.
>   inline const void DTDEntityDecl::setDeclaredInIntSubset(const bool
> newValue)

done

rahul


Reply via email to