You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Sean MacRoibeaird - Sun ireland - Solaris Software - Staff Engineer <Se...@Ireland.Sun.COM> on 2000/03/14 15:11:37 UTC

Compilation problems on Solaris

I've just updated my local Xerces source tree with the latest versions in the 
CVs repository.

I noticed the following problems when trying to compile the Xerces library and 
build the sample programs:

1. DOMParser.cpp  now has the following include statements :

#include <dom/ElementImpl.hpp>
#include <dom/AttrImpl.hpp>

The make includes for the c/src/dom directory only copies the DMO Public header 
files into the include/dom directory and hence cannot open these header files.

2. What does the -zmuldefs option do on the the Solaris compilation line as it 
causes the problems at link time with unresolved refernces to static functions?

Regards,

Sean


Re: Compilation problems on Solaris

Posted by Arundhati Bhowmick <ar...@hyperreal.org>.
Sean,
Thanks for reporting the first problem. The code has been rectified to include the
dom headers. You may checkout the <xerces directory>/src/parsers/Makefile.in from
cvs now.
Thanks,
Arundhati

Sean MacRoibeaird - Sun ireland - Solaris Software - Staff Engineer wrote:

> I've just updated my local Xerces source tree with the latest versions in the
> CVs repository.
>
> I noticed the following problems when trying to compile the Xerces library and
> build the sample programs:
>
> 1. DOMParser.cpp  now has the following include statements :
>
> #include <dom/ElementImpl.hpp>
> #include <dom/AttrImpl.hpp>
>
> The make includes for the c/src/dom directory only copies the DMO Public header
> files into the include/dom directory and hence cannot open these header files.
>
> 2. What does the -zmuldefs option do on the the Solaris compilation line as it
> causes the problems at link time with unresolved refernces to static functions?
>
> Regards,
>
> Sean


Re: Compilation problems on Solaris

Posted by Arundhati Bhowmick <ar...@hyperreal.org>.
I'm not aware of the first problem. I'll take look at it.
The second one is necessary for CC compilers 5.0 or higher ones to resolve the
template definitions. It just gives a warning on the lower ones so just ignore it.

Arundhati

Sean MacRoibeaird - Sun ireland - Solaris Software - Staff Engineer wrote:

> I've just updated my local Xerces source tree with the latest versions in the
> CVs repository.
>
> I noticed the following problems when trying to compile the Xerces library and
> build the sample programs:
>
> 1. DOMParser.cpp  now has the following include statements :
>
> #include <dom/ElementImpl.hpp>
> #include <dom/AttrImpl.hpp>
>
> The make includes for the c/src/dom directory only copies the DMO Public header
> files into the include/dom directory and hence cannot open these header files.
>
> 2. What does the -zmuldefs option do on the the Solaris compilation line as it
> causes the problems at link time with unresolved refernces to static functions?
>
> Regards,
>
> Sean